yum groupinstall "X Window System" "Desktop"
yum groupinstall Xfce
yum install tigervnc-server tigervnc
VNCSERVERS="1:root" VNCSERVERARGS[1]="-geometry 1024x768 -alwaysshared -depth 24"
#!/bin/sh # Uncomment the following two lines for normal desktop: unset SESSION_MANAGER exec /etc/X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & gnome-session & #set starting GNOME desktop #startkde & #kde desktop #twm & #Text interface #/usr/bin/startxfce4 #exec /usr/bin/fluxbox
vncserver
vncserver -kill :1 vncserver -kill :2
chkconfig vncserver on
# netstat –tunlp Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN 2092/Xvnc tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 1459/rpcbind tcp 0 0 0.0.0.0:6001 0.0.0.0:* LISTEN 2092/Xvnc tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1711/sshd tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 1557/cupsd # vim /etc/sysconfig/iptables -A RH-Firewall-l-INPUT -p tcp -m tcp –dport 5801 -j ACCEPT -A RH-Firewall-l-INPUT -p tcp -m tcp –dport 5901 -j ACCEPT -A RH-Firewall-l-INPUT -p tcp -m tcp –dport 6001 -j ACCEPT # /etc/init.d/iptables restart
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有