Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X Forwarding using 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
edudlive
Guru
Guru


Joined: 06 Jan 2004
Posts: 557

PostPosted: Thu Aug 05, 2004 9:26 pm    Post subject: X Forwarding using SSH Reply with quote

I have enabled xforwarding in the ssh_config on the remote PC

I connect to the PC by:

ssh -X zach@192.168.0.103

but I can't seem to get X to forward, startx and everything forwards to the OTHER computer.

Do I need X to be running on the other PC? How can I get it to run from MINE?

I googled but couldn't really find much help, nothing I found worked
Back to top
View user's profile Send private message
log
Apprentice
Apprentice


Joined: 16 Jun 2003
Posts: 168
Location: Adelaide, Australia

PostPosted: Fri Aug 06, 2004 2:22 am    Post subject: Reply with quote

This is what you have to do:

Run the X server on your computer.
Open a terminal, run ssh (note: you may need to run it with -Y instead...)

then run xclock to test

Basically, when you run startx, that starts the xserver and the client is the computer thats running the program (its a bit backwards, i know)
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