Skip to content
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

Do not run X server on sys-gui-gpu #97

Merged
merged 1 commit into from
Jun 6, 2020

Conversation

cytadela8
Copy link
Contributor

On sys-gui-gpu we use lightdm for running X server, but we still need
guivm-gui-agent service

Part of: QubesOS/qubes-issues#2618

@cytadela8 cytadela8 changed the title Do not run any X server on sys-gui-gpu Do not run X server on sys-gui-gpu May 13, 2020
Copy link
Member

@marmarek marmarek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should go even further: do not start qubes-gui-agent service at all if lightdm is started.

@cytadela8
Copy link
Contributor Author

Seems that the qubes-gui-agent service is started despite this condition

@cytadela8
Copy link
Contributor Author

Also reverting the other changes broke gui from vms

@@ -1,6 +1,7 @@
[Unit]
Description=Qubes GUI Agent
After=qubes-meminfo-writer.service qubes-mount-dirs.service
!ConditionPathExists=/var/run/qubes-service/lightdm
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be:

Suggested change
!ConditionPathExists=/var/run/qubes-service/lightdm
ConditionPathExists=!/var/run/qubes-service/lightdm

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!!! I wouldn't have guested this is the problem.

@cytadela8 cytadela8 marked this pull request as ready for review June 3, 2020 00:51
@cytadela8
Copy link
Contributor Author

Tested.

@cytadela8 cytadela8 requested a review from marmarek June 3, 2020 19:57
@marmarek marmarek merged commit 391699c into QubesOS:master Jun 6, 2020
@cytadela8 cytadela8 deleted the sys-gui-gpu branch August 25, 2020 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants