After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772319 - Maked GDM compatible with Qubes-OS
Maked GDM compatible with Qubes-OS
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2016-10-01 23:40 UTC by Greg
Modified: 2016-10-12 17:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
configure: use /usr/bin/X instead of /usr/bin/Xorg by default (3.88 KB, patch)
2016-10-04 15:17 UTC, Ray Strode [halfline]
committed Details | Review

Description Greg 2016-10-01 23:40:45 UTC
I'd like to use Gnome on Qubes-OS, but Gnome GDM does not obey standards and so cannot be used.

Per the Qubes-OS website (https://www.qubes-os.org/doc/devel-faq/): 
Qubes requires KDM (KDE Login Manager), rather than GDM, for the very simple reason that GDM doesn’t obey standards and start /usr/bin/Xorg instead of /usr/bin/X. This is important for Qubes, because we need to load a special “X wrapper” (to make it possible to use Linux usermode shared memory to access Xen shared memory pages in our App Viewers – see the sources here). So, Qubes makes the /usr/bin/X to be a symlink to the Qubes X Wrapper, which, in turn, executes the /usr/bin/Xorg. This works well with KDM (and would probably also work with other X login managers), but not with GDM. If somebody succeeded in makeing GDM to execute /usr/bin/X instead of /usr/bin/Xorg, we would love to hear about it!
Comment 1 Ray Strode [halfline] 2016-10-04 15:14:08 UTC
What standard is that?  AFAIK, the /usr/bin/X symlink exists for historical reasons and backward compatibility (IIRC, back in the XFree86 days there were multiple X binaries, and you'd need need to pick the one that worked with your video card)

Still, I'd take a patch to make GDM use the symlink.
Comment 2 Ray Strode [halfline] 2016-10-04 15:17:05 UTC
Created attachment 336906 [details] [review]
configure: use /usr/bin/X instead of /usr/bin/Xorg by default
Comment 3 Ray Strode [halfline] 2016-10-04 15:17:34 UTC
probably this patch would work ^ but i haven't tried it yet.
Comment 4 Ray Strode [halfline] 2016-10-12 17:56:40 UTC
Attachment 336906 [details] pushed as 1c1a697 - configure: use /usr/bin/X instead of /usr/bin/Xorg by default