2024-02-20 17:03:58 +01:00
|
|
|
Index: tigervnc-1.13.1/unix/vncserver/vncserver.in
|
2023-02-15 18:41:53 +01:00
|
|
|
===================================================================
|
2024-02-20 17:03:58 +01:00
|
|
|
--- tigervnc-1.13.1.orig/unix/vncserver/vncserver.in
|
|
|
|
+++ tigervnc-1.13.1/unix/vncserver/vncserver.in
|
2023-02-15 18:41:53 +01:00
|
|
|
@@ -1,4 +1,4 @@
|
|
|
|
-#!/usr/bin/env perl
|
|
|
|
+#!/usr/bin/perl
|
|
|
|
#
|
|
|
|
# Copyright (C) 2015-2019 Pierre Ossman for Cendio AB
|
|
|
|
# Copyright (C) 2009-2010 D. R. Commander. All Rights Reserved.
|
|
|
|
@@ -439,7 +439,7 @@ sub SanityCheck
|
2022-02-17 15:34:50 +01:00
|
|
|
die "$prog: couldn't find \"$cmd\" on your PATH.\n";
|
|
|
|
}
|
|
|
|
|
|
|
|
- foreach $cmd ("/etc/X11/xinit/Xsession", "/etc/X11/Xsession") {
|
2022-02-17 15:47:43 +01:00
|
|
|
+ foreach $cmd ("/usr/etc/X11/xdm/Xsession", "/etc/X11/xdm/Xsession", "/etc/X11/xinit/Xsession", "/etc/X11/Xsession") {
|
2022-02-17 15:34:50 +01:00
|
|
|
if (-x "$cmd") {
|
|
|
|
$Xsession = $cmd;
|
|
|
|
last;
|