slackware-current/extra/source/tigervnc/patches/vncserver.xinitrc.diff
Patrick J Volkerding ef001ab523 Mon Nov 22 19:52:11 UTC 2021
l/imagemagick-7.1.0_16-x86_64-1.txz:  Upgraded.
l/python-Jinja2-3.0.3-x86_64-1.txz:  Added.
  Added missing dependency of kapidox.
l/python-MarkupSafe-2.0.1-x86_64-1.txz:  Added.
  Added missing dependency of Mako.
l/python-PyYAML-6.0-x86_64-1.txz:  Added.
  Added missing dependency of kapidox.
l/python-doxypypy-0.8.8.6-x86_64-1.txz:  Added.
  Added missing dependency of kapidox.
l/python-doxyqml-0.5.1-x86_64-1.txz:  Added.
  Added missing dependency of kapidox.
l/python-pbr-5.8.0-x86_64-1.txz:  Added.
  Added missing dependency of python-pysol_cards.
extra/tigervnc/tigervnc-1.12.0-x86_64-2.txz:  Rebuilt.
  Use the upstream vncserver script, patched to search in some additional
  locations for a startup script: $HOME/.vnc/xstartup, $HOME/.xinitrc, and
  /etc/X11/xinit/xinitrc.
  Add a symlink for vncserver in the old location (/usr/bin/vncserver).
  Thanks to 0XBF.
2021-11-23 08:59:58 +01:00

11 lines
484 B
Diff

--- ./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;