当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > Fedora 9.0系统下创建和配置vncserver远程连接

Unix/Linux
fedora7下共享上网
FC8下备份linux系统
fedora 安装注意事项
Fedra7 建立DHCP服务器
fedora8在右键增加打开终端
fedora linux 7无法进入图形界面解决方法
如何让Fedora能够打开RAR文件
让fedora正常显示windows下的中文名文件
Linux系统下安装VMware虚拟机详解过程
fedora如何挂载windows分区
fedora9.0 DVD正式版下载地址
Fedora-8下Samba服务器的架设详解
通过硬盘安装Fedora
如何让fedora自动挂载windows分区
硬盘安装Fedora-9-i386-DVD方法
Fedora-8下Samba服务器的架设笔记
fedora 9没有声音的解决方法
Fedora Linux系统配置Samba服务器
Fedora 7 (FC-7)下载地址,比较快
linux下图解挂载U盘全过程

Unix/Linux 中的 Fedora 9.0系统下创建和配置vncserver远程连接


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2010-01-15   浏览: 49 ::
收藏到网摘: n/a

#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