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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] "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?