For cadence users, many servers are used CentOS system. As we known, it has two common desktop environments: GNOME and KDE. But we also need to know something related to window manager. Because Window Managers and light Desktop Environments are sometimes the only choice for less powerful systems or for places where every bit of memory counts.
Nowadays, different types of WM have been released. The following articles could help you understand them more.
The reference stated that four different window managers are included with RedHat Enterprise Linux: kwin, metacity, mwm, twm.
When you use VNC viewer to remotely control the serve for cadence, it’s better to use twm, which can save a lot of memory. There is a little annoying because no window close buttons in twm by default.
If you want to add a close button to windows titlebars, please read the reference. If you want to know more about twm, please read the reference: An overview of twm written by Tom LaStrange.
Twm is so powerful and usable. Read the following setup can help you install it in your ubuntu.
For using the VNC viewer, the twm is more efficient. If you like to change it to gnome, the following steps are shown to tell you what to do.
- Make sure VNC is installed in the system.
- Edit $HOME/.vnc/xstartup.
- Uncomment : unset SESSION_MANAGER
- Uncomment : exec /etc/X11/xinit/xinitrc
- Comment : xterm -geometry 80×24+10+10 -ls -title “$VNCDESKTOPDesktop” &
- Comment : twm &
- Add “gnome-session &” under the “exec /etc/X11/xinit/xinitrc” line.
- The Xstartup file should look like this (Red: added line, Blue: modified line) :
# Uncomment the following two lines for normal desktop:
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
#xterm -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &