[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: who is responsible to keep the list of used $DISPLAYs at system level



> > The problem is -- the user logs in into a remote system via ssh with X
> > forwarding and gets assigned DISPLAY=:13.0.
> Sorry I don't understand - what do you mean "gets assigned"?
> the DISPLAY variable is createx by X server, when the X server, when it
> allocates the port.
In my case I am talking about ssh X forwarding, so SSH creates a socket
and provides appropriate DISPLAY variable to point at that socket (not
at the original DISPLAY on the original, now remote, box).
So, if on a local box from which you
come you have DISPLAY smth like localhost:1.0, while doing ssh X
forwarding it would be assigned localhost:X.0, where X>=10 is the first
available socket 6000+X. (X is actually a sshd config option
X11DisplayOffset... may be I should change it to smth higher anyways to
don't interact with running VNCs per idea earlier described earlier in
the thread)

For the code which does that in sshd, please see my latest finding that
my problem is related to IPv6...
http://lists.debian.org/debian-devel/2007/03/msg00034.html

> it. When you log elsewhere via SSH with X forwarding, ssh should allocate
> proper socket and set DISPLAY to it
here you go -- set==assign imho ;-)



> > P.S. Please CC me -- I am not on the list
> set up your MTA to send Mail-Followup-To: header when posting to the list...
Thanks for the hint -- I will do (for now just adding it to the header
manually ;-))!

-- 
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]




Reply to: