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



On 01.03.07 13:09, Yaroslav Halchenko wrote:
Pardon my ignorance on the subject: flow of X connections etc

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. child processes inherit the variable, they do not set
it. When you log elsewhere via SSH with X forwarding, ssh should allocate
proper socket and set DISPLAY to it

The problem is that he
doesn't get authority over :13 since :13 is occupied by another user
running VNC :13 (which seems to be also not fully functional). So I am
wondering what in the system keeps track and informs on available
displays to be used?

clearly there is a process occupying 6013 port (for :13)
Xvnc4 11990 cat 0u IPv4 107557584 TCP *:6013 (LISTEN)

so it must be that there is some list which got screwed up and provides
errorness numbers

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...

--
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"The box said 'Requires Windows 95 or better', so I bought a Macintosh".


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Display problem with X
    ... remote system. ... I can ssh to the system and everything but when I do ... comp.os.linux.* for "ssh X forwarding". ... "I suppose that program stuffing is to programs as gerbil stuffing is ...
    (comp.os.linux.x)
  • 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 ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: ssh to remote machine with user login problem
    ... > debug1: Connection established. ... > # This is the ssh client system-wide configuration file. ... But you said that in the remote system you have copied all the files under ...
    (Debian-User)
  • Re: Partial SNAFUs - X11Forwarding etc.
    ... to the base server machine via SSH, or it it also supposed to protect ... back "up the line" to the client machine? ... the ssh server host is compromised or otherwise untrustworthy, ... refrain from running the program via ssh X11 forwarding - there's no ...
    (comp.security.ssh)
  • Re: Whats the deal on the -X vs -Y thing?
    ... As a quick fix you could use something like this as your remote ssh ... chain is compromised (eg at either the tty layer, X11 forwarding port ... forwarding would not be needed on the intermediate hosts. ...
    (comp.security.ssh)