blob: 31abf42f57d99e9f6be60923e25e689d4bdfb1f3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- data/PreSession.in.orig 2022-03-21 18:12:40 UTC
+++ data/PreSession.in
@@ -7,3 +7,11 @@ PATH="@X_PATH@:$PATH"
# Note that output goes into the .xsession-errors file for easy debugging
#
PATH="@X_PATH@:$PATH"
+
+# /usr/local/usr/local/usr/local/usr/local/usr/local/usr/local/usr/local/usr/local/usr/local/usr/local/usr/local/etc/X11/xenodm/GiveConsole, fbtab(5)
+if [ -c /dev/dri/card0 ]; then
+ /usr/sbin/chown $USER /dev/dri/card0
+fi
+if [ -c /dev/dri/renderD128 ]; then
+ /usr/sbin/chown $USER /dev/dri/renderD128
+fi
|