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

From KDE Wiki Sandbox
(Markup edit)
(Marked this version for translation)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
You want to access KDE software that is running on another computer.
You want to access KDE software that is running on another computer.


<!--T:2-->
Reasons can be
Reasons can be
* someone is running Linux and requesting support from you
* someone is running Linux and requesting support from you
Line 10: Line 12:




;Prerequesites
==Prerequesites== <!--T:3-->
You will need the software '''x11vnc'''. For example, to install '''x11vnc''' on SUSE Linux, open a [[Konsole]] and type
You will need the software '''x11vnc'''. For example, to install '''x11vnc''' on SUSE Linux, open a [[Special:myLanguage/Konsole|Konsole]] and type
{{Input|1=yast -i x11vnc}}
{{Input|1=yast -i x11vnc}}


<!--T:4-->
So let's assume you want to access a KDE desktop session of ''user'' on the computer ''user-desktop''.
So let's assume you want to access a KDE desktop session of ''user'' on the computer ''user-desktop''.
Open a [[Konsole|Konsole]] and do:
Open a [[Special:myLanguage/Konsole|Konsole]] and do:
{{Input|1= you@your-computer $ ssh ''user''@''user-desktop''
{{Input|1= you@your-computer $ ssh ''user''@''user-desktop''
user@user-desktop $ export DISPLAY=:0
user@user-desktop $ export DISPLAY=:0
user@user-desktop $ x11vnc}}
user@user-desktop $ x11vnc}}


<!--T:5-->
The program x11vnc tells you where to connect. The line will read like
The program x11vnc tells you where to connect. The line will read like
{{Output|1=The VNC desktop is:      user-desktop:0}}
{{Output|1=The VNC desktop is:      user-desktop:0}}


<!--T:6-->
Connect from your notebook:
Connect from your notebook:
{{Input|1=you@your-computer $ vncviewer user-desktop:0}}
{{Input|1=you@your-computer $ vncviewer user-desktop:0}}


<!--T:7-->
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.
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.


<!--T:8-->
[[Category:Tutorials]]
[[Category:Tutorials]]
[[Category:System]]
[[Category:System]]
</translate>
</translate>

Latest revision as of 16:09, 10 October 2010

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


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 desktop 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

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.