[D]Window Managers

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.

Various Window Managers written by DevynC Johnson

Most Nimble and Simple X Window Managers posted by Jun Auza

A Memory Comparison of Light Linux Desktops

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.

twm ubuntu

setup TWM under ubuntu

how to remove twm in 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.

how to modify the VNC startup script to start the GNOME desktop prior to the login user who started the VCN server command.
  1. Make sure VNC is installed in the system.
  2. Edit $HOME/.vnc/xstartup.
  3. Uncomment : unset SESSION_MANAGER
  4. Uncomment : exec /etc/X11/xinit/xinitrc
  5. Comment : xterm -geometry 80×24+10+10 -ls -title “$VNCDESKTOPDesktop” &
  6. Comment : twm &
  7. Add “gnome-session &” under the “exec /etc/X11/xinit/xinitrc” line.
  8. The Xstartup file should look like this (Red: added line, Blue: modified line) :
    ———-
    #!/bin/sh

    # Uncomment the following two lines for normal desktop:
    unset SESSION_MANAGER
    exec /etc/X11/xinit/xinitrc
    gnome-session &

    [ -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” &
    #twm &

    ———-

 

 

 

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s