You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Sunday, August 10th 2008, 1:00pm

Problem Logging in to KDE as non-root user

Hi all....

I installed KDE 3.5.6 and I am able to successfully launch the KDE session when I issue startx from a root session.

I have setup my inittab to start kdm on boot. When I try to login as a normal user , I get stuck at the message saying "Loading Desktop...." There is just a mouse pointer which I can move around. Nothing else happens. I then kill X by ctrl-alt-backspace. This brings me to the console where I can see the following errors in the ~/.xsession-errors file. Can somebody please help me with this ? (I am guessing that this could be a permissions issue. Since the root is able to get to the desktop as cleanly as a whistle). Also , it seems strange that iceauth is not able to find the shared library whereas it clearly eists in a very "popular" location /usr/X11R6/lib. Also , the LD_LIBRARY_PATH has been updated with this path.

I know a lot of you are going to tell me to upgrade to KDE 4 , but I want to first know why I am not able to login as non-root in this case.

Here is the ~/.xsession-errors file:

startkde: Starting up...

/usr/X11R6/bin//iceauth: error while loading shared libraries: libICE.so.6: cannot open shared object file: No such file or directory

ICE Connection rejected!

DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed

ICE Connection rejected!

DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed

DCOPServer self-test failed.

iceauth: error while loading shared libraries: libICE.so.6: cannot open shared object file: No such file or directory

kdeinit: DCOPServer could not be started, aborting.

Warning: connect() failed: : Connection refused

kbuildsycoca running...

kdeinit: Fatal IO error: client killed

kded: Fatal IO error: client killed

klauncher: Exiting on signal 15

kwin: Fatal IO error: client killed

ksmserver: Fatal IO error: client killed

startkde: Shutting down...

Warning: connect() failed: : No such file or directory

Error: Can't contact kdeinit!

2

Sunday, August 10th 2008, 10:14pm

RE: Problem Logging in to KDE as non-root user

my guess you are missing libICE.so.6 reinstall package x11-links if you still get the error then symbolically link ln -s /usr/lib/libICE.so.6.3.0 /usr/lib/libICE.so.6 if its allready there then chmod 755 it in the terminal i could be wrong

3

Monday, August 11th 2008, 5:21am

RE: RE: Problem Logging in to KDE as non-root user

my guess you are missing libICE.so.6 reinstall package x11-links if you still get the error then symbolically link ln -s /usr/lib/libICE.so.6.3.0 /usr/lib/libICE.so.6 if its allready there then chmod 755 it in the terminal i could be wrong


thanks for you reply. I will give it a try. However , I am sure I have libICE.so.6 in the folder /usr/X11R6/lib. I just checked it before sending this post.

And the strange thing is that root can start a KDE desktop by issuing startx from the terminal. In case of root , it does not complain that libICE.so.6 is missing. Will keep you posted.

I hope the KDE experts here can help me out.

4

Monday, August 11th 2008, 7:12pm

SOLVED : Problem logging in to KDE as non-root

Here is how I solved the problem. Thanks to mrhed : :)

Created a symlink to the libs in /usr/X11R6/lib from /usr/lib
As root type the following

# cd /usr/lib
# ln -sv /usr/X11R6/lib/* .


I figured I needed to do this because when I tried to start xterm using a non-root login , xterm was not able to locate libXft.so.2 (pardon me if I have the name of the library wrong , in a hurry to go back to sleep....peacefully

Similar threads