給只有命令行的linux裝上桌面並能遠程

安裝環境: CentOS6.4


# yum -y groupinstall "X Window System" "Desktop"
# yum install -y tigervnc-server tigervnc
# yum -y install libX11 libXfont  xorg-x11-xinit xorg-x11-xdm xorg-x11-fonts*


# vim /etc/sysconfig/vncservers

VNCSERVERS="6:root"
VNCSERVERARGS[2]="-geometry 1024x768 -nolisten tcp -localhost"
# vncpasswd      //設置鏈接密碼 
# vncserver

客戶端的vnc軟件: vnc-E4_1_5-x86_win32 html

參考: http://www.ha97.com/4634.html shell

相關文章
相關標籤/搜索