Daily Archives: March 26, 2007

刚刚配好了Fedora6

今天有点时间,装了一直期待中的Fedora6。这样写AI的hw,做research会方便很多。花了不少时间来配置fedora,整了一会中文输入,又装了Matlab2007,还又配了vncserver。但最为得意的是今天是用grub启动时的菜单来硬盘安装fedora的,感觉很爽。

装的时候,先把第一张cd里的isolinux解压出来,然后装个grub(这个grub不是我专门装的,在装dos硬盘版时产生的,就是因为dos引导不了,才到grub菜单下的),在grub菜单里依次输入

>kernel (sd0, 4)/boot/vmlinuz
>initrd (sd0,4)/boot/initrd.img
>boot

然后就开始装了,爽。

Setup Vncserver on Fedora6

1. configure firewall, add tcp ports 5900:5905

2. vi /etc/sysconfig/vncservers, uncomment the following 2 lines

VNCSERVERS=
VNCSERVERARGS[2]=

3. under the user mode (not root), run "vncserver", this will generate ".nvc" in the home directory. Revise the file "xstartup", and uncomment the following 2 lines

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

4. kill the vncserver by "vncserver -kill :1" and restart it. It would be OK now. Maybe you need to kill the vnc service during the configuration by "killall Xvnc".

http://fedorasolved.org/network-solutions/vncserver-setup/