Jump to content

Garnome + GDM + Mandrake


brucedjones
 Share

Recommended Posts

i recently compiled garnome to use as my default desktop as i could not find any credible gnome 2.8 rpms. and i was wondering how i can set it so that i used GDM from garnome instead of the standard KDM or GDM that comes in the rpms. ie set a config file to use gdm instead of kdm,xdm etc. can anyone help??

Link to comment
Share on other sites

been a while since I played with this stuff but.....

the service is called

/etc/rc.d/init.d/dm

in it you find it calls

/etc/X11/prefdm

which says

# we have to assume that /etc/sysconfig/desktop has two variables, DESKTOP
# and DISPLAYMANAGER because administors may prefer a specific DM regardless
# of desktops.
# DISPLAYMANAGER is referenced by this script, and DESKTOP is referenced
# as system-wide default by /etc/X11/Xsession script only when X-session
# is opened by "startx" command.
# when DMs open an X-session, they send DESKTOP, which is in this case
# directly selected by users, as a commandline argument of /etc/X11/Xsession.
# actually Xsession script is only able to know by existance of its first
# argument whether it is called by DM or "startx". see the logic
# in /etc/X11/Xsession.
# If DISPLAYMANAGER is not defined, then assume that it is the same as DESKTOP

 

so it appears that it's just going to call the binary in /usr/bin, either

/usr/bin/gdm

/usr/bin/gdm-binary

 

So you could rename them while not running, I think

mv -f /usr/bin/gdm /usr/bin/gdmDEF

mv -f /usr/bin/gdm-binary /usr/bin/gdm-binaryDEF

 

and use a symlink to garnome's (example)

ln -s /opt/gnome/usr/bin/gdm /usr/bin/gdm

ln -s /opt/gnome/usr/bin/gdm-binary /usr/bin/gdm-binary

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...