Jump to content
Havin_it

HELP! kde3.4 b0rked my X - perhaps worse!

Recommended Posts

Hi all,

 

I was installing KDE 3.4 from thac's RPMs (see here for details) and something went badly titsup.

 

After installing the base, later I rebooted and did urpmi --auto-select. That's when things went wrong - or precisely, after the further 500MB of updates when I then rebooted.

 

During boot, I noticed one obviously worrying line:

 

mknod: '/dev/dri/card0': No such file or directory

 

Everything else seems fine (I think) but when X starts, the login box contains not just my user, but all the other system accounts adm, apache, bin and so on - root as well.

 

Trying to login as me (or root), just bounces me back to the same screen. The 'Reboot' and 'Halt' buttons have no response.

 

I can drop to shell, login as either myself or root, and do everything as normal. So I guess it seems like an X-based problem. Oh, and I checked for the /dev/dri/card0 file, and it is there.

 

Can anyone suggest which files I should be looking at to try and repair this?

 

TIA :help:

Share this post


Link to post
Share on other sites

Okay, here goes (same for both commands):

 

Fatal server error:
Server is already active for display 0
   If this server is no longer running, remove /tmp/.X0-lock and start again.

   Please consult the X.Org Foundation support at http://wiki.x.org for help.

 

Then it pauses for ~10sec and:

 

Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
giving up.
xinit: unable to connect to X server
xinit: No such process (errno:3): server error.

 

I also noticed two other things in the initial startup:

 

1) Starting mountd: No Mountpoints Defined

 

2) (This was just before X kicked in so hard to read): something about 'master raw device /dev/rawctl' (I think)

Share this post


Link to post
Share on other sites
Fatal server error:

Server is already active for display 0

  If this server is no longer running, remove /tmp/.X0-lock and start again.

 

Remove the .XO-lock file from /tmp and try again.

Share this post


Link to post
Share on other sites

Results:

 

_XSERVTransSocketINETCreateListener: SocketCreateListener() failed
_XSERVTransMakeAllCOTServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - make sure an X server isn't already running

Please consult the X.Org Foundation support at http://wiki.x.org for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

 

then the same bit as before.

 

I haven't looked at the log yet, but I'll go and do that now.

 

I'm pretty sure X is running, because when I Ctrl+Alt+F1, the shell has the graphical trimmings. Ctrl+Alt+Backspace doesn't have any noticeable effect.

 

The 'Halt' button does actually work now, though. (Great...)

 

What about the login box with all the system users displayed yet? Or the files 'not found'? Any info/ideas about those?

Share this post


Link to post
Share on other sites

Here's the (WW) and (EE) entries from Xorg.0.log:

 

	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) Option "XkbOptions" requires an string value
(WW) Open APM failed (/dev/apm_bios) (No such file or directory)
(WW) LoadModule: given non-canonical module name "/usr/X11R6/lib/modules/extensions/libglx.a"
(EE) Failed to load module "/usr/X11R6/lib/modules/extensions/libglx.a" (once-only module, 136034243)
(WW) I810(0): Primary Pipe is B, switching off second monitor (0x800)
(WW) I810(0): Failed to set up write-combining range (0xe8000000,0x8000000)
(WW) Option "XkbOptions" requires an string value
(WW) I810(0): Setting the original video mode instead of restoring
(WW) I810(0): Successfully set original devices
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.

 

Means nowt to me. Is X really the problem here? Where is the conf for the login dialog, for instance?

Edited by Havin_it

Share this post


Link to post
Share on other sites
Everything else seems fine (I think) but when X starts, the login box contains not just my user, but all the other system accounts adm, apache, bin and so on - root as well.

 

Trying to login as me (or root), just bounces me back to the same screen. The 'Reboot' and 'Halt' buttons have no response.

 

I can drop to shell, login as either myself or root, and do everything as normal.

 

 

I am having this problem. If anyone could please provide some help I'd totally appreciate it.

Share this post


Link to post
Share on other sites
Can you tell us a bit about what system you're running, and any changes you made just prior to this catastrophe?

 

Well, I freshly installed Mandrake 10.1 (free DVD iso).

 

Then, I added thac's URPMI database (along with his dependencies).

 

Then, I ran urpmi kdebase (which successfully installed KDE 3.4 base).

 

So, I CTRL-ALT-BSPC out of KDE to restart it (only, it didn't restart, it exited straight to the shell).

 

Thereafter, any time I try and enter KDE from boot, the graphical login screen shows all users (including root and @root). Also, when attempting to login, the screen resets back to itself (the graphical login screen) 4 times, and then I fall back into SHELL. From there, I can login and startx successfuly.

 

EDIT I meant I fall back into SHELL, not X

Edited by joe1031

Share this post


Link to post
Share on other sites

Type ctr-alt-f7 to see if a x session is running. Else login as root and type: killall X. If that doesn't work try: startx -- :1 That will start x on the second screen (ctr-alt-f8)

Share this post


Link to post
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...

×
×
  • Create New...