Re: Using garnome GDM 2.4



Mark wrote:

Hi Guys,

Just wondering how I would go about using the GDM that comes inside the garnome tarball. I heard from Jdub there was a previoud thread about this can anybody resend that thread. Is it as easy as compiling it and then pointing your rc.d file to the gdm binary?

Any help would be appreciated.

It is as easy as compiling GDM, setting your rc.d to run it, and ensuring that the environment in which GDM runs is "good enough". To achieve a "good enough" environment you might need to copy all of the startup script (from FAQ page) except for the gnome-session part.

Of course, this is one of the many ways to achieve the same effect (others might be modifying your /etc/ld.so.conf, or having a CVS XFree86 for Xft).

So, you might end with something like this:

GARNOME=/home/mark/garnome
# It is probably neccesary to put the *full* path, since
# $HOME or ~ might not be sane at the time of run
PATH=$GARNOME/bin:$PATH
LD_LIBRARY_PATH=$GARNOME/lib:$LD_LIBRARY_PATH
PYTHONPATH=$GARNOME/lib/python2.2/site-packages
PKG_CONFIG_PATH=$GARNOME/lib/pkgconfig:/usr/lib/pkgconfig
GDK_USE_XFT=1

export PATH LD_LIBRARY_PATH PYTHONPATH PKG_CONFIG_PATH GDK_USE_XFT

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

# this is just gnome-session from GARNOME homepage adjusted for running GDM from init scripts


Hope this helps,
Danilo




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