我是靠谱客的博主 负责老鼠,这篇文章主要介绍Fedora 9.0系统下创建和配置vncserver远程连接,现在分享给大家,希望可以做个参考。

#vi /etc/sysconfig/vncserver //编辑vncserver配置文件


VNCSERVERS=”1:root”

VNCSERVERARGS[1]=”-geometry 800×600 -0.0.0.0″


#vncpasswd //创建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/xinit/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:keith”


vncviewer 切换全屏模式--F8

最后

以上就是负责老鼠最近收集整理的关于Fedora 9.0系统下创建和配置vncserver远程连接的全部内容,更多相关Fedora内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(112)

评论列表共有 0 条评论

立即
投稿
返回
顶部