This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Looking for help


So my version of this is:

- start bash shell
- startx

that will usually start the internal windows manager, that's not so good here. Gives a very weird look. Just xwin is better here.


- export DISPLAY=:0.0 # otherwise ssh won't start X forwarding
we need export DISPLAY=localhost:0.0 here, but i don't understand why.

- ssh -X -l username remote.machine (though look at the posts about ssh -Y...)

And we need -Y KDE will not work with -X. At least not kde 3.2.3.


so i suggest:
start bash shell
xwin &
export DISPLAY=localhost:0.0
ssh -Y name@target startkde


or wrap it up in one line and make a link on your desktop, like
E:\cygwin\bin\bash.exe -c -l 'run Xwin.exe -once; export DISPLAY=localhost:0.0; ssh -Y name@target "bash -c -l startkde" '

If you now configure ssh for not needing a password all is done.

PS:
What i don't understand is why the xwin keeps reappearing even with -once parameter?



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]