Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 658076 | Differences between
and this patch

Collapse All | Expand All

(-)tigervnc-1.8.90.orig/unix/vncserver (-21 / +1 lines)
Lines 63-89 $defaultXStartup Link Here
63
    = ("#!/bin/sh\n\n".
63
    = ("#!/bin/sh\n\n".
64
       "unset SESSION_MANAGER\n".
64
       "unset SESSION_MANAGER\n".
65
       "unset DBUS_SESSION_BUS_ADDRESS\n".
65
       "unset DBUS_SESSION_BUS_ADDRESS\n".
66
       "OS=`uname -s`\n".
66
       "exec /etc/X11/xinit/xinitrc\n");
67
       "if [ \$OS = 'Linux' ]; then\n".
68
       "  case \"\$WINDOWMANAGER\" in\n".
69
       "    \*gnome\*)\n".
70
       "      if [ -e /etc/SuSE-release ]; then\n".
71
       "        PATH=\$PATH:/opt/gnome/bin\n".
72
       "        export PATH\n".
73
       "      fi\n".
74
       "      ;;\n".
75
       "  esac\n".
76
       "fi\n".
77
       "if [ -x /etc/X11/xinit/xinitrc ]; then\n".
78
       "  exec /etc/X11/xinit/xinitrc\n".
79
       "fi\n".
80
       "if [ -f /etc/X11/xinit/xinitrc ]; then\n".
81
       "  exec sh /etc/X11/xinit/xinitrc\n".
82
       "fi\n".
83
       "[ -r \$HOME/.Xresources ] && xrdb \$HOME/.Xresources\n".
84
       "xsetroot -solid grey\n".
85
       "xterm -geometry 80x24+10+10 -ls -title \"\$VNCDESKTOP Desktop\" &\n".
86
       "twm &\n");
87
67
88
$defaultConfig
68
$defaultConfig
89
    = ("## Supported server options to pass to vncserver upon invocation can be listed\n".
69
    = ("## Supported server options to pass to vncserver upon invocation can be listed\n".

Return to bug 658076