openbsd-ports/x11/gnome/gdm/patches/patch-data_PreSession_in

13 lines
399 B
Plaintext

$OpenBSD: patch-data_PreSession_in,v 1.5 2014/04/07 16:05:52 ajacoutot Exp $
--- data/PreSession.in.orig Thu Dec 26 16:04:18 2013
+++ data/PreSession.in Thu Dec 26 16:09:50 2013
@@ -7,3 +7,8 @@
# Note that output goes into the .xsession-errors file for easy debugging
#
PATH="@X_PATH@:$PATH"
+
+# /etc/X11/xdm/GiveConsole, fbtab(5)
+if [ -c /dev/drm0 ]; then
+ /sbin/chown $USER /dev/drm0
+fi