View previous topic :: View next topic |
Author |
Message |
m_0_r_0_n Tux's lil' helper
Joined: 29 Aug 2006 Posts: 78 Location: Duesseldorf, Germany
|
Posted: Thu Aug 31, 2006 8:42 am Post subject: How to repair inclomplete installations? |
|
|
Hi,
I would like to configure gdm, but gdmsetup cant be found (Desktop->Administration->Login Window) I get the message: "Could not launch menu item. Failed to excute child process 'gdmsetup'. No such file or directory. I think the installation of gnome 2.14.2 is not complete. Is it possible to repair inclomplete installations by checking missings files?
Another problem is a missing module during boot process: hw_random. Is this module important. Any idea how to fix this?
m_0_r_0_n |
|
Back to top |
|
|
mathgeek Tux's lil' helper
Joined: 12 Oct 2004 Posts: 103 Location: Ulm, Germany
|
Posted: Thu Aug 31, 2006 9:08 am Post subject: |
|
|
Hi!
equery from the gentoolkit package can be used to check files, e.g.
Code: | $ equery check gnome-mount |
produces
Code: | [ Checking gnome-base/gnome-mount-0.4-r4 ]
* 37 out of 37 files good
|
Nice tool, especially if you have a running system on one side and a system with problems on the other. If for example libs are missing you can do
Code: | $ equery b missinglib.so.0 |
and see which package brought missinglib.so.0. Or with
Code: | $ equery files yourpackage |
you can see which files belong to a certain package. With this, I once generated a python-tarball on one system for another system. Since all emerges rely heavily on python it is not possible to continue installing (and re-emerging!) stuff with a broken python. So I took all the files from a working system and unpacked it on the broken one. Good thing!
So in your case I have
Code: | $ equery b gdmsetup
[ Searching for file(s) gdmsetup in *... ]
gnome-base/gdm-2.14.9-r1 (/etc/pam.d/gdmsetup)
gnome-base/gdm-2.14.9-r1 (/etc/security/console.apps/gdmsetup)
gnome-base/gdm-2.14.9-r1 (/usr/sbin/gdmsetup)
|
So you might want to try and re-emerge gdm. Or at least check it. _________________ Gentoo can do. |
|
Back to top |
|
|
m_0_r_0_n Tux's lil' helper
Joined: 29 Aug 2006 Posts: 78 Location: Duesseldorf, Germany
|
Posted: Thu Aug 31, 2006 4:57 pm Post subject: |
|
|
Hi,
thanks for your help. There must be another problem. The file gdmsetup does exist in /usr/sbin! Although I ve set /usr/sbin to the path variable in .bashrc of the user, the program cant still be found!? Stil any idea? |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Thu Aug 31, 2006 5:54 pm Post subject: |
|
|
Moved from Installing Gentoo to Desktop Environments.
Sounds like a desktop problem, so moved here. _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
mathgeek Tux's lil' helper
Joined: 12 Oct 2004 Posts: 103 Location: Ulm, Germany
|
Posted: Thu Aug 31, 2006 8:16 pm Post subject: |
|
|
Have you checked if it's executable? On my system it is readable and executable by user, group and others. What size is the file? _________________ Gentoo can do. |
|
Back to top |
|
|
m_0_r_0_n Tux's lil' helper
Joined: 29 Aug 2006 Posts: 78 Location: Duesseldorf, Germany
|
Posted: Fri Sep 01, 2006 8:00 am Post subject: |
|
|
Hi
This file can be found from Desktop->Administration->Boot and I am asked to confirm the root password
1861944 100 -rwxr-xr-x 1 root root 95088 Aug 28 21:24 /usr/bin/boot-admin
This file _can't_ be found from Desktop->Administration->Login Window
1878417 148 -rwxr-xr-x 1 root root 143560 Aug 29 00:45 /usr/sbin/gdmsetup
I ve set /usr/sbin to the path variable in .bashrc
m0r0n@localhost ~ $ echo $PATH
/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i386-pc-linux-gnu/gcc-bin/3.4.4:/opt/ati/bin:/opt/sun-jdk-1.4.2.10/bin:/opt/sun-jdk-1.4.2.10/jre/bin:/opt/sun-jdk-1.4.2.10/jre/javaws:/usr/kde/3.5/bin:/usr/qt/3/bin:/sbin:/usr/sbin:/usr/local/sbin
That's strange, isn' it?
m_0_r_0_n |
|
Back to top |
|
|
m_0_r_0_n Tux's lil' helper
Joined: 29 Aug 2006 Posts: 78 Location: Duesseldorf, Germany
|
Posted: Fri Sep 01, 2006 8:02 am Post subject: |
|
|
I forgot to tell that I am able to call gdmsetup if logged in as root... |
|
Back to top |
|
|
|