Unable to install GUI in Ubuntu Server


Recommended Posts

So I just started industrial training yesterday, and one task I was given was to install Ubuntu Server 12.04 in VirtualBox. I have to admit that my prior knowledge in Linux was basically restricted to home use, and I'm kind of unused to using a command line interface for the majority of the time, and I looked around and tried to install a GUI.

So far, whenever I try to install it using apt-get, I would usually get this error:

KB1MDEy.jpg

I've tried other GUIs such as Unity and Gnome core but the problem remains. Does anyone have any suggestions on how to fix this?

Edit your /etc/apt/sources.list file using nano, vim, or other cli text editor and make sure the Universe and Multiverse repos are enabled (uncommented). Then run sudo apt-get update and try installing a gui again. Also remember to install xorg and video drivers as well.

  On 09/09/2014 at 03:15, Suburban Errorist said:

So I just started industrial training yesterday, and one task I was given was to install Ubuntu Server 12.04 in VirtualBox. I have to admit that my prior knowledge in Linux was basically restricted to home use, and I'm kind of unused to using a command line interface for the majority of the time, and I looked around and tried to install a GUI.

So far, whenever I try to install it using apt-get, I would usually get this error:

KB1MDEy.jpg

I've tried other GUIs such as Unity and Gnome core but the problem remains. Does anyone have any suggestions on how to fix this?

Ubuntu server isn't meant to have a GUI so what "I was here" said is true. You need to uncomment the sources so you can download the packages.

After uncommenting the sources he listed run apt-get update and then apt-get install lubuntu-desktop. If you are looking for a lightweight gui I recommend xfce / xububtu-desktop. Clean and lightweight.

Very helpful doc/page

https://help.ubuntu.com/community/ServerGUI

  On 09/09/2014 at 03:30, i_was_here said:

Edit your /etc/apt/sources.list file using nano, vim, or other cli text editor and make sure the Universe and Multiverse repos are enabled (uncommented). Then run sudo apt-get update and try installing a gui again. Also remember to install xorg and video drivers as well.

Okay, so I saw that the Universe and Multiverse repos were enabled, and I even enabled these:

 

u80fz9z.jpg

 

After saving it, I ran apt-get update again, and tried re-installing it a GUI, but I got this:

 

MzHzWUL.jpg

  On 09/09/2014 at 04:06, i_was_here said:

Are there more repos at the top of that file? Could you post the entire contents?

Here's the whole thing, in three parts:

 

JOeOzXc.jpg

Z6jgAuK.jpg

pXfeRWX.jpg

 

(Sorry for posting it in three parts but I couldn't resize VirtualBox's screen size)

EDIT:

 

I also noticed this error message when I tried to install xorg:

 

gFECQ8X.jpg

12.04 seems terribly old already... i had the same problem in desktop 12.04 i could not install anything that's most likely because the ppas are not maintained anymore.

 

would go with 14.04

but don't pull 12.04 desktop and sever from the same ppas?

the OP might give a try to manually download a file from the ppa via webbrowser, maybe something is blocked.

 

other than this? maybe a setting in virtualbox, are you on the latest virtualbox @Suburban Errorist

 

tried to install stuff via synaptic?

  On 10/09/2014 at 07:11, Jack Unterweger said:

but don't pull 12.04 desktop and sever from the same ppas?

the OP might give a try to manually download a file from the ppa via webbrowser, maybe something is blocked.

 

other than this? maybe a setting in virtualbox, are you on the latest virtualbox @Suburban Errorist

 

tried to install stuff via synaptic?

My task was to install the 12.04 version, as requested. And I'm using version 4.3.12, version 4.3.14 couldn't even boot at all. And I'm trying my best to work from the console for the time being, until I can figure out how to fix this.

you should be able just t do

sudo apt-get install lxde

lubuntu is just ubuntu with LXDE installed as the desktop environment

 

If i am missing something let me know as its early and i have just worked a 65 hour week lol

  On 13/09/2014 at 06:44, Haggis said:

you should be able just t do

sudo apt-get install lxde

lubuntu is just ubuntu with LXDE installed as the desktop environment

 

If i am missing something let me know as its early and i have just worked a 65 hour week lol.

 

Sorry, I've been away for a bit, and my laptop was in the store for repairs, but I've tried that, and also used aptitude, but I'm unable to install anything.I think the OS install itself might be faulty.

  On 15/09/2014 at 15:05, i_was_here said:

