Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upQubes gui daemon doesn't work with startx #2195
Comments
andrewdavidwong
added
the
C: desktop-linux
label
Jul 23, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 24, 2016
Member
I don't really see why you'd want to disable graphical login manager just to start X right after login from text console...
But if you really like, feel free to send a patch (pull request). Make sure to adjust all the places:
[user@devel builder]$ make grep 'shm\.id'
qubes-src/core-admin/core-modules/000QubesVm.py: elif not os.path.exists('/var/run/shm.id'):
qubes-src/core-admin/core-modules/01QubesDisposableVm.py: if kwargs.get('start_guid', True) and os.path.exists('/var/run/shm.id'):
qubes-src/core-admin/core-modules/01QubesDisposableVm.py: if kwargs.get('start_guid', True) and os.path.exists('/var/run/shm.id'):
qubes-src/gui-daemon/gui-daemon/xside.c: f = fopen("/var/run/shm.id", "r");
qubes-src/gui-daemon/gui-daemon/xside.c: "Missing /var/run/shm.id; run X with preloaded shmoverride\n");
qubes-src/gui-daemon/gui-daemon/xside.c: "Invalid or stale shm id 0x%x in /var/run/shm.id\n",
qubes-src/gui-daemon/gui-daemon/xside.h: uint32_t cmd_shmid; /* shared memory id - received from shmoverride.so through shm.id file */
qubes-src/gui-daemon/shmoverride/README:(cmd_pages) and writes its shmid to /var/run/shm.id. All instances of
qubes-src/gui-daemon/shmoverride/shmoverride.c:#define SHMID_FILENAME "/var/run/shm.id"
|
I don't really see why you'd want to disable graphical login manager just to start X right after login from text console... But if you really like, feel free to send a patch (pull request). Make sure to adjust all the places:
|
andrewdavidwong
added
enhancement
help wanted
P: minor
labels
Jul 24, 2016
andrewdavidwong
added this to the Far in the future milestone
Jul 24, 2016
This was referenced Jul 26, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Jul 27, 2016
Member
Thanks!
Since we want to release R3.2-rc2 today, it is too late for have it here. But if it will not be the final version (so there will be rc3), we can include it there.
|
Thanks! |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Is this ready to be merged? |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Nov 11, 2016
Member
Just merged to master - will be in R4.0. But will not be backported to R3.2.
|
Just merged to master - will be in R4.0. But will not be backported to R3.2. |
jaspertron commentedJul 23, 2016
Disabling lightdm and using startx instead causes the gui daemon to fail because
usercan't create/var/run/shm.id:Would it make sense to use something like
/var/run/qubes/shm.idinstead?