Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X through ssh
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
prismbreak
n00b
n00b


Joined: 23 Jan 2004
Posts: 23
Location: Waterloo, ON, Canada

PostPosted: Thu Feb 19, 2004 7:56 pm    Post subject: X through ssh Reply with quote

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
View user's profile Send private message
piquadrat
Guru
Guru


Joined: 18 Feb 2003
Posts: 301
Location: Switzerland

PostPosted: Thu Feb 19, 2004 8:31 pm    Post subject: Reply with quote

is X11Forwarding in /etc/ssh/sshd_config set to yes?
Back to top
View user's profile Send private message
prismbreak
n00b
n00b


Joined: 23 Jan 2004
Posts: 23
Location: Waterloo, ON, Canada

PostPosted: Thu Feb 19, 2004 8:38 pm    Post subject: Reply with quote

That's it.

Thanks a lot,
John
Back to top
View user's profile Send private message
dma
Guru
Guru


Joined: 31 Jan 2003
Posts: 437
Location: Charlotte, NC, USA

PostPosted: Fri Feb 20, 2004 5:09 am    Post subject: Reply with quote

xdpyinfo is great for testing the connection.

You can also try glxgears. :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum