0

I'm new to linux but I know about the startx command which is not working. I just installed Ubuntu Server (the newest version) on a old computer. I have it working but I am unable to launch the gui. I cannot connect to the internet because I don't have a network adapter. How would I start the gui?

2 Answers2

1

Ubuntu Server does not come with a GUI. Its Headless, IE: Command Line Only. You would need to run an APT-GET command which requires internet.

If you get network capabilities check out..

Install GUI on Ubuntu Server

FreeSoftwareServers
  • 1,129
  • 1
  • 14
  • 32
1

Even when @FreeSoftwareServers is true, there's a way to install a GUI, download a desktop version of ubuntu, i think xubuntu (xfce) is more suitable since it's an old computer (limited resources). Burn the cd and put it on the machine.

Then you have to create a dir to mount the cd

sudo mkdir -p /mnt/cdrom

Mount the cd on that dir, and check it ( instructions here if this doesn't work )

mount -t iso9660 -o ro /dev/cdrom /mnt/cdrom
du

That should show something like

.... 
/dev/sr0    952320    952320    0    100%   /mnt/cdrom

Then add the cd as apt source

sudo apt-cdrom -m --cdrom=/mnt/cdrom add

Then update the sources

sudo apt-get update

Install xfce4 and slim

sudo apt-get install xfce4 slim

Finally reboot the machine

sudo reboot

Note: the login didn't work the first time but from that point it worked properly.

bistoco
  • 1,541