I have a server hosted at a remote data center with Ubuntu 18.04 server installed, the client wanted to login to the server with a GUI, so I installed a desktop manager using
apt install ubuntu-desktop
I rebooted the server, and apparently no GUI has started, I tried running a few apps that require a display but all of them failed to start.
I tried running
startx on the command line (Connected through SSH), but I got this error:
xinit: unable to connect to X server: Connection refused
This was the way I used to install a desktop manager on the previous versions of Ubuntu, and I never ran into any errors.
I requested for a KVM, to see if the system is running the login screen on startup, and it wasn't.
This is what I found in the xorg log file
[ 802.741] (WW) Warning, couldn't open module vesa [ 802.741] (II) UnloadModule: "vesa" [ 802.741] (II) Unloading vesa [ 802.741] (EE) Failed to load module "vesa" (module does not exist, 0) [ 802.741] (==) Matched modesetting as autoconfigured driver 0 [ 802.741] (==) Matched fbdev as autoconfigured driver 1 [ 802.741] (==) Matched vesa as autoconfigured driver 2 [ 802.741] (==) Assigned the driver to the xf86ConfigLayout [ 802.741] (II) LoadModule: "modesetting" [ 802.741] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 802.741] (II) Module modesetting: vendor="X.Org Foundation" [ 802.741] compiled for 1.19.6, module version = 1.19.6 [ 802.741] Module class: X.Org Video Driver [ 802.741] ABI class: X.Org Video Driver, version 23.0 [ 802.741] (II) UnloadModule: "modesetting" [ 802.741] (II) Unloading modesetting [ 802.741] (II) Failed to load module "modesetting" (already loaded, 21889) [ 802.741] (II) LoadModule: "fbdev" [ 802.741] (WW) Warning, couldn't open module fbdev [ 802.741] (II) UnloadModule: "fbdev" [ 802.741] (II) Unloading fbdev [ 802.741] (EE) Failed to load module "fbdev" (module does not exist, 0) [ 802.741] (II) LoadModule: "vesa"
Full Xorg log file can be viewed here: https://pastebin.com/ffKXYrhF I tried multiple suggestions I found online, nothing seemed to work for me, apparently I missed something.
lshw -C display outputs:
*-display UNCLAIMED description: VGA compatible controller product: Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller vendor: Intel Corporation physical id: 2 bus info: pci@0000:00:02.0 version: 09 width: 64 bits clock: 33MHz capabilities: msi pm vga_controller bus_master cap_list configuration: latency=0 resources: memory:f7800000-f7bfffff memory:e0000000-efffffff ioport:f000(size=64) memory:c0000-dffff