PDA

View Full Version : [ubuntu] 16.04 Server X11 unable to open display ":0"



crizzis2
April 25th, 2016, 09:32 AM
hi, i installed 16.04 server.
sudo apt-get install xorg
sudo apt-get install wmctrl
sudo apt-get install chromium-browser
sudo apt-get install libexif-dev

export DISPLAY=:0
starting xhost +
or chromium-browser terminates with error

unable to open display ":0"


in 14.04. there was the /etc/X11/Xwarapper.config
This is not available in 16.04

kik@kiosk2016:~$ startx
xauth: timeout in locking authority file /home/kik/.Xauthority
xauth: timeout in locking authority file /home/kik/.Xauthority



starting x in user mode throws following error:
X.Org X Server 1.18.3
Release Date: 2016-04-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.13.0-85-generic i686 Ubuntu
Current Operating System: Linux kiosk2016 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:34:49 UTC 2016 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-21-generic root=/dev/sda3 ro biosdevname=0 biosdevname=0
Build Date: 07 April 2016 09:18:48AM
xorg-server 2:1.18.3-1ubuntu2 (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/kik/.local/share/xorg/Xorg.0.log", Time: Tue Apr 26 09:21:03 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
(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/kik/.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: Connection refused
xinit: server error
xauth: timeout in locking authority file /home/kik/.Xauthority
Konnte keinen Dateideskriptor finden, der auf die Konsole verweist.


startingx as root works