[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How can I get VNC to start a Gnome session?



On Thu, August 07 at  7:15 AM EDT
stan <stanb@panix.com> wrote:

>I'm trying to set up vnc so that I can access my Debian boxes remotely.
>
>I've figured out that when I start the vncserver script, it uses
>/etc/X11/Xsession to control the "session" it starts.
>
>Problem is that seems to eb a KDE session. Even thoguh I use Gnome. How
>can I convince this mechanisim to start a Gnome session?
>
>I've looked at this mechanism, but I don't understand what file(s) to
>edit to adjust this behavior.

A couple of ideas:
1) what does /etc/alternatives/x-window-manager point to?
2) since /etc/X11/Xsession looks first [1] for $HOME/.xsession , what
does that file contain for your users?

I don't use Gnome but 2 years ago when I did I had something to effect
of:
cat $HOME/xsession
# startup gnome panel when Xstarts
gnome-panel &
#start Gnome 
gnome-wm &

I really don't know the actualy executables - probably you do.  You
might also have to do something about gpm in there.  

HTH,

Shawn Lamson
shawn.lamson@verizon.net

1 - look for the line STARTUP=$HOME/.xsession in /etc/X11/Xsession 



Reply to: