I have used this method with two computers running Kubuntu 7.04. However, the computers do not necessarily need to run the same environment or even the same distribution.
1. On the server, install a desktop environment and OpenSSH server, if they are not already present. An X server is not required.
Code:
sudo aptitude install openssh-server
3. On the client, press Ctrl+Alt+F1 to show a terminal. Log in and type
Code:
xinit /usr/bin/xterm -- :1
Note: In distributions besides Ubuntu and Debian, the xterm executable may be in a different place. Use the command
Code:
whereis xterm
4. In the new terminal, open an SSH connection to the server. Type:
Code:
ssh -Y username@hostname
5. The SSH client will ask you for your server password. Enter it. :)
6. Now that you have a shell prompt, all you need to do is launch the desktop enviroment.
For GNOME:
Code:
gnome-session
Code:
startkde
Code:
startxfce4
No comments:
Post a Comment