遠端VNC

在 X-Windows 安裝 VNC Server (vino) 時會發現,必須要登入後才會啟動服務。
想在登入前就啟動 VNC 必須安裝另一套服務

1.安裝 x11vnc
yum install x11vnc

2.修改設定
vim /etc/X11/xorg.conf

在 "Screen" 區塊裡新增:
Section "Screen"
Identifier "Screen0″
Device "Videocard0″
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
Option "SecurityTypes" "VncAuth" #新增
Option "UserPasswdVerifier" "VncAuth" #新增
Option "PasswordFile" "/root/.vnc/passwd" #新增
EndSection

在最後新增 "Module" 區塊
Section "Module"
Load "vnc"
EndSection

3.設定 VNC 密碼
vncpasswd

本篇發表於 未分類。將永久鍊結加入書籤。

發表迴響

您的電子郵件位址並不會被公開。 必要欄位標記為 *

*

您可以使用這些 HTML 標籤與屬性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>