ssh in combination with X PDF Print E-mail
User Rating: / 0
PoorBest 
Written by Bart Dorlandt   
Saturday, 10 June 2006 12:27

To administer a *Nix system remote you can use ssh and you can use a graphical interface. This can be done by using gnome or KDE and probably some other but I don't have much experience with those.


  • First you'll have to enable ForwardX11 in the /etc/ssh/sshd-config. Make sure you restart the daemon.
  • Set up connection to the remote host with the -X option:

ssh -X [username]@[DNS or IP]

  • Now we create a client window with Xnest. You'll have to provide a virtual display and the &-mark will put it in the background.

Xnest :14 &

  • In the ssh-session we will enter the following. This will start a KDE session or a gnome session. Depending on your environment on both sides. Both sides needs to have the same environmnts.

DISPLAY=:14 ; startkde    ||||     DISPLAY=:14 ; gnome-session

Last Updated on Tuesday, 17 July 2007 14:29
 


Related items: