How do you run Ubuntu Server with a GUI Hi guys after a little research I wanted to share an answer too Some more info can be found here https help.Server. GUI. I assume you start with a clean install of Ubuntu Server 1.Ubuntu. Depending on your needs you can do these Minimal GUI sudo apt install xorg.Run the command startx and openbox will start you can open a terminal there and run any application you wantMinimal GUI with display manager sudo apt install xorg.After reboot you will see the lightdm login menu.A more functional minimal desktop environment the one I use sudo apt install xorg.EXPLANATION lxde icon theme is needed for basic iconsthere are alternatives, lxde core and lxde common will install the basic lxde components, policykit 1 andlxpolkit are needed to run pkexec, lxsession logout is needed so that the logout menu works, gvfs backends is needed if you want trash,network,devices etc support at pcmanfm.A full lightweight desktop environment sudo apt install xorg.Then choose one of these sudo apt install no install recommends lubuntu core.ORsudo apt install no install recommends xubuntu core.Trying to run a Ubuntu server for the first time.But everything is in a terminal. Bring Me Back To Life Download Evanescence Going . Is there a way to switch to a GUI Also, the server doesnt have direct access to.OR sudo apt install no install recommends ubuntu mate core.EXPLANATION Each of these metapackages is based on lxde,xfce and mate desktop respectively including dependencies such as alsa, lightdm etc.A full lightweight desktop environment without minding the recommendations Choose one of these sudo apt install lubuntu core.ORsudo apt install xubuntu core.ORsudo apt install ubuntu mate core.EXPLANATION Almost the same as 4 including full xorg installation but with many more packages such as bluetooth, printers, scanner support, different themes and fonts, basic gnome tools etc.A full desktop with all the extras better choose another option Choose one of these sudo apt install lubuntu desktop.ORsudo apt install xubuntu desktop.ORsudo apt install ubuntu mate desktop.How To Install Gnome On Debian Server Software' title='How To Install Gnome On Debian Server Software' />ORsudo apt install ubuntu gnome desktop.ORsudo apt install ubuntu desktop.ORsudo apt install kubuntu desktop.EXPLANATION This will install everything that the live cd of each ubuntu flavor installs that means even the media players or whatever they find useful for their flavor.So, its not recommended option.TIP1 The no install recommended options applies to all dependencies packages recursively so I first install xorg package to make sure all graphic drivers and other packages are installed and so that my system is portable even if I change motherboard or gpu.Some people install only components of xorg but Ive never been able to create a usable system this way.TIP2 If an option you choose installs network manager and network manager gnome then better use it to configure your network and delete everything at etcnetworkinterfaces file except the lo interface in order to avoid conflicts.TIP3 If you need remote desktop via x.I think you also need to add option auth guess and loopso that vnc works before you login and after you logoutTIP4 At options 2 to 6 if you wanna stop lightdm autostarting then run the command sudo systemctl disable lightdm and you can start it whenever you want with sudo systemctl start lightdm.To re enable it run sudo systemctl enable lightdm and check it with systemctl is enabled lightdm sometimes you cant re enable it and the is enabled commands has output static so run sudo apt install reinstall lightdm to fix itTIP5 There is also another option which I left out on purpose.You can install the specific desktop environment metapackage like lxde, xfce.However, you will need more packages than just xorg in most cases and these packages or metapackages might install packages that are not longer preferred by any Ubuntu flavor.For example lxde installs wicd as recommendation when all flavors including lubuntu use network manager and network manager gnome nowadays.To see differences between packages you can search here http packages.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |