This is the mail archive of the
cygwin-xfree
mailing list for the Cygwin XFree86 project.
Re: Multiple Session Question
Duane Ellis schrieb:
> I've got cygwin working well via SSH to single host, single window.
> I connect via SSH, and run "startkde" - I get the KDE desktop in one
> single window. Works great!
>
> How do I connect to a second machine at the same time.
You will need Xwin :1 for the second and Xwin :2 for the third session
and so on.
But i wonder how your first connect works anyway, have you setup ssh
tunneling somewhere?
> (1) Yes, I have tried using a different display, ie:
> 127.0.0.1:0.0
> And 127.0.0.1:1.0
You will need this
> (2) I'm not sure what is going on with the /tmp/.X11-unix/dir
> And can't find docs for it - I suspect it is part of the problem.
I don't think so.
> (3) I'm not sure what the "--screen" options do for the Xwin program.
not needed here
> The script below - deletes the old /tmp/.X11-dir, which I know is a bad
Don't
> #!/bin/bash
>
> TARGET=linxbox
>
> WHO=duane
> #WHO=testaccount
>
> export DISPLAY=127.0.0.1:0.0
> #export DISPLAY=127.0.0.1:1.0
> export PATH=/usr/X11R6/bin:"$PATH"
> export XAPPLRESDIR=/usr/X11R6/lib/X11/app-defaults
> export XCMSDB=/usr/X11R6/lib/X11/Xcms.txt
> export XKEYSYMDB=/usr/X11R6/lib/X11/XKeysymDB
> export XNLSPATH=/usr/X11R6/lib/X11/locale
>
> rm -rf /tmp/.X11-unix
>
> XWin -clipboard -silent-dup-error &
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/