summaryrefslogtreecommitdiff
path: root/extra/source/tigervnc/patches/vncserver.xinitrc.diff
blob: ab50602983fc6961583ce6f078799d5b7e5114bd (plain)
1
2
3
4
5
6
7
8
9
10
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;