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

    • how big is your HDD that only has 100gb left? I take it this the main drive.  Is this a pc or laptop? I ask because changing hdd in pcs are much easier. You sure a good clean/purge of data wouldn't clear up space - have you ran disk cleanup? Which is part of windows..  You can for sure move data to your external drive, install programs to it, etc - but using it to store updates?   
    • How to record screen as GIF in Windows 11 by Taras Buria The Snipping Tool app is already quite a capable program for screenshots and screen recordings. Still, there is always room for improvement, and many users agree that the app needs the ability to save screen recordings as GIFs. Microsoft heard those users, and recent updates introduced the long-requested feature, allowing you to record your screen as a GIF. Here is how to do it. Record screen as a GIF in Windows 11 Note: By the time of publishing this article, GIF support in Snipping Tool is only available to Windows Insiders. However, you can enable that feature on stable Windows 11 releases as well; here is how: Go to store.rg-adguard.net, select ProductID in the first drop-down, paste 9MZ95KL8MR0L into the search box, and select Fast in the last drop-down. Press the checkmark button. Find and download Microsoft.ScreenSketch_2022.2505.21.0_neutral_~_8wekyb3d8bbwe.msixbundle in the list of apps. The version number could be newer, just make sure you are downloading an msixbundle file. Note that the browser will warn you about downloading a potentially harmful file. Open the file and click Update. Download ViveTool from GitHub and unpack the files in a convenient and easy-to-find folder. Run Command Prompt as Administrator and navigate to the folder containing the ViveTool files with the CD command. For example, if you have placed ViveTool in C:\Vive, type CD C:\Vive. Type vivetool /enable /id:47081492 and press Enter. The steps above might seem a bit tedious, but that is the only way to get GIF support in Snipping Tool without enrolling your device in the Windows Insider program. We will update the article once the feature is publicly available, so there is no need to jump through all the hoops just to make it work. Tip: You can always roll back Snippint Tool to the latest version from the Microsoft Store by uninstalling it and downloading it again. Now, with GIF support enabled in Snipping Tool, here is how to save a screen recording as a GIF in Windows 11: Press Win + Shift + S, select screen recording mode and record whatever you want. After the recording is over, Snipping Tool will open your video so that you can view, trim, or save it. At this point, all you have to do is click the GIF button in the upper-right corner. On the next screen, select your GIF quality and click Export to save as a file or Copy to copy it to the clipboard. And that is how you save screen recordings as GIFs in Windows 11. Note that Snipping Tool can only save GIFs for up to 30 seconds. Anything beyond that will be cut off. You might think that Clipchamp, Windows 11's built-in video editor, is a good option when you want to save a screen recording as a GIF. However, it really sucks at that. The video duration is capped at just 15 seconds, which is even worse than the Snipping Tool, and the output resolution is hilariously low. The latter makes it impossible to distinguish any details, and all you get is a blurry, pixelated mess. No, Clipchamp is not a good option for that. If you want to create GIFs that are longer than 30 seconds, a good option is to go with apps like ShareX, which is extremely flexible and customizable (and also free, which makes it one of our favorite must-have apps for Windows 11). Alternatively, you can record a video using the Snipping Tool and then convert it to a GIF using web-based services like Ezgif, another great free utility. Keep in mind that the larger your video resolution and the longer its duration, the bigger the final GIF size. Depending on the settings, GIFs could reach hundreds of megabytes, so you have to set your expectations correctly (and so do the settings, too).
    • I'll give you an example of "the settings problem." As awful as the HP Smart app is, it's magnitudes more useful than Settings when I need to do some deep dive stuff on my HP Officejet.
    • I hate to defend Apple but this marketing and they are only "desperate" to move from #3 to #1 for biggest company in the world.
  • Recent Achievements

    • Week One Done
      habso earned a badge
      Week One Done
    • Week One Done
      DXB APPS earned a badge
      Week One Done
    • 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
  • Popular Contributors

    1. 1
      +primortal
      661
    2. 2
      ATLien_0
      252
    3. 3
      Michael Scrip
      235
    4. 4
      Steven P.
      150
    5. 5
      +FloatingFatMan
      148
  • Tell a friend

    Love Neowin? Tell a friend!