教學/訪問另一台計算機的顯示器

From KDE UserBase Wiki
Revision as of 13:38, 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.