如何开启linux远程桌面(enable remote desktop in linux)

Life is short , play more!
本文来自lihao's Blog,转载请注明。

以rhel 作为例子.
1. yum install vnc-server
2. run command “vncserver”
3. first time to run vncserver, you should configure the password for the remote access.
4. vi /root/.vnc/xstartup
add new line "gnome-session&" after the "twm&"
5. restart the vnc server.
6. now you can use vnc comnand(inlinux) or vncviewer (in windows) to connect the remote linux desktop.


发表评论

电子邮件地址不会被公开。 必填项已用*标注