View previous topic :: View next topic |
Author |
Message |
prismbreak n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/106996891540106c9f83f8b.jpg)
Joined: 23 Jan 2004 Posts: 23 Location: Waterloo, ON, Canada
|
Posted: Thu Feb 19, 2004 7:56 pm Post subject: X through ssh |
|
|
Hello,
How do I setup my box so that I can run remote X windows through ssh? X and sshd are installed and working.
Code: | bash-2.05b$ ssh -X user@192.168.0.2
user@192.168.0.2's password:
Last login: Thu Feb 19 14:34:12 2004 from 192.168.0.7
user@machine user $ xclock
Error: Can't open display: |
I know that my client machine is set up properly because I am able to ssh -X into another machine and the DISPLAY env var gets set properly.
What in my configuration of X or sshd do I have to change?
Thanks,
John |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
piquadrat Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/11116774593f59c579311ad.png)
Joined: 18 Feb 2003 Posts: 301 Location: Switzerland
|
Posted: Thu Feb 19, 2004 8:31 pm Post subject: |
|
|
is X11Forwarding in /etc/ssh/sshd_config set to yes? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
prismbreak n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/106996891540106c9f83f8b.jpg)
Joined: 23 Jan 2004 Posts: 23 Location: Waterloo, ON, Canada
|
Posted: Thu Feb 19, 2004 8:38 pm Post subject: |
|
|
That's it.
Thanks a lot,
John |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dma Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 31 Jan 2003 Posts: 437 Location: Charlotte, NC, USA
|
Posted: Fri Feb 20, 2004 5:09 am Post subject: |
|
|
xdpyinfo is great for testing the connection.
You can also try glxgears. ![Smile :-)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|