LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   KDE user wants gnome GDM login. (https://www.linuxquestions.org/questions/slackware-14/kde-user-wants-gnome-gdm-login-200792/)

qwijibow 07-03-2004 05:10 PM

KDE user wants gnome GDM login.
 
Hey guys, ive looked at the init script, rc4. and GDM is the first login manager it tries to load, if it does not exist, then it loads KDE.

so i dont need to mess with that.

from the slackware 10 cd, i have installed
gdm
gnomelibs
gnomelibsui

but gdm still fails to load.
i boot into runlevel 3, and give 'init 4' command as root, however i get no error messages, or no error logs to indicate what dependency i am missing.

disk space is preciouse, i dont want to install all of gnome, just the minimum for GDM.

thankyou.

keefaz 07-03-2004 06:08 PM

I would do telinit 4 instead of init 4, and in X, did you try gdmsetup ?

qwijibow 07-03-2004 06:18 PM

Quote:

I would do telinit 4 instead of init 4, and in X, did you try gdmsetup ?
the problem is installing gdm and its dependency's

keefaz 07-03-2004 06:26 PM

do ldd /usr/bin/gdm-binary in this case

qwijibow 07-03-2004 08:31 PM

Quote:

chris@localhost:~$ ldd /usr/bin/gdm-binary
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40029000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40056000)
libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x4006b000)
libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x4032f000)
libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x4039e000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x403b8000)
libm.so.6 => /lib/libm.so.6 (0x403cd000)
libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0x403ef000)
libpangox-1.0.so.0 => /usr/lib/libpangox-1.0.so.0 (0x403f4000)
libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x40400000)
libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x40436000)
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x4046f000)
libdl.so.2 => /lib/libdl.so.2 (0x40473000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x40476000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x404f4000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x405bc000)
libpopt.so.0 => /usr/lib/libpopt.so.0 (0x405cb000)
libXinerama.so.1 => /usr/X11R6/lib/libXinerama.so.1 (0x405d3000)
libc.so.6 => /lib/libc.so.6 (0x405d6000)
libXrandr.so.2 => /usr/X11R6/lib/libXrandr.so.2 (0x40705000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40709000)
libXft.so.2 => /usr/X11R6/lib/libXft.so.2 (0x40711000)
libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40724000)
libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40789000)
libfontconfig.so.1 => /usr/X11R6/lib/libfontconfig.so.1 (0x40791000)
libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x407b8000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libexpat.so.0 => /usr/lib/libexpat.so.0 (0x407dd000)
libz.so.1 => /usr/lib/libz.so.1 (0x407fe000)
man ldd tells me that ive just printed a list of the shared library's that the main binary depends on.
i have all these objects, all in the correct place.
i must be missing a dependency which is not a link library,

gdm works fine when i install the whole gnome section, but this is a disgusting waste of memory.

any ideas ?
gdm does not echo any messages to the console,
and strace does not show any missing files.

any ideas any1 ?

sio 07-03-2004 08:51 PM

Here's a blank shot in the head

you look desperate so what the hell :)

download swaret and do a dep check against the packages you installed, see if it finds anything missing, if it does write the package name ( or names ) down and download & install yourself. I dont trust swaret :) Swaret supposedly keeps a pretty darn good list of what depends on what.

Try it, its fixed a couple things here and there for me when i was doing limited installs.

ringwraith 07-04-2004 12:01 AM

Quote:

Originally posted by sio
download swaret and do a dep check against the packages you installed, see if it finds anything missing, if it does write the package name ( or names ) down and download & install yourself. I dont trust swaret :) Swaret supposedly keeps a pretty darn good list of what depends on what.

I thought Swaret used ldd for dependency checking, the same thing he just did. Is that incorrect?

keefaz 07-04-2004 03:57 AM

What happen if you try to execute the binary : /usr/bin/gdm-binary, is there any output ?

qwijibow 07-04-2004 08:28 AM

it i evexute the binary, it loads.
it apears is the process table, but does nothing, echo's nothing to the console... nothing !

but when gdm runs at X login, X just hangs, waiting for GDM. there is a blank scroon, and the hour-class cursor.

i have to telinit 3, edit /etc/rc.d/rc.4 to load kdm first, instead of gdm, then telinit 4 to login graphically.

sio 07-04-2004 08:28 AM

I was under the impression from someone else that they maintained a list by hand ( that is to say theyd use whatever they can use, not just a single item, to create a dependency list )

sio 07-04-2004 08:34 AM

[If all else fails, be brute]
Of course your other option is to work your way backwards, install all the gnome tgz packages and then remove one by one going backwards. At least you'd figure it out eventually.

theres only 80 packages there, be creative with it, do a full install just to make sure it works from the beggining, then say "oo i think its pretty obvious that I dont need those fourty packages" so remove them and then see if it still works. And so on and so forth.

No its not pretty but you would have probably figured it out by now

qwijibow 07-04-2004 09:34 AM

still not got it working.
its pretty sucky that there is no way other than trial and error to solve packwage dependency's in slack !

oh well.


All times are GMT -5. The time now is 08:15 PM.