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

From KDE Wiki Sandbox
m (Created page with "==事前准备== 您需要软件 x11vnc。例如在SUSE Linux 上安装x11vnc,打开一个Konsole,然后输入 {{Input|1=yast -i x11vnc}}")
m (Created page with "因此,让我们假设你要访问''user-desktop''电脑上''user'' 的KDE桌面会话。打开 Konsole并: {{Input|1= you@your-computer $ ssh ...")
Line 13: Line 13:
{{Input|1=yast -i x11vnc}}
{{Input|1=yast -i x11vnc}}


So let's assume you want to access a KDE desktop session of ''user'' on the computer ''user-desktop''.
因此,让我们假设你要访问''user-desktop''电脑上''user'' 的KDE桌面会话。打开 [[Special:myLanguage/Konsole|Konsole]]并:
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

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

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.