View previous topic :: View next topic |
Author |
Message |
Lonely-Star Tux's lil' helper

Joined: 12 Jul 2003 Posts: 82
|
Posted: Tue Sep 16, 2003 12:46 pm Post subject: X Server and Client on different Computers. How? |
|
|
Hi,
I want to start an X Server on one Computer and connect to it form another Computer using ssh X tunneling. I need this, because I want to run X-Programms on the first Computer without having any access to it, only ssh.
I have searched the web, maybe I have used wrong search terms, but I did not find anything.
Anybody any help?
Thanks! |
|
Back to top |
|
 |
mglauche Retired Dev


Joined: 25 Apr 2002 Posts: 564 Location: Germany
|
Posted: Tue Sep 16, 2003 2:22 pm Post subject: |
|
|
if you want to keep them running use vncserver with vncclient ( you can tunnel them through ssh)
if its ok otherwise, u can just use ssh -X somehost , then start normal X programms there (i.e. xload). Be sure that X11Forwarding is not disabled on the server side (in the /etc/ssh/sshd_config) |
|
Back to top |
|
 |
grimshaw Tux's lil' helper


Joined: 07 Aug 2003 Posts: 101 Location: Greensboro, NC 27403, USA, Earth
|
Posted: Tue Sep 16, 2003 2:36 pm Post subject: |
|
|
The process is fairly simple and as mentioned you must have a few configuration options already set.
See if you are already set up and dont't need to change configs:
<on client> xhost +xserverip (replace with the real ip or hostname)
<on client> ssh -X user@xserver.ip.com
See if an xterminal loads for you. If it does, you are set, go nuts. If not, become root and edit: /etc/ssh/sshd_config. Delete the hashes (comments) for these lines:
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
restart the sshd on the xserver.
logout of your ssh session.
log back in again
<on client> ssh -X user@xserver.ip.com
<on server> xterm
see if the xterminal loads on your local machine.
If this doesn't work, report back with errors. You might have tcpwrappersor something else these instructions don't address.
- John _________________ All that is necessary for the triumph of evil is that good men do nothing.
-- Edmund Burke (1729-1797) |
|
Back to top |
|
 |
|
|
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
|
|