New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

X server do not start in fresh Debian 9 template #2909

Closed
marmarek opened this Issue Jul 14, 2017 · 4 comments

Comments

Projects
None yet
3 participants
@marmarek
Member

marmarek commented Jul 14, 2017

Qubes OS version (e.g., R3.2): R3.2, R4.0

Affected TemplateVMs (e.g., fedora-23, if applicable): debian-9

X server started by qubes-gui-agent in Debian 9 template refuses to start, with this message (~user/.xsession-errors):

/usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server

This applies only to the template built from scratch. Debian 8 template upgraded to Debian 9 works fine.

It's probably about /etc/X11/Xwrapper.config.

@unman

This comment has been minimized.

Show comment
Hide comment
@unman

unman Jul 17, 2017

Member

This isn't a Qubes specific issue.
There are two issues here:
/etc/X11/Xwrapper.config has allowed_users=console. It's necessary to change that to allowed_users=anybody

Also, in /usr/bin/qubes-run-xorg.sh, XORG is set with -logfile. For the life of me I cant get that to work with any logfile - it doesnt seem to be permissions on the location.
I've just removed the logfile parameter. I'll play about a bit more and then put in a PR

Member

unman commented Jul 17, 2017

This isn't a Qubes specific issue.
There are two issues here:
/etc/X11/Xwrapper.config has allowed_users=console. It's necessary to change that to allowed_users=anybody

Also, in /usr/bin/qubes-run-xorg.sh, XORG is set with -logfile. For the life of me I cant get that to work with any logfile - it doesnt seem to be permissions on the location.
I've just removed the logfile parameter. I'll play about a bit more and then put in a PR

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jul 17, 2017

Member

Do we need Xwrapper at all? IIUC it is only necessary if X needs a root access, which isn't the case in Qubes VM. Is it possible to just skip it and launch X directly (as normal user)?

Member

marmarek commented Jul 17, 2017

Do we need Xwrapper at all? IIUC it is only necessary if X needs a root access, which isn't the case in Qubes VM. Is it possible to just skip it and launch X directly (as normal user)?

@mfc

This comment has been minimized.

Show comment
Hide comment
@mfc

mfc Nov 8, 2017

Member

is the other ticket on debian 9 not starting in R4.0rc2 #3229 a dupe of this ticket?

Member

mfc commented Nov 8, 2017

is the other ticket on debian 9 not starting in R4.0rc2 #3229 a dupe of this ticket?

@marmarek

This comment has been minimized.

Show comment
Hide comment

@marmarek marmarek closed this Feb 27, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment