I've tried for an hour, but can't seem to get any fix working. Highly
frustrating as I just switched my laptop from Debian to Ubuntu, and now
I have to spend time switching it back again.
Comment #16 seems to misunderstand the bug. Likewise the workaround in
comment #12 might possibly work for
try sudo stratx
--
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:
The workaround is not working :( -
$ sudo setfacl -m u:kodi:rw /dev/tty0 /dev/tty7
setfacl: Option -m: Invalid argument near character 3
$ sudo chmod 0660 /dev/tty*
$
$ startx
...
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
...
Any ideas?
--
I don't know if it is real workaround but if you want to avoid running X
as root you can
1. Go to one of tty1-tty6 and login as a normal user
2. run the server in the same tty you logged in, e.g. for tty6:
xinit /usr/bin/openbox -- :1 vt6
Tested on ubuntu mate 16.04.
--
You received this bug
another workaround:
setfacl -m u:kodi:rw /dev/tty0 /dev/tty7
--
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
I found a simple solution for this issue. Start x server as root and
then start windows manager as regular user.
1. sudo Xorg &
2. export DISPLAY=:0.0
3. bash .xinitrc
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Never mind: if I am reading correctly it seems those commits I mentioned
in #10 are already included upstream and in Ubuntu as well.
--
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:
Two relevant-looking Fedora patches which I haven't tried yet:
http://pkgs.fedoraproject.org/cgit/rpms/xorg-x11-server.git/commit/?h=f22=943ff7334233f04fc2311945822cac537673a493
http://pkgs.fedoraproject.org/cgit/rpms/xorg-x11-server.git/commit/?h=f22=9d0fee062d4fbc0bee08db4fb8461c3d7f9ee0f5
None of workarounds worked for me.
Omg, is there a single thing which 14.04 → 16.04 upgrade didn't break?
Sad to see that distro widely recommended for newbies slowly drowns
under a bunch of architectural, planning, and software problems, which
are hard to fight even for long time users. Perhaps
Hi again.
Seems that my case is connected to my NVIDIA card and this bug:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1525735
The following solved my problem:
sudo apt install xserver-xorg-legacy
In /etc/X11/Xwrapper.config I replaced
allowed_users=console
with
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
** Changed in: xinit (Ubuntu)
Importance: Undecided => High
--
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
There is a workaround. See:
http://kodi.wiki/view/HOW-TO:Autostart_Kodi_for_Linux
Specifically:
5 Add a new systemd script
And everything under it.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
I'm having the same problem. Is their any fix yet available ?
--
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
«sudo chmod 0660 /dev/tty*» worked for me until reboot. Changing
permission in udev rules for tty to 0660 from 0620 could be a temporary
fix.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1562219
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: xinit (Ubuntu)
Status: New => Confirmed
--
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:
Any update on this?
--
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:
17 matches
Mail list logo