How do I configure vncserver to start GNOME or KDE by default in Red Hat Enterprise Linux ?
来源:互联网 发布:亲历新疆七五事件知乎 编辑:程序博客网 时间:2024/04/30 04:56
问题
- How do I configure vncserver to start GNOME or KDE by default in Red Hat Enterprise Linux ?
- Why does vnc start a basic window manager in session ?
环境
Red Hat Enterprise Linux 6
Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 4
决议
- Edit the file ${HOME}/.vnc/xstartup file to run gnome-session for GNOME or startkde for KDE instead of twm as shown below
- To start bare minimum desktop, use the below config
#!/bin/sh[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresourcesxsetroot -solid greyvncconfig -iconic &xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &twm &
- To start bare minimum desktop, use the below config
- To start GNOME, use the below config
#!/bin/sh[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresvncconfig -iconic &dbus-launch --exit-with-session gnome-session &
- To start KDE, use the below config
#!/bin/sh[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresourcesvncconfig -iconic &startkde &
Comment
- To configure vncserver, refer What are different ways to setup VNC on Red Hat Enterprise Linux ? .
- On RHEL6, vncserver will start users default desktop which usually is GNOME.
- To reset "xstartup" file, it delete and restart vncserver .
- How do I configure vncserver to start GNOME or KDE by default in Red Hat Enterprise Linux ?
- How do I add raw device mapping in Red Hat Enterprise Linux 5?
- How to configure a SMTP server in Red Hat Enterprise Linux
- What is a "sosreport" and how do I create it in Red Hat Enterprise Linux 4.6 and later
- How to configure Virtual Network Computing (VNC) to work with Red Hat Enterprise Linux?
- How To Install And Configure Ganglia On Red Hat Enterprise Linux 5---YUM 安装篇
- Why do I see "cpu soft lockup" messages in Red Hat Enterprise Linux on a Unisys E7600 or NEC 5800 Ex
- 安装KDE for Red Hat Enterprise Linux 4
- How to change Red Hat Linux to boot to command line mode from Gnome
- Howto Red hat enterprise Linux 5 configure the network card
- Howto Red hat enterprise Linux 5 configure the network card
- red hat enterprise linux
- Install Language support in CentOS 5 or Red Hat Enterprise Linux CentOS add Chinese Support
- How to mount Windows share on Red Hat Enterprise Linux system using CIFS
- How to configure default browser in registry
- Install MongoDB on Red Hat Enterprise or CentOS Linux
- Integrating Tomcat and Apache on Red Hat Linux 9 or Red Hat Enterprise Linux 3
- How to Install OSSEC on Red Hat or CentOS 6
- 带有初始化向量的Key的产生
- JavaScript世界的一等公民 - 函数
- ASIHttpRequest中文开发文档
- hdu 2084 数塔 最基础DP
- VS2008 插件开发
- How do I configure vncserver to start GNOME or KDE by default in Red Hat Enterprise Linux ?
- jqGrid
- R.java常见问题解决方案
- selenium webdriver
- 进程共享变量#pragma data_seg用法
- 用JavaScript修改CSS属性
- 大数据从“小”做起——中小企业Big Data解决之道
- 下雨天的那把伞
- 在DataTable中执行DataTable.Select("条件"),