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

From KDE UserBase Wiki
m (Created page with "教學/訪問另一台計算機的顯示器")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<languages />
<languages />


You want to access KDE software that is running on another computer.
您想要訪問運行另一台電腦的 KDE 軟體。


Reasons can be
原因可能有
* someone is running Linux and requesting support from you
* 某人執行Linux 並請求你的協助
* you want to train a user how to work with a specific gui software
* 你想要訓練一個使用者操作特殊的圖形用戶界面軟體
* you have worked on your desktop computer and want to continue work in front of the TV (Simpsons coming) on your notebook
* 你已經在你的桌面電腦上工作了,但想要接下來在電視前(《辛普森家庭》節目快開始了),在你的筆記本上繼續工作。




==Prerequesites==
==事前準備==
You will need the software '''x11vnc'''. For example, to install '''x11vnc''' on SUSE Linux, open a [[Special:myLanguage/Konsole|Konsole]] and type
您需要軟體 x11vnc。例如在SUSE Linux 上安裝 x11vnc,打開一個[[Special:myLanguage/Konsole|Konsole]],然後輸入
{{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
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}}


Connect from your notebook:
從您的筆記本電腦連接:
{{Input|1=you@your-computer $ vncviewer user-desktop:0}}
{{Input|1=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.
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.


[[Category:Tutorials]]
[[Category:教學/zh-tw]]
[[Category:System]]
[[Category:系統/zh-tw]]

Latest revision as of 13:40, 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

從您的筆記本電腦連接:

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.