Tutorials/Access another computer's display

Other languages:
English • ‎català • ‎dansk • ‎español • ‎français • ‎italiano • ‎português do Brasil • ‎українська • ‎中文(中国大陆)‎ • ‎中文(台灣)‎

You want to access KDE software that is running on another computer.

Reasons can be

  • someone is running Linux and requesting support from you
  • you want to train a user how to work with a specific gui software
  • you have worked on your desktop computer and want to continue work in front of the TV (Simpsons coming) on your notebook


You will need the software x11vnc. For example, to install x11vnc on SUSE Linux, open a Konsole and type

yast -i x11vnc

So let's assume you want to access a KDE desktop session of user on the computer user-desktop. Open a Konsole and do:

[email protected] $ ssh user@user-desktop
[email protected] $ export DISPLAY=:0
[email protected] $ x11vnc

The program x11vnc tells you where to connect. The line will read like

The VNC desktop is:      user-desktop:0

Connect from your notebook:

[email protected] $ vncviewer user-desktop:0

The "user-desktop" term may be the host name of the server machine if that name is configured in the "hosts" file on the client machine.

This page was last edited on 10 October 2010, at 16:09. Content is available under Creative Commons License SA 4.0 unless otherwise noted.