-1

I'm new to Ubuntu server.I have Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-88-generic x86_64) installed. I've also installed ubuntu-desktop & gnome.

When I ssh root@my-ip-address and do a cd /usr/share/xsessions/ and ls, I can see I have all these gnome-classic.desktop gnome.desktop ubuntu.desktop.

I'm on a Mac and running all these commands from my terminal (I don't have Virtual box installed).

The reason I installed ubuntu-desktop & gnom was to be able to see a graphic-version of the server/system.

I installed them by doing sudo tasksel.

What do I need to do & how can I get the system up and see my server as a normal ubuntu desktop.

Any help is appreciated

  • Did you restart the system? – George Udosen Sep 29 '17 at 14:10
  • 2
    "The reason I installed ubuntu-desktop & gnom was to be able to see a graphic-version of the server/system" You do not have a server. You created a desktop system. And I really advice to NOT do it like this. Learn command line and use tools from your Mac to connect to the server (workbench, or phpmyadmin to access mysql for instance, webmin etc). – Rinzwind Sep 29 '17 at 14:29
  • Probably you have to run startx. Did you try that? And gnome is quite "heavy" for a server .. better use a lighter GUI like xfce4 e.g. this is installed by just using sudo apt install xfce4 – derHugo Sep 29 '17 at 14:32
  • @George Yes I did with reboot now and it said shutting down and I did SSH in once again but nothing happened. – Friendof Afriend Sep 29 '17 at 14:33
  • @Rinzwind thanks for the advice. Reason I installed it was because I'm building an application which I need to have firefox and chrome installed to my server. The reason I want to see the desktop is to start up Firefox and some other programs. How can I do that from my terminal? – Friendof Afriend Sep 29 '17 at 14:37
  • @derHugo Thanks. I ran sudo apt install xfce4. How can I start it now? I ran startx and it did some lines and stopped and now just waiting – Friendof Afriend Sep 29 '17 at 14:40
  • You are using the wrong tool: a server is not for that kind of coding. If you want to keep going this way: install remote desktop software on your mac and connect with that to your other desktop. But you really should use a VM for this kind of thing. – Rinzwind Sep 29 '17 at 14:40
  • You start it by startx as mentioned. BUT: the question Rinzwind wants to have cleared first: Are you on the terminal of your server or are you connected remotely to the server? – derHugo Sep 29 '17 at 14:43
  • Ok in your comment below I saw that you connected remotely. This doesn't work like that because the xServer rendering your GUI can not be forwarded just like that through the SSh connection!! Have a search in the Net for "ubuntu forward xserver" – derHugo Sep 29 '17 at 14:46
  • 2
    If you need a graphic interface for your server use a web based solution such as webmin. – Panther Sep 29 '17 at 14:48

1 Answers1

0

It appears that you did not install any display managers, try

sudo apt install lightdm

and try again.

user8292439
  • 3,808