Redhat RHEL 5.5 VNC 安装配置
2011-09-09 09:56
633 查看
VNC 桌面很丑,不好看,丑陋,奇怪的桌面,怎么办?
其实是
详细参考:
http://stevejenkins.com/blog/2010/03/set-up-vnc-from-windows-to-fedora-12-over-the-internet/ http://stevejenkins.com/blog/2010/08/set-up-vnc-on-rhel-5-5-centos-5-5/
1. 安装vncserver
yum install vnc-server
2. 配置vnc 桌面
/home/username/.vnc/xstartup file, you need to uncomment two lines near the top of the file so that it reads:
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
After uncommenting those two lines, go to the bottom of the file and comment out the twm & line, then add a line that tells VNC to start GNOME desktop. The last two lines should read:
# twm &
startx &
or:
gnome-session &
当然,倒数第一行也可以改为文章中第一段中提到的startkde &,表示启动KDE桌面系统。
3. 重启VNC
vncserver -kill :1
vncserver :1
4. 注意,如果没有安装gnome, 请用: yum install gnome-desktop安装
5.
现有的配置文件:xstartup; 注意需要用合适的用户启动vncserver
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
#startx &
gnome-session &
其实是
详细参考:
http://stevejenkins.com/blog/2010/03/set-up-vnc-from-windows-to-fedora-12-over-the-internet/ http://stevejenkins.com/blog/2010/08/set-up-vnc-on-rhel-5-5-centos-5-5/
1. 安装vncserver
yum install vnc-server
2. 配置vnc 桌面
/home/username/.vnc/xstartup file, you need to uncomment two lines near the top of the file so that it reads:
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
After uncommenting those two lines, go to the bottom of the file and comment out the twm & line, then add a line that tells VNC to start GNOME desktop. The last two lines should read:
# twm &
startx &
or:
gnome-session &
当然,倒数第一行也可以改为文章中第一段中提到的startkde &,表示启动KDE桌面系统。
3. 重启VNC
vncserver -kill :1
vncserver :1
4. 注意,如果没有安装gnome, 请用: yum install gnome-desktop安装
5.
现有的配置文件:xstartup; 注意需要用合适的用户启动vncserver
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
#startx &
gnome-session &
相关文章推荐
- redhat 5.5 X86-64 安装oracle11g r2 rac 快速配置
- RedHat(rhel5.5_x86-client)下配置CUDA开发环境
- Vmware +RedHat5.5+Oracle 11G+Oracle Rac安装配置手册
- redhat 6 tigervnc-server 安装配置
- 实验平台1 - redhat enterprise linux 5.5 安装 及telnet配置
- 实验平台1 - redhat enterprise linux 5.5 安装 及telnet配置
- Redhat 5.5 yum 安装配置KVM
- rhel5.5安装vsftpd并配置虚拟用户及开放防火墙和selinux
- RHEL5下安装图形+配置VNC+安装vmware workstation
- RHEL6基础四十之RHEL图形化操作软件VNC安装、配置与使用
- RHEL Linux6.3下的vnc安装和多用户配置
- RHEL 5.5 vnc 配置
- RHEL6下VNC安装和配置
- rhel7.3 安装配置 VNC 详解
- RHEL server 5.5 telnet安装和配置
- RHEL5.6 VNC安装配置
- 【RedHat】RHEL5.3-FTP—vsftpd服务安装和配置
- rhel 5.x,6.x VNC服务安装、配置与使用
- RHEL7.3(Redhat) 安装配置 ElasticSearch5.5.1、ElasticHead、kibana5.5.1、X-Pack
- DELL R720服务器安装redhat5.5加载阵列驱动