Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

choosing DISPLAY with ssh X11 forward

Subject: choosing DISPLAY with ssh X11 forward
Date: Fri, 28 Mar 2008 22:44:40 +0100
Hi,

is it somehow possible to choose a certain display number for X11 forwards with OpenSSH_4.7p1 running on a Fedora 7 system?
Something like sshds X11DisplayOffset option but configurable by the
client. Or may be a way to manually lunch another X11 proxy with the
desired display number and connect it to the same port as the
automatically created X11 proxy?


I have to use some applications that can't get their configuration from
the current shell environment, but get their DISPLAY variable from a
database. As the display number ssh allocates for me depends strongly on
the number of other users who are connected with X11 forwarding to the
same machine, I have to adjust the database manually after each login.
If it was possible to specify a certain value when logging in, I could
set some high display number in the database which is very unlikely to
be dynamically allocated by another user and could always use something
like DISPLAY=localhost:95.0 to get my X11 forwards working.

Cheers
        Daniel



Attachment: signature.asc
Description: OpenPGP digital signature

<Prev in Thread] Current Thread [Next in Thread>
  • choosing DISPLAY with ssh X11 forward, Daniel Goering <=