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

From KDE UserBase Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page is a translated version of the page Tutorials/Access another computer's display and the translation is 89% complete.

您想要訪問運行另一台電腦的 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.