Diff for "GettingaNicerLinuxInterface" - MRC CBU Imaging Wiki
location: Diff for "GettingaNicerLinuxInterface"
Differences between revisions 10 and 11
Revision 10 as of 2013-03-04 16:35:29
Size: 1833
Comment:
Revision 11 as of 2013-03-04 16:39:58
Size: 1816
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

You may have noticed that the graphical user interface (GUI) on the linux boxes is a far cry from the usual Windows or Mac GUIs. It doesn't have to be this way - it's just that the default GUI on the linux boxes is hideous. There are many alternative GUIs installed on the linux boxes, but for most people the one they will want is Gnome, which is the GUI used in Ubuntu and other sexy Linux distributions. 
You may have noticed that the graphical user interface (GUI) on the linux boxes is a far cry from the usual Windows or Mac GUIs. It doesn't have to be this way - it's just that the default GUI on the linux boxes is hideous. There are many alternative GUIs installed on the linux boxes, but for most people the one they will want is Gnome, which is the GUI used in Ubuntu and other sexy Linux distributions.
Line 10: Line 9:
{{{cd ~
nano .vnc/xstartup}}}
Line 13: Line 10:
{{{
cd ~ nano .vnc/xstartup}}}
Line 19: Line 18:
{{{gnome-session &}}}

{{{
gnome-session & }}}
Line 28: Line 26:
{{{
vncserver -kill :[yourvncdesktopnumber] }}}
OR
Line 30: Line 31:
vncserver -kill :[yourvncdesktopnumber]
}}}

OR

{{{
ps -Af | grep -i xvnc | grep -i <your username>}}}
ps -Af | grep -i xvnc | grep -i <your username> }}}
Line 39: Line 34:
{{{kill <the Xvnc process id>}}}


8. Your VNC server will now have closed. Start a new one, and you will
find yourself in gnomy goodness.
{{{
kill <the Xvnc process id> }}}
8. Your VNC server will now have closed. Start a new one, and you will find yourself in gnomy goodness.
Line 46: Line 39:
{{{#!/bin/sh
#
# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
Line 52: Line 40:
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnome-session &
#startkde &
#icewm &
}}}

{{{
#!/bin/sh (-) # # Uncomment the following two lines for normal desktop: # unset SESSION_MANAGER # exec /etc/X11/xinit/xinitrc
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & gnome-session & #startkde & #icewm & }}}

How to change your Linux window manager

You may have noticed that the graphical user interface (GUI) on the linux boxes is a far cry from the usual Windows or Mac GUIs. It doesn't have to be this way - it's just that the default GUI on the linux boxes is hideous. There are many alternative GUIs installed on the linux boxes, but for most people the one they will want is Gnome, which is the GUI used in Ubuntu and other sexy Linux distributions.

To change your window manager to Gnome, follow these steps:

1. Open a terminal in your current linux VM

2. Type the following:

cd ~  nano .vnc/xstartup

3. An editor will open with the xvnc settings. Use the arrow keys to move the cursor.

4. Comment out anything after the 'xterm -geometry...' line by inserting # (this likely includes references to e.g. icewm)

5. On the line below 'xterm -geometry...' type:

gnome-session & 

6. type Ctrl-x. You'll be prompted to save changes. Type 'y', and hit return/enter to overwrite the file.

7. You should now be back in the terminal window

EITHER:

vncserver -kill :[yourvncdesktopnumber] 

OR

ps -Af | grep -i xvnc | grep -i <your username> 

and make a note of the process id next to the xvnc process, then type

kill <the Xvnc process id> 

8. Your VNC server will now have closed. Start a new one, and you will find yourself in gnomy goodness.

Your final file should look something like this:

(JohanCarlin)

CbuImaging: GettingaNicerLinuxInterface (last edited 2013-03-07 21:23:08 by localhost)