[OpenIndiana-discuss] Problem with VNC on OI 151.

Svavar Örn Eysteinsson svavar at fiton.is
Tue Mar 13 11:01:40 UTC 2012


Hi.

I'm having real trouble with configuring / running VNCserver on OI 151.
I always get a white screen, and no xterm og nothing in it.


My /root/.vnc/xstartup first looked like this (which is the default 
after running vncserver for the first time):

#!/bin/sh

vncconfig -iconic &
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
OS=`uname -s`
if [ $OS = 'Linux' ]; then
   case "$WINDOWMANAGER" in
     *gnome*)
       if [ -e /etc/SuSE-release ]; then
         PATH=$PATH:/opt/gnome/bin
         export PATH
       fi
       ;;
   esac
fi
if [ -x /etc/X11/xinit/xinitrc ]; then
   exec /etc/X11/xinit/xinitrc
fi
if [ -f /etc/X11/xinit/xinitrc ]; then
   exec sh /etc/X11/xinit/xinitrc
fi
if [ -x /etc/gdm/Xsession ] && [ -x /usr/bin/dtstart ] ; then
   exec /etc/gdm/Xsession /usr/bin/dtstart jds
fi
if [ -x /etc/X11/gdm/Xsession ] && [ -x /usr/bin/dtstart ] ; then
   exec /etc/X11/gdm/Xsession /usr/bin/dtstart jds
fi
if [ -x /usr/dt/config/Xsession.jds ]; then
   exec /usr/dt/config/Xsession.jds
fi
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &


I can connect, but only displays white desktop.

I then killed it, and tried these settings as xstartup :

#!/bin/bash
export LANG=en_US.UTF-8
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
gnome-session &


Same story there.

Any Suggestions would be much appreciated.

Thanks allot.

Best regards,

Svavar O
Reykjavik - Iceland




-- 






More information about the OpenIndiana-discuss mailing list