hey can you help me



Hey I need help settting up script for gdm in my fedora this is what I have right now and it works but it is for kdm how can I fix it to work with gdm

 

--- Start of garnome-session script ---
> #!/bin/sh GARNOME=/home/medric/garnome
> 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
--- End of garnome-session script ---
 
Supposing that you created it on your home directory, you must, at
bash prompt and logged as root, type:
 
cd /home/medric <enter>
chmod a+rx garnome-session <enter>
mv garnome-session /usr/bin/ <enter>
 
<enter> means "press the Enter key".
 
Now you´ve got garnome-session as an executable file and accessible
(the file is in your PATH). Next, we need to change the scripts that
will be readable by your Desktop Manager. This depends on which dm you
are using: If it is kdm, you need to change /etc/X11/dm/Sessions
folder, but gdm has its own set of folders. Let´s consider you are
using kdm: You must, at bash prompt and logged as root, do:
 
cd /etc/X11/dm/Sessions <enter>
cp gnome.desktop garnome.desktop <enter>
sed -e 's/GNOME/GARNOME/g' < gnome.desktop > garnome.desktop.tmp <enter>
sed -e 's/gnome-session/garnome-session/g' <garnome.desktop.tmp >
garnome.desktop <enter>
rm garnome.desktop.tmp <enter>
 

 



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