Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

login successful,but fallback in loginscreen

Status
Not open for further replies.

gosuc2000

Technical User
Joined
Jun 2, 2004
Messages
59
Location
DE
Hello List,

I don't know too much about KDE and aparently have a problem with it.

When I login as root, the authentication is successfull, but when I expect the start of the KDE-Desktop, the loginscreen shortly switches off ends up in the loginscreen
again.
I run SUSE 9.0 and KDE3.
In /var/log/messages i read:

kdm[1910]: pam_unix2: session started for user root, service xdm

resmgr[1056]: accepted connection from user root
resmgr[1056]: disconnect from root

I do not have these problems when I don't login as root.
I have checked /etc/X11/xdm/xdm-errors (a link to /var/log/xdm.errors which just doesn't exist)

I cant't think of another logfile to check for.

As I do need to login as root, I need to fix this problem
and apreciate any help very much.

Thanks in advance.


Regards,

Fred
 
You need to use a different xdisplay probably:
As root from a different tty, not an xsession.
Code:
startx -- :1
 
some aditional info:

i went down to runlevel 3. From there I tried "startx" as
guest, and it worked. When I did the same as root, the screen turned dark for about 1 sec. and came back to
the text-screen.
The significant printout from the console was as follows:
......
......
Module Loader present
Markers:(--)probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW)warning, (EE) error, (NI) not implemented, (??)unknown


(==) Logfile:"/var/log/XFree86.0.log", Time: ......
(==) Using config file: "/etc/X11/XF86Config"

Could not init font path element /usr/X11R6/lib/X11/fonts/local, removing from list

Could not init font path element /usr/X11R6/lib/X11/fonts/kwintv, removing from list

Could not init font path element /usr/X11R6/lib/X11/fonts/CID, removing from list


What the heck might be the problem ?
 
... I forget to mention:

to start the x-server with startx --:1 produced the same result ....
 
Try xinit -- :1 if you have another x session open for
a regular user. That should give you a bare bones X with
an xterm. Try invoking your window manager from that.
 
I finally got it !!


I compared the home-directories from the guest-homedirectory and the root home-directory.
For some reason, there was an .xinitrc - file with the length of 0 in the root's homedirectory. After renaming this file for a test , the problem was solved.

Anyway, I've learned something from what you suggested, marsd.

Thankyou for your rapid response.

Regards,

Fred
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top