装了fedora7


每次装系统的时候就会碰到不同的问题,这次就是vnc的port始终打不开,搞了很长时间,现在终于好了。

对vnc,要配置下面三个地方,
1 /etc/sysconfig/vncservers,添加用户名,然后叫用vncpasswd添加密码
2 在当前用户下运行./vncservers,在产生的.vnc目录里修改xstartup文件;
3 修改/etc/sysconfig/iptables,添加5901 prot#,restart iptables, /sbin/service iptables restart
4 然后运行vncserver, 一些命令vncserver -kill :1, killall Xvc.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s