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

    • It’s not desperation, it’s marketing. Companies do that…
    • Some AMD Ryzen users can get free Windows performance boost with this simple system tweak by Sayan Sen AMD understands that there is a lot of demand for its X3D processors and for good reason too, since they offer some of the best gaming experiences. As such, the company plans to launch a new 6-core Ryzen 5 9600X3D for those who may not want to spend top dollar on a 9800X3D. What makes X3D special is the densely packed last level cache (LLC) wherein the L3 (level 3) cache is 3D die-stacked such that there is a whole lot of it that the cores can access on demand all within the smallest footprint. This is said to help with latency especially, and games happen to be quite sensitive to it since they are a mixed workload and so there is a lot of to-and-fro. However, despite that fact, users have noticed micro-stuttering and freezes on Ryzen X3D CPUs. Although there is no official fix, some of the affected users have managed to resolve the issues by tweaking a motherboard setting. The tweak is related to a setting called "GLOBAL C-STATE CONTROL" (it may be called something else by your motherboard vendor) and changing it to 'Enabled' from 'Auto' could fix stuttering and lag-related issues in games. If you are not familiar with them, Processor Power Management is done through Advanced Configuration and Power Interface (ACPI) P-states or C-states. While P-states or performance states handle CPU voltage-frequency scaling, C-states deal with CPU sleep states so that some of the CPU functions, which are not necessary at that moment, are disabled. The P-states and C-states work together to make the processor run more efficiently. It helps the OS and apps determine which cores can be parked. The Global C-state control setting helps users manage not only the DF and CPU core C-states but also the I/O C-states too. For those wondering, DF here refers to Data Fabric or AMD's high bandwidth Infinity Fabric interconnect between CPUs, GPUs, and more, on AMD systems. By default, this is set to "Auto" which also means that it is "Enabled" by default. However, in the case of X3D parts, Auto may set this setting to "Disabled" and thus manually toggling it to "Enabled" may be necessary. X3D processors, the dual CCD (core complex die) ones especially, have their V-cache on a single CCD. If the CPPC (Collaborative Processor Performance Control), which lets an OS like Windows control the "preferred core" and clock speed boost, isn't working optimally to assign the correct gaming CCD, then this fix could well work. Global C-State Auto: Global C-State Enabled: We ran a benchmark on our Ryzen 9 9950X3D to see if toggling the settings would make a difference, and well, it didn't in the case of AIDA64. However, since this is a synthetic test that measures cache and memory exclusively, we can't definitively conclude that the fix will also not make a difference in the case of games. Another remedy for stuttering is to disable the monitoring of the "Power percent" metric on MSI Afterburner if you have it on. This has been a long-known issue and in fact can help you even if you are not using an X3D CPU. Source: Reddit (link1, link2) via YouTube
    • I only have one contact on WhatsApp. And that contact has sms also. I have many more contacts that use WhatsApp also, but everyone defaults to use iMessage, SMS or RCS anyway. Not a loss for me. I'm in Norway where mostly nobody uses WhatsApp.
    • Apple is boring for a kid. Only fun is browsing websites for HTML games. A PC with steam is another story. Of course if the child plays video games all day then maybe that might not be a good idea. :-)
    • Looking for a specific setting in Settings? Sorry, the option just doesn’t exist as you’d need to elevate for that. Want to do something quickly and efficiently? Nah, forced to use a “modern” interface which takes far longer to achieve what you’re looking to do. (Example: disable a NIC)
  • Recent Achievements

    • One Month Later
      DecaffKnight94 earned a badge
      One Month Later
    • Dedicated
      S.P earned a badge
      Dedicated
    • One Month Later
      adxnksd42031 earned a badge
      One Month Later
    • Rising Star
      aphanic went up a rank
      Rising Star
    • Contributor
      GravityDead went up a rank
      Contributor
  • Popular Contributors

    1. 1
      +primortal
      663
    2. 2
      ATLien_0
      261
    3. 3
      Michael Scrip
      234
    4. 4
      Steven P.
      159
    5. 5
      +FloatingFatMan
      151
  • Tell a friend

    Love Neowin? Tell a friend!