rpm-qvnc-server
packagevnc-serverisnotinstalled
yuminstallvncvnc-server
vncserver
Youwillrequireapasswordtoaccessyourdesktops.
Password:
Verify:
vi/etc/sysconfig/vncservers#vnc设置文件
VNCSERVERS="10000:root"#把后面的#作废了10000:root(桌面号:用户)
#VNCSERVERARGS[2]="-geometry800x600-nolistentcp-localhost"
vi/etc/sysconfig/iptables
-AINPUT-mstate--stateNEW-mtcp-ptcp--dport15900-jACCEPT(同意15900端口经由过程防火墙)
/etc/init.d/vncserverrestart
大概
servicevncserverrestart
/etc/init.d/iptablesrestart
serviceiptablesrestart
chkconfigvncserveron
chkconfig--listvncserver
vncserver0:off1:off2:on3:on4:on5:on6:off
cd~/.vnc
vixstartup#编纂
#twm&#正文失落这一行
gnome-session&#增加这一行
欢迎光临 仓酷云 (http://ckuyun.com/) | Powered by Discuz! X3.2 |