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

From KDE UserBase Wiki
Revision as of 02:20, 7 May 2011 by Zhao Han (talk | contribs)

您想用运行在另一台电脑上的 KDE 软件。

原因可能是

  • 有个 Linux 用户请您帮忙
  • 你想教用户使用某一图形用户界面软件
  • 在台式机工作一会后,想用笔记本在电视前继续手头的工作


事前准备

您需要 x11vnc 软件,如在 SUSE Linux 上安装 x11vnc,打开Konsole,然后输入

yast -i x11vnc

因此,让我们假设你要访问user-desktop电脑上user 的KDE桌面会话。打开 Konsole并:

you@your-computer $ ssh user@user-desktop
user@user-desktop $ export DISPLAY=:0
user@user-desktop $ x11vnc

x11vnc程式告诉你连接到哪里。该行看起来像这样

The VNC desktop is:      user-desktop:0

从您的笔记本电脑连接:

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.