手机
当前位置:查字典教程网 >操作系统 >Fedora >Fedora 9系统下创建和配置vncserver过程
Fedora 9系统下创建和配置vncserver过程
摘要:#vi/etc/sysconfig/vncserver//编辑vncserver配置文件VNCSERVERS=”1:root&r...

#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系统下创建和配置vncserver过程】相关文章:

Fedora系统的一些基本配置分享

在Fedora系统下创建livecd的简单方法

Fedora 20 安装试用体验全程讲解

Fedora 9 系统下ALSA声卡驱动下载及安装方法

Fedora下IPv6的相关设置操作详解

Fedora系统的管理员root密码怎么重置?

fedora 11下安装使用rar的方法

Fedora Core 8中yum设置

Fedora 9.0系统下创建和配置vncserver远程连接

Fedora 7上安装和配置xmms

精品推荐
分类导航