Trying to run a Ubuntu server for the first time... But everything is in a terminal. Is there a way to switch to a GUI? Also, the server doesn't have direct access to the internet... So, is there a way to share it from a laptop?
|
|
There's no specific distribution called “Ubuntu server”, it's all Ubuntu. There are different installation media for Ubuntu desktop and server, but the difference is only in the initial installation program and the set of packages included. The server installation media doesn't install a GUI by default, but it's just a package installation away. To install a desktop environment, you'll need to enable package installation from the Internet (the desktop packages aren't on the server installation CD). The installation program should have done that for you if it found an Internet connection, but apparently it didn't. Then run these commands to install a desktop environment:
You should get a graphical login prompt at that point (I'm not completely sure; if you don't get one, reboot). Once you have a GUI, you should go and enable a few more software sources, at the very least security updates and the universe repository. Click on the Ubuntu button, and search for "Software Sources”, and check the “restricted”, “universe” and “multiverse” boxes (in addition to “main”) in the first tab, and check at least “-security” and “-updates” (and you might as well check the others) in the “Updates” tab. |
|||||||||||||||||
|
|
If you want to administer locally You can install the default Ubuntu desktop by executing the following:
There are many desktop alternatives which you may install and use, like:
Local and or remote administration Except from the above you can administer your server by using a web based solution using less resources: |
|||||||||||||||||||||
|
|
Ubuntu Server never comes with a GUI. All activities that you need to do on a server can to be done through terminal. Even if you download the GUI, you will probably be able to access internet and get online support via forums or through chat. But there are no server / activities management tools for linux as yet which need a GUI for management. If you are looking for some GUI similar to Windows Server, then such GUI does not exist for Ubuntu Server. But you can download a Ubuntu desktop on a server to get the UI...All server related activities will still be required to be done through the terminal. You can download the desktop GUI on the server through the following command... Following are the options
|
|||||||||||||||||||||
|
|
Hi guys after a little research I wanted to share an answer too!
TIP1: The TIP2: If an option you choose installs TIP3: If you need remote desktop via TIP4: At options 2 to 6 if you wanna stop lightdm autostarting then run the command TIP5: There is also another option (which I left out on purpose). You can install the specific desktop environment metapackage like |
||||
|
|
|
The reason why it's called "Server" is because it's lightweight (no GUI or extra packages) to run the machine as lean as you possibly can. Adding a GUI to it defeats the purpose of a Server installation. However, installing as Server then using apt-get install/aptitude install your choice of a desktop can help to weed out unnecessary applications than from doing a direct installation of a Ubuntu Desktop release. If you're going this route, I personally like
EDIT: However, if you're using it as a real "Server" (ftp, web hosting, DNS, etc.), it is highly recommended to learn how to navigate Ubuntu via its shell instead of the GUI. And what UbuntuIngrained said about the necessity of knowing the shell isn't necessarily true. There are packages that install GUIs for different server functions. |
|||||
|
|
Ubuntu server is designed to use minimal resources. A GUI will lead to high resource usage, however if you still want a GUI, you can install only what's required for the default Unity desktop.
Install
Read these guides. |
|||||
|
|
Ubuntu Server has no GUI, but you can install it additionally. Simply login with the user you created during installation and install the Desktop with.
Afterwards type
and you are done. |
|||||||||||||||||||||
|
|
If you look very closely at the official Ubuntu Server Guide. Chapter 6 Remote Administration you will find that the last article would be of extreme interest. Trust me you do not want to install a DeskTop environment on a server, it uses up too many resources up to 50 to 60% if you go bananas and you don't get any benefit to control your server from a GUI standpoint. Read and digest chapter 6.3 Zentyal. That is what you would need. I can't believe I overlooked that myself. So don't be afraid to install it, this is a full blown web interface that my first impression of installing the zentyal-core and zentyal-common was "AWESOME" look no further for anything other than the sanctioned web interface by Ubuntu creators. However looks like this software might cost you money, but if you are serious about using a GUI, I'm sure the fees might be affordable for light use. Not everything in life is free if you want it bad enough. However I am sure home use might be fee free, depends on what services you need. This software comes with lots of modules, I dare say you should only install the ones you need. |
||||
|
|
|
Some of the desktop managers have core-packages, so you can only install the desktop without any applications.
|
||||
|
|
|
Install gnome package via As to the internet thingy: You can set up a bridge or emulate a router. How to do that depends a bit on your hardware. There is a myriad of forum posts and howtos available on that subject. Use Google. Packages of interest: |
|||||||||||||||||
|
|
Gathering from what you are saying I assume you would like one of two things:
Am I correct in this? If it's the first, you should mark this and ask a Moderator to move it the "Ask Different" section, if it's the second you once again have two choices:
|
|||||||||
|
|
||||
|
|
|
The thing is, there is no GUI included with the server edition. You can install and |
|||||
|
protected by Community♦ Jun 18 '15 at 14:47
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?