教程/访问另一台计算机的显示器

From KDE UserBase Wiki
Revision as of 13:34, 15 March 2011 by Qiii2006 (talk | contribs) (Created page with "原因可能有 * 某人运行Linux 并请求你的协助 * 你想要训练一个使用者操作特殊的图形用户界面软件 * 你已经在你的桌面电脑上工作了,...")

您想要访问运行另一台电脑的KDE软件。

原因可能有

  • 某人运行Linux 并请求你的协助
  • 你想要训练一个使用者操作特殊的图形用户界面软件
  • 你已经在你的桌面电脑上工作了,但想要接下来在电视前(《辛普森一家》节目快开始了),在你的笔记本上继续工作。


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.