Explicitly change the DISPLAY variable in ssh
From: Divakara, Vivek Palyam (UMKC-Student) (vpdvdb_at_umkc.edu)
Date: 03/15/04
- Previous message: Rob De Langhe: "RE: sshd does not die when client issues control-C or closes"
- Next in thread: Darren Tucker: "Re: Explicitly change the DISPLAY variable in ssh"
- Reply: Darren Tucker: "Re: Explicitly change the DISPLAY variable in ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 15 Mar 2004 00:31:58 -0600 To: <secureshell@securityfocus.com>
Hi,
Can you please xplain me how to explicitly change the DISPLAY variable in ssh.
The following is specified in "man ssh":
"The user should
normally not set DISPLAY explicitly, as that will render the X11
connection insecure (and will require the user to manually copy
any required authorization cookies)."
I have a program which starts in the remote machine thru ssh & connects to my Xserver from default ssh port localhost:10 & this program now listens for any new clients on some other port say unix:11 & forwards the clients to localhost:10. For this to work i need to change DISPLAY variable of the ssh terminal to unix:11. once i do this & start a Xclient i get an error message:
" X11 connection rejected because of wrong authentication".
Can someone let me know how to change the DISPLAY variable of the ssh terminal
Thanks
Vivek
- Previous message: Rob De Langhe: "RE: sshd does not die when client issues control-C or closes"
- Next in thread: Darren Tucker: "Re: Explicitly change the DISPLAY variable in ssh"
- Reply: Darren Tucker: "Re: Explicitly change the DISPLAY variable in ssh"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|