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

From KDE UserBase Wiki
m (Created page with "因此,让我们假设你要访问''user-desktop''电脑上''user'' 的KDE桌面会话。打开 Konsole并: {{Input|1= you@your-computer $ ssh ...")
m (Created page with "x11vnc程式告诉你连接到哪里。该行看起来像这样 {{Output|1=The VNC desktop is: user-desktop:0}}")
Line 18: Line 18:
user@user-desktop $ x11vnc}}
user@user-desktop $ x11vnc}}


The program x11vnc tells you where to connect. The line will read like
x11vnc程式告诉你连接到哪里。该行看起来像这样
{{Output|1=The VNC desktop is:      user-desktop:0}}
{{Output|1=The VNC desktop is:      user-desktop:0}}



Revision as of 13:35, 15 March 2011

您想要访问运行另一台电脑的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

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.