Unless synaptic has a cli interface I don't think he'll be able to use it if he doesn't have any GUI environment installed.

 

Yeah, I think synaptic is GUI only.

 

OP, I'd just reinstall. Be rid of this issue.

  On 16/09/2014 at 06:07, Suburban Errorist said:

Well, even after a reinstall the problem still remains.

 

this is really wired. anyone else trying ubuntu server 12.04 in virtualbox?

i might give it a go today just to see if i have the same issue or not...maybe i find out something.

maybe it is a setting in virtualbox internet settings but as you say you can ping other things i fail to see how.

  On 16/09/2014 at 06:07, Suburban Errorist said:

Well, even after a reinstall the problem still remains.

Are you even getting an internet connection in the VM?

  On 16/09/2014 at 06:29, Matthew S. said:

Are you even getting an internet connection in the VM?

i think he told us he can ping other websites afaik

umm where is it stated? I just went threw the entire thread....

 

Edit: I'm also installing 12.04.5 in a virtual box vm on my mac to see if I can replicate this issue.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • VirtualBox 7.1.10 by Razvan Serea VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Targeted at server, desktop and embedded use, it is now the only professional-quality virtualization solution that is also Open Source Software. Presently, VirtualBox runs on Windows, Linux, macOS, and Solaris hosts and supports a large number of guest operating systems including but not limited to Windows (NT 4.0, 2000, XP, Server 2003, Vista, 7, 8, Windows 10 and Windows 11), DOS/Windows 3.x, Linux (2.4, 2.6, 3.x, 4.x, 5.x and 6.x), Solaris and OpenSolaris, OS/2, OpenBSD, NetBSD and FreeBSD. Some of the features of VirtualBox are: Modularity. VirtualBox has an extremely modular design with well-defined internal programming interfaces and a client/server design. This makes it easy to control it from several interfaces at once: for example, you can start a virtual machine in a typical virtual machine GUI and then control that machine from the command line, or possibly remotely. VirtualBox also comes with a full Software Development Kit: even though it is Open Source Software, you don't have to hack the source to write a new interface for VirtualBox. Virtual machine descriptions in XML. The configuration settings of virtual machines are stored entirely in XML and are independent of the local machines. Virtual machine definitions can therefore easily be ported to other computers. VirtualBox 7.1.10 changelog: VBoxManage: Fixed a crash when running 'guestcontrol run' on Windows hosts (bug #22175) Audio: Fixed device switching on Windows hosts (bug #22267) Windows host installer: Fixed multiple installation entries in the 'Add or remove programs' dialog and upgrade issues Linux host: Fixed issue which caused VM Selector process crash due to missing libdl.so and libpthread.so libraries (bug #22193) Linux host: Removed libIDL as a build time dependency when building VirtualBox from source code (bug #21169) Linux guest and host: Added initial support for kernel 6.15 (bug #22420) Linux guest: Added initial support for kernel 6.16-RC0 Linux guest and host: Fixed issue with building modules for UEK8 kernel on Oracle Linux 9 distribution RDP: Fixed issue when it was not possible to paste clipboard buffer into a guest over RDP remote session Download: VirtualBox 7.1.10 | 119.0 MB (Open Source) Download: VirtualBox 7.1.10 Extension Pack | 21.9 MB View: VirtualBox Home Page | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • I think the reason is, it is cross platform.
    • Sure, Linux is a great alternative for productivity purposes and actual work. But the only way I'd consider Linux is after an extensive review of top Windows games support. Neowin is definitely working on such an article, right? ::wink wink::
    • I think AI wouldn't have so many run-on sentences.
    • Yes, doing it only Microsoft's way which 90% of users seem to hate is a much better way to go. The comment you replied to didn't even mention user friendly.
  • Recent Achievements

    • Week One Done
      jrromero17 earned a badge
      Week One Done
    • One Month Later
      jrromero17 earned a badge
      One Month Later
    • Conversation Starter
      johnwin1 earned a badge
      Conversation Starter
    • One Month Later
      Marwin earned a badge
      One Month Later
    • One Year In
      fred8615 earned a badge
      One Year In
  • Popular Contributors

    1. 1
      +primortal
      235
    2. 2
      snowy owl
      156
    3. 3
      ATLien_0
      139
    4. 4
      Xenon
      131
    5. 5
      +FloatingFatMan
      128
  • Tell a friend

    Love Neowin? Tell a friend!