Blame SOURCES/tigervnc-xstartup.patch

8b1cd8
diff -up tigervnc-1.3.0/unix/vncserver.xstartup tigervnc-1.3.0/unix/vncserver
8b1cd8
--- tigervnc-1.3.0/unix/vncserver.xstartup	2014-02-10 14:52:39.902673875 +0000
8b1cd8
+++ tigervnc-1.3.0/unix/vncserver	2014-02-10 14:53:30.398847723 +0000
8b1cd8
@@ -59,27 +59,7 @@ $defaultXStartup
8b1cd8
     = ("#!/bin/sh\n\n".
8b1cd8
        "unset SESSION_MANAGER\n".
8b1cd8
        "unset DBUS_SESSION_BUS_ADDRESS\n".
8b1cd8
-       "OS=`uname -s`\n".
8b1cd8
-       "if [ \$OS = 'Linux' ]; then\n".
8b1cd8
-       "  case \"\$WINDOWMANAGER\" in\n".
8b1cd8
-       "    \*gnome\*)\n".
8b1cd8
-       "      if [ -e /etc/SuSE-release ]; then\n".
8b1cd8
-       "        PATH=\$PATH:/opt/gnome/bin\n".
8b1cd8
-       "        export PATH\n".
8b1cd8
-       "      fi\n".
8b1cd8
-       "      ;;\n".
8b1cd8
-       "  esac\n".
8b1cd8
-       "fi\n".
8b1cd8
-       "if [ -x /etc/X11/xinit/xinitrc ]; then\n".
8b1cd8
-       "  exec /etc/X11/xinit/xinitrc\n".
8b1cd8
-       "fi\n".
8b1cd8
-       "if [ -f /etc/X11/xinit/xinitrc ]; then\n".
8b1cd8
-       "  exec sh /etc/X11/xinit/xinitrc\n".
8b1cd8
-       "fi\n".
8b1cd8
-       "[ -r \$HOME/.Xresources ] && xrdb \$HOME/.Xresources\n".
8b1cd8
-       "xsetroot -solid grey\n".
8b1cd8
-       "xterm -geometry 80x24+10+10 -ls -title \"\$VNCDESKTOP Desktop\" &\n".
8b1cd8
-       "twm &\n");
8b1cd8
+       "exec /etc/X11/xinit/xinitrc\n");
8b1cd8
 
8b1cd8
 chop($host = `uname -n`);
8b1cd8