I am affected by the same bug, although the X error message is slightly
different ("parse_vt_settings: Cannot open /dev/tty0" instead of
"xf86OpenConsole: " ...)

In /etc/X11/Xwrapper.config I have tried to replaced

allowed_users=console

with

allowed_users=anybody

and in this file I also tried the option

need_root_rights = yes

but both attempts had no visible consequences.


I have looked at the workaround for koda posted above, but I am unable to 
extract the bits that may make it help in my case. Perhaps someone can give 
suggestions to me based on the posted workaround. The program I want to run in 
its own Xserver is a game, so all the systemd stuff in the workaround is not 
that relevant to me. Although my knowledge of X is very limited, I'd love to 
contribute with some testing as far as I can go. Thanks for your time and 
efforts /Mikkel.

mikr@scrat:~/bin$ xinit /home/mikr/bin/WoWrun64 -- :1 -br
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-86-generic x86_64 Ubuntu
Current Operating System: Linux scrat 4.4.0-24-generic #43-Ubuntu SMP Wed Jun 8 
19:27:37 UTC 2016 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.0-24-generic 
root=UUID=1346e355-5120-4563-9e27-28d965d357f4 ro quiet splash
Build Date: 18 May 2016  01:07:07AM
xorg-server 2:1.18.3-1ubuntu2.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/mikr/.local/share/xorg/Xorg.1.log", Time: Fri Jun 24 
19:10:21 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/mikr/.local/share/xorg/Xorg.1.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


** Attachment added: "bug.apport output"
   
https://bugs.launchpad.net/ubuntu/+source/xinit/+bug/1562219/+attachment/4689882/+files/bug.apport

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1562219

Title:
  xinit will not work as non-root.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xinit/+bug/1562219/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to