2

I am new to Ubuntu, and I am working on a Mac. The Ubuntu installation was done by someone else. I logged in with the user name and password, but I'm not sure what next to do in the terminal to get to the graphical interface. Could someone assist or point me in a direction where I can get useful guidelines? I have done research, but nothing I found helped me.

When I tried to start the lightdm greeter, I got the following message:

lightdm.service not found  

Update: My understanding is that Ubuntu Server is installed.

karel
  • 122,292
  • 133
  • 301
  • 332

2 Answers2

7

Ubuntu Server does not include a graphical user interface by default. If you are connected to the system console you will see a screen similar to the following:

enter image description here

To login to Ubuntu Server from the above screen:

  1. At the login: prompt type your username and press Enter.

  2. At the Password: prompt type your user password and press Enter.


To install the default Ubuntu desktop environment (Unity) in Ubuntu Server run the following commands:

sudo apt-get install ubuntu-desktop
sudo reboot

These commands will also install the LightDM greeter so that you can login to the Ubuntu desktop environment from a nice login screen.

If you logged in at the system console, one of the following two commands will bring up a GUI login screen to login to the Ubuntu desktop environment.

sudo systemctl start graphical.target # Ubuntu 15.04 and later

or

sudo service lightdm start # Ubuntu 12.04/14.04 
karel
  • 122,292
  • 133
  • 301
  • 332
0

I am also very new to Ubuntu so you can try the following things, which solved a similar problem for me:

  1. Try ctrl+alt+f1 (try all from f1 to f11), I just got stuck yesterday on a virtual machine and realized that there is more than 1 terminal in Ubuntu

  2. You can also try the command

    startx
    

This will show if you have ubuntu-desktop environment installed.

Zanna
  • 72,312