Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'd like to use my linux server KDE remotely. Is there anyway to do this?

It seems that KDM is running as a TCP service, but I am unsure whether I can use this to connect remotely to graphic interface.

I'd also like to know the case of GNOME.

Thanks.

share|improve this question

2 Answers 2

If your server has an SSH daemon running, you can forward X traffic over an SSH tunnel quite easily:

localhost$  ssh -X your.server.address
   server$  xclock   # window should appear on local machine

If you want to log in to see your entire desktop remotely, read about Xdmcp. Here's an easy resource.

share|improve this answer

x11vnc is a different solution, instead of launching single applications over the tunnel, you remote attach to the remote existing desktop session and control it with the local input devices. Install x11vnc on the remote computer, and enable sshd. From the local computer, create a SSH tunnel:

ssh -t -L 5900:localhost:5900 remote-host-name 'x11vnc -localhost -forever -display :0'

Run a VNC client on the local computer and connect to localhost, protocol VNC, port 5900, display 0 or the like. I can recommend KRDC.

When you are done, close the VNC client, then kill the SSH session to tear town the tunnel.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.