diff options
author | Jan Psota <jasiupsota@gmail.com> | 2018-08-16 20:46:04 +0200 |
---|---|---|
committer | Jan Psota <jasiupsota@gmail.com> | 2018-08-16 20:46:04 +0200 |
commit | 6cbfd3348bda1e12d471a5cbf612417ebd521f53 (patch) | |
tree | dfd3a97db3ebf154a323ac902c18de718e762914 /net-misc/tigervnc/files/tigervnc-9999-055_xstartup.patch | |
parent | 2018-08-15 12:10:55 UTC (diff) | |
download | bleeding-edge-6cbfd3348bda1e12d471a5cbf612417ebd521f53.tar.gz bleeding-edge-6cbfd3348bda1e12d471a5cbf612417ebd521f53.tar.bz2 bleeding-edge-6cbfd3348bda1e12d471a5cbf612417ebd521f53.zip |
net-misc/tigervnc-9999 missing files added to git
Diffstat (limited to 'net-misc/tigervnc/files/tigervnc-9999-055_xstartup.patch')
-rw-r--r-- | net-misc/tigervnc/files/tigervnc-9999-055_xstartup.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/net-misc/tigervnc/files/tigervnc-9999-055_xstartup.patch b/net-misc/tigervnc/files/tigervnc-9999-055_xstartup.patch new file mode 100644 index 0000000..8b50d8c --- /dev/null +++ b/net-misc/tigervnc/files/tigervnc-9999-055_xstartup.patch @@ -0,0 +1,33 @@ +diff --git a/unix/vncserver b/unix/vncserver +index 9e7a6ac5..fff53bdb 100755 +--- a/unix/vncserver ++++ b/unix/vncserver +@@ -63,27 +63,7 @@ $defaultXStartup + = ("#!/bin/sh\n\n". + "unset SESSION_MANAGER\n". + "unset DBUS_SESSION_BUS_ADDRESS\n". +- "OS=`uname -s`\n". +- "if [ \$OS = 'Linux' ]; then\n". +- " case \"\$WINDOWMANAGER\" in\n". +- " \*gnome\*)\n". +- " if [ -e /etc/SuSE-release ]; then\n". +- " PATH=\$PATH:/opt/gnome/bin\n". +- " export PATH\n". +- " fi\n". +- " ;;\n". +- " esac\n". +- "fi\n". +- "if [ -x /etc/X11/xinit/xinitrc ]; then\n". +- " exec /etc/X11/xinit/xinitrc\n". +- "fi\n". +- "if [ -f /etc/X11/xinit/xinitrc ]; then\n". +- " exec sh /etc/X11/xinit/xinitrc\n". +- "fi\n". +- "[ -r \$HOME/.Xresources ] && xrdb \$HOME/.Xresources\n". +- "xsetroot -solid grey\n". +- "xterm -geometry 80x24+10+10 -ls -title \"\$VNCDESKTOP Desktop\" &\n". +- "twm &\n"); ++ "exec /etc/X11/xinit/xinitrc\n"); + + $defaultConfig + = ("## Supported server options to pass to vncserver upon invocation can be listed\n". |