Ubuntu server 8.04(Hardy Heron) with X

ubuntu-server-8-04hardy-heron-with-x

This how-to aims towards installing a Graphical interface on Ubuntu Server 8.04, many believe this to be unnecessary and one should only use the CLI interface, I personally feel that sometime a GUI is preferred and therefor i present you with this how-to that will explain how to set up Gnome on Ubuntu Server.

1. Install clean Ubuntu Server with network enabled.

2. Enter sudo in interactive mode.
$ sudo -i

3. Edit /etc/apt/sources list and put a # before the cd source.
# nano /etc/apt/sources.list
#deb cdrom:[Ubuntu-Server 8.04 _Hardy Heron_ - Release i386 (20080318.1)]/ hardy main restricted

4. update package list and then upgrade your system.
# apt-get update
# apt-get upgrade

5. Disable internal speaker(Optional).
# nano /etc/rc.local
modprobe -r pcspkr

6. Install X with gnome as window manager, you can also use my script for this part, found here: Script
# apt-get install
xorg
gdm
gnome-core
ubuntu-artwork
synaptic
update-manager
gnome-app-install
gnome-menus
gnome-mime-data
gnome-mount
gnome-netstatus-applet
gnome-nettool
gnome-screensaver
gnome-system-monitor
gnome-system-tools
gnome-themes
gnome-utils
gconf-editor
gtk2-engines
language-pack-gnome-en
language-pack-gnome-en-base
network-manager
network-manager-gnome
vino
alacarte
fast-user-switch-applet
deskbar-applet
usplash-theme-ubuntu
file-roller
gparted
firefox
update-notifier
software-properties-gtk

7. Reinstall gnome-applets.
# aptitude install gnome-applets

8. Restart the server.

9. Login and go to System/Preferences/Main Menu and and make following shortcuts visable if not.
Application/Accessories/Archive Manager
Application/System Tools/Configuration Editor
System/Preferences/Control Center

10. Right-Click on the middle icon i the top bar between Firefox and Help, choose Remove from panel.

If you experience graphic glitches in the form of missing titlebar do the following:
- Right-click on the desktop and choose Visual Effects and then
click on Extra, now there will popup a message box stating
Failed to execute child process
“compiz” (No such file or directory)
just click Ok on it and your title bar will return, close desktop properties and your done.

If excluding things like fast-user-switch-applet or deskbar-applet during installation errors like this will occur when logging in for the first time:

The panel encountered a problem while loading
“OAFIID:GNOME_FastUserSwitchApplet”
Do you want to delete the applet from your configuration?
Or:
The panel encountered a problem while loading
“OFAIID:Deskbar_Applet”
Do you want to delete the applet from your configuration?

Just click Remove and they will dissapear and not bother you again.

18 Responses to “Ubuntu server 8.04(Hardy Heron) with X”

  1. John Doe Says:

    Thanks! A little bit of googling,an dI found exctly what I was looking for! Fingers crossed, I hope your “work in progress” is already complete enough. Kudoz.

  2. soulskater Says:

    Yep it is stable enough to use, can be some minor software that is missing to make up the base installation, checking the final things right now but i don’t expect any changes to it. /soulskater

  3. darkstar Says:

    Thanks =P

    (the comment was too $hort i had to write this d:-)

  4. soulskater Says:

    You’re welcome. ;-)

  5. Hety Says:

    Only issue i see so far – unability to add menu items. Its rather strange – checkbioxes are there but clicking em does nothing.

  6. soulskater Says:

    Hmm, ok that i have to check out, can’t remember getting that problem. Thanks for bringing it to my attention.

  7. DocChaser Says:

    Thanks for the walk-through it was great and works great.

  8. soulskater Says:

    Thanks, DocChaser.

    Hety, i was unable to reproduce your problem myself, it worked out of the box here.

  9. indra Says:

    It’s work. Thanks

    Only when I unplug the monitor, my box alway shutdown immediately after a minute.
    Do you have ideas ?

  10. soulskater Says:

    You’re welcome.

    Hmm, can’t say that i ever experienced that, check your energy saving functions both in BIOS and in Ubuntu.

  11. akdeniz Says:

    thank you but i have a problem.

    i used the script file for installing but when i restarted my machine , it froze with the blank screen. I can do nothing but restart.

    Any ideas?

  12. soulskater Says:

    Haven’t had that problem, how far into the booting does this happen, is it when it switches to X? try to press CTRL+ALT-BACKSPACE buttons to exit X and see if it continues loading or has it done a complete hang?

  13. lucky Says:

    hi, I install the fedora 10 ,when I log in it ,it show me these error
    please help me how to solve it ?Thank you

    The panel encountered a problem while loading “OAFIIDeskbar_Applet”.
    The panel encountered a problem while loading “OAFIID:GNOME_FastUserSwitchApplet”.
    The panel encountered a problem while loading “OAFIID:GNOME_MixerApplet”.
    The panel encountered a problem while loading “OAFIID:GNOME_MultiLoadApplet”.
    The panel encountered a problem while loading “OAFIID:GNOME_Panel_TrashApplet

  14. lucky Says:

    If you can ,please send the solution to my email.
    Thanks for your help.
    I look forward your Letter.

  15. soulskater Says:

    Hi

    Yes that is true, this errors come due to the fact that gnome for some reason auto loads some features not installed, but you can safely ignore these.

  16. wow gold Says:

    Good post,This was exactly what I needed to read today! I am sure this has relevance to many of us out there.

  17. rusty Says:

    I like to boot to CLI and only start the gui when needed. What change can I make for it to work like that?

    Thanks for a great howto.

  18. soulskater Says:

    Hi, thanks.

    To set default runlevel on your system you must edit /etc/inittab

    # The default runlevel.

    id:5:initdefault:

    You’d change the ‘5′ to a ‘3′. Next time you reboot, your system will start in runlevel 3. There will be no display manager running in runlevel 3, because you turned it off. Therefore, runlevel 3 will become text only, and it will be the default. If that’s what you want to do.

    I haven’t tested this myself so be careful when doing it.

    To start graphical without reboot you should be able to write startx in the CLI.

    For more explanation of runlevels se this page:
    http://www.debianadmin.com/debian-and-ubuntu-linux-run-levels.html

    /Marcus

Leave a Reply