I have installed Ubuntu Server 16.04 and on top of it GNOME in a VirtualBox VM. Since I updated the system, I can boot the VM, access the terminal console and log in - but when I run startx
in order to start the graphical GNOME desktop environment, I receive the following error message:
ubuntu@ubuntu:~$ startx
X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.0-45-generic x86_64 Ubuntu
Current Operating System: Linux ubuntu 4.4.0-81-generic #104-Ubuntu SMP Wed Jun 14 08:17:06 UTC 2017 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-81-generic root=UUID=99c624b7-abf7-459e-9f58-a1ffe335794f ro
Build Date: 02 November 2016 10:06:10PM
xorg-server 2:1.18.4-0ubuntu0.2 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.33.6
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/ubuntu/.local/share/xorg/Xorg.0.log", Time: Fri Jun 30 08:18:56 2017
(==) Using default built-in configuration (39 lines)
(EE)
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/home/ubuntu/.local/share/xorg/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Cannot assign requested address
xinit: server error
Couldn't get a file descriptor referring to the console
Among the updates were some kernel packages. Does anyone know how to solve this problem?
sudo apt install gnome
does not install all required components to turn the server into a desktop machine. This link may prove helpfull on detecting and/or installing a display manager: https://askubuntu.com/questions/829108/what-is-gdm3-kdm-lightdm-how-to-install-and-remove-them – Jun 30 '17 at 11:21