Skip to content

Commit 21d8037

Browse files
committed
Allow preloading without graphics
The service currently times out and later degrades the status of is-system-running, but the GUI would never connect when it is disabled. For: QubesOS/qubes-issues#1512
1 parent 55ce6c0 commit 21d8037

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

appvm-scripts/qubes-gui-agent.service

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ TTYPath=/dev/tty7
99
# custom PATH for X session can be set with ENV_PATH; otherwise service's PATH
1010
# is inherited
1111
#Environment=ENV_PATH=/usr/local/bin:/usr/bin:/bin
12+
ExecCondtion=test "$(qubesdb-read --default=True /qubes-gui-enabled)" == "True"
1213
ExecStartPre=/bin/sh -c /usr/lib/qubes/qubes-gui-agent-pre.sh
1314
ExecStart=/usr/bin/qubes-gui $GUI_OPTS
1415
# clean env

0 commit comments

Comments
 (0)