Garnome-2.13.2 with Gdm



I managed to compile the majority of Garnome components on a Debian Sid
distribution. Now I want to test it without changing anything in the
system files, without ever becoming root (although I could, of course).

According to the documentation, I built the following garnome-session
file:

------------------------------------------------------------------------
#!/bin/sh
GARNOME=/reserve/garnome

PATH=$GARNOME/bin:$PATH
LD_LIBRARY_PATH=$GARNOME/lib:$LD_LIBRARY_PATH
PYTHONPATH=$GARNOME/lib/python2.4/site-packages:$GARNOME/lib/python2.4/site-packages/gtk-2.0
PKG_CONFIG_PATH=$GARNOME/lib/pkgconfig:/usr/lib/pkgconfig
GDK_USE_XFT=1
MANPATH=/root/garnome/man:$MANPATH
XDG_DATA_DIRS=$GARNOME/share
XDG_CONFIG_DIRS=$GARNOME/etc/xdg
export PATH LD_LIBRARY_PATH PYTHONPATH PKG_CONFIG_PATH GDK_USE_XFT \
       MANPATH XDG_DATA_DIRS XDG_CONFIG_DIRS

exec $GARNOME/bin/gnome-session
------------------------------------------------------------------------

And I changed my ~/.xsession to look like this:

------------------------------------------------------------------------
#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then
    xrdb -merge $sysresources
fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f $userresources ]; then
    xrdb -merge $userresources
fi

if [ -f $usermodmap ]; then
    xmodmap $usermodmap
fi

exec /home/ol/bin/garnome-session
------------------------------------------------------------------------

Then I start a new session, and tell to Gdm to use the default X
session, which means it must execute ~/.xsession. I get the Garnome
flash image for a little while, then Gdm come backs, and the
~/.xsession-errors file is the following:

------------------------------------------------------------------------
/etc/gdm/PreSession/Default: Registering your session with wtmp and utmp
/etc/gdm/PreSession/Default: running: /usr/X11R6/bin/sessreg -a -w /var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l ":0" "ol"
/etc/gdm/Xsession: Beginning session setup...
SESSION_MANAGER=local/olecarme:/tmp/.ICE-unix/30686
gnome-smproxy: unable to connect to session manager
------------------------------------------------------------------------

I suspect the problem occurs because the version of gdm running is not
the Garnome one. How could I change what gdm is running and respect the
restrictions I stated at the beginning?

-- 


			Olivier Lecarme




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