Tutorials/Access another computer's display: Difference between revisions

From KDE Wiki Sandbox
No edit summary
m (corrected a link)
Line 10: Line 10:


;Prerequesites
;Prerequesites
You will need the software x11vnc. For example, to install x11vnc on SUSE Linux, [[open a console]] and type
You will need the software x11vnc. For example, to install x11vnc on SUSE Linux, open a [[Konsole]] and type
  yast -i x11vnc
  yast -i x11vnc


So let's assume you want to access a KDE session of ''user'' on the computer ''user-desktop''.
So let's assume you want to access a KDE session of ''user'' on the computer ''user-desktop''.
[[Open a console]] and do:
Open a [[Konsole]] and do:
  you@your-computer $ ssh ''user''@''user-desktop''
  you@your-computer $ ssh ''user''@''user-desktop''
  user@user-desktop $ export DISPLAY=:0
  user@user-desktop $ export DISPLAY=:0

Revision as of 05:41, 28 September 2009

Template:I18n/Language Navigation Bar

You want to access a KDE session 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


Prerequesites

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 session of user on the computer user-desktop. Open a Konsole and do:

you@your-computer $ ssh user@user-desktop
user@user-desktop $ export DISPLAY=:0
user@user-desktop $ 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:

you@your-computer $ vncviewer user-desktop:0