> Hi All,
> 
> I'm using a GRP 1.4 install,  and I did an emerge of  tightvnc.
> 
> When I start a vncserver session and then connect remotely via a
> vnc client, I always get the typical X gray background as if twm
> was started.
> 
> My ~/.vnc/xstartup file just contains
> 
>        #!/bin/sh
>        exec /usr/bin/gnome-session &
> 
> I've read several of the Gentoo tutorials on setting up vnc, but most
> replies seem to show many people still have this same issue.
> 
> Any ideas?
> 
> -Shane

Here's a script that's always worked for me:

-------------------
$HOME/.vnc/xstartup
-------------------

#!/bin/bash --login
 
if [ -f "$HOME/.Xresources" ]; then
  /usr/X11R6/bin/xrdb -display $DISPLAY -load "$HOME/.Xresources"
fi
/usr/X11R6/bin/xhost +LOCAL:
/usr/bin/gnome-session -display $DISPLAY 2>.xsession-errors &

-----

Just fire up vncserver and you should be able to connect.

-jrh


--
[EMAIL PROTECTED] mailing list

Reply via email to