脚本宝典收集整理的这篇文章主要介绍了Fedora 9.0系统下创建和配置vncserver远程连接,脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
#vi /etc/
Sysconfig/
vncserver //编辑
VNCserver配置
文件
VNCSERVERS=”1:root”
VNCSERVER
argS[1]=”-geometry 800×600 -0.0.0.0&
PRime;
#vnc
passwd //创建vnc口令
#vncserver (service vncserver start) //启动vncserver
#service iptables stop //关闭iptables
防火墙
#vi .vnc/xstartup //编辑xstartup的脚本
#!/bin/sh
vncconfig
-iconic
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xin
IT/xinitrc
[ -x /etc/vnc/xstartup ] & exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] & xrdb $HOME/.Xresources
xsetroot
-solid grey
xterm -geometry 80×24+10+10 -ls
-title “$VNCDESKTOP Desktop”
twm
在windowx
xp 客户端打开vic viewer 连接输入:
Fedora ip add:1
其它:
#vi /etc/sysconfig/iptables //允许5901端口通过
-A RH-Firewall-1-INPUT -m
state –state NEW -m tcp -p tcp –dport 5901 -j ACCEPT
#vi /etc/sysconfig/vncserver //允许连接两个不同的用户,当然同时需要iptables开放5902端口
VNCSERVERS=”1:root 2:k
eith”
vncviewer 切换全屏模式--F8
脚本宝典总结
以上是脚本宝典为你收集整理的Fedora 9.0系统下创建和配置vncserver远程连接全部内容,希望文章能够帮你解决Fedora 9.0系统下创建和配置vncserver远程连接所遇到的问题。
如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。