summaryrefslogtreecommitdiff
path: root/extra/source/tigervnc/patches/vncserver.xinitrc.diff
diff options
context:
space:
mode:
Diffstat (limited to 'extra/source/tigervnc/patches/vncserver.xinitrc.diff')
-rw-r--r--extra/source/tigervnc/patches/vncserver.xinitrc.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/source/tigervnc/patches/vncserver.xinitrc.diff b/extra/source/tigervnc/patches/vncserver.xinitrc.diff
new file mode 100644
index 00000000..ab506029
--- /dev/null
+++ b/extra/source/tigervnc/patches/vncserver.xinitrc.diff
@@ -0,0 +1,11 @@
+--- ./vncserver.orig 2021-11-22 13:18:49.000000000 -0600
++++ ./vncserver 2021-11-22 13:23:05.128071832 -0600
+@@ -437,7 +437,7 @@
+ die "$prog: couldn't find \"$cmd\" on your PATH.\n";
+ }
+
+- foreach $cmd ("/etc/X11/xinit/Xsession", "/etc/X11/Xsession") {
++ foreach $cmd ("/etc/X11/xinit/Xsession", "/etc/X11/Xsession", "$ENV{HOME}/.vnc/xstartup", "$ENV{HOME}/.xinitrc", "/etc/X11/xinit/xinitrc") {
+ if (-x "$cmd") {
+ $Xsession = $cmd;
+ last;