LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-18-2010, 05:33 AM   #1
spoovy
Member
 
Registered: Feb 2010
Location: London, UK
Distribution: Scientific, Ubuntu, Fedora
Posts: 373

Rep: Reputation: 43
X suddenly stopped working - Failed to activate core devices


Booting up this morning, no problem. But I accidentally let my laptop go into suspend mode, which doesn't work, so I had to force a restart (Suspend mode on my laptop won't allow me to wake it up again).

Now, on rebooting, X doesn't work. I usually boot to RL3 then use startx. Now it just flashes the screen then gives me this error -

Code:
(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap
XKB: Failed to compile keymap
Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.

Fatal server error:
Failed to activate core devices.

Please consult the 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.
..and from Xorg.0.log -

Code:
(II) intel(0): Initializing HW Cursor
(II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(==) intel(0): DPMS enabled
(==) intel(0): Intel XvMC decoder enabled
(II) intel(0): Set up textured video
(II) intel(0): Set up overlay video
(II) intel(0): [XvMC] i965_xvmc driver initialized.
(II) intel(0): direct rendering: DRI2 Enabled
(--) RandR disabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) AIGLX: enabled GLX_SGI_make_current_read
(II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
(II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/i965_dri.so
(II) GLX: Initialized DRI2 GL provider for screen 0
(II) intel(0): Setting screen physical size to 338 x 211
(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap
XKB: Failed to compile keymap
Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.

Fatal server error:
Failed to activate core devices.

Please consult the 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.
If I su - to root and then do "init 4", I get to xdm, and I can log in. X then starts, but with no sound, wrong keymaps, launchers not working; all sorts of things wrong.

If I startx as root I get a normal desktop. I have tried copying root's xinitrc to /home/spoovy, but makes no difference.

Seems like a permissions thing, but what? I can't think of anything I changed that might've broken it.

What on earth is going on here?

Thanks in advance

Spoov

Last edited by spoovy; 11-18-2010 at 08:02 AM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 11-18-2010, 07:50 AM   #2
spoovy
Member
 
Registered: Feb 2010
Location: London, UK
Distribution: Scientific, Ubuntu, Fedora
Posts: 373

Original Poster
Rep: Reputation: 43
This problem (or a very similar one it would appear) has cropped up before -

http://www.linuxquestions.org/questi...errors-833887/

It was suggested there that the questioner supply the following info, so I am doing so here -

Code:
root@poppy:/home/spoovy# egrep 'WW|EE' /var/log/Xorg.0.log
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) The directory "/usr/share/fonts/local" does not exist.
(WW) The directory "/usr/share/fonts/CID" does not exist.
(WW) The directory "/usr/share/fonts/local" does not exist.
(WW) The directory "/usr/share/fonts/CID" does not exist.
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loading extension MIT-SCREEN-SAVER

Last edited by spoovy; 11-18-2010 at 07:51 AM.
 
Old 11-18-2010, 08:38 AM   #3
spoovy
Member
 
Registered: Feb 2010
Location: London, UK
Distribution: Scientific, Ubuntu, Fedora
Posts: 373

Original Poster
Rep: Reputation: 43
My mistake, sorry all. Problem was that the / dir was full.

live n learn..
 
Old 12-13-2011, 02:57 PM   #4
Natasha-LQ
LQ Newbie
 
Registered: Dec 2011
Posts: 1

Rep: Reputation: Disabled
X refuses to start

Spoovy wrote, "Problem was that the / dir was full."

Thanks, mate, for posting this! I had the same problem with X refusing to start (on Fedora 14) and it was due to the same problem: a 100% full root.

Even long-time Linux users learn stuff every day.
 
Old 05-07-2013, 11:13 AM   #5
RW84
LQ Newbie
 
Registered: May 2013
Posts: 1

Rep: Reputation: Disabled
Could you elaborate on what you meant by the directory was full? Which directory and how did you clear it? Thanks a lot!
 
Old 05-08-2013, 02:34 PM   #6
Ahau
Member
 
Registered: Jun 2011
Location: USA
Distribution: Porteus, Slackware
Posts: 58

Rep: Reputation: 19
The "root" directory, aka "/", meaning the partition on which the core filesystem was installed. Xorg needs to write data to the drive when it starts up; since the drive was completely full, it failed. This could be remedied by deleting files out of the /tmp directory, assuming /tmp is on the same partition as the root filesystem.
 
Old 08-29-2013, 04:10 AM   #7
NickBorneo
LQ Newbie
 
Registered: Aug 2013
Posts: 2

Rep: Reputation: Disabled
can someone teach me step by step how to delete files out of the /tmp directory? I am newbie to this software and i hope someone can help me with this. Thanks
 
Old 08-29-2013, 07:49 PM   #8
perbh
Member
 
Registered: May 2008
Location: Republic of Texas
Posts: 393

Rep: Reputation: 81
If you are using Slackware, you can solve the problem permanently ...
Code:
# > /etc/rc.d/rc.local_shutdown
# chmod a+rx /etc/rc.d/rc.local_shutdown
# cat <<EOT >/etc/rc.d/rc.local_shutdown
#!/bin/sh
echo ":: cleaning up /tmp ..."
/usr/bin/find -mindepth 1 -maxdepth 1 -print0 | /usr/bin/xargs -r0 /bin/rm -rf
EOT
#
and then reboot ...
 
1 members found this post helpful.
Old 08-29-2013, 08:05 PM   #9
NickBorneo
LQ Newbie
 
Registered: Aug 2013
Posts: 2

Rep: Reputation: Disabled
I'm using ubuntu server.
 
Old 08-29-2013, 10:54 PM   #10
zrdc28
Member
 
Registered: Dec 2007
Location: Alabama USA
Distribution: Slackware current
Posts: 309

Rep: Reputation: 55
cd /tmp when you are inside /tmp "rm file1" "rm file2" etc. minus the quotes.
 
Old 02-24-2019, 04:28 PM   #11
leifnel
LQ Newbie
 
Registered: Feb 2019
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by perbh View Post
If you are using Slackware, you can solve the problem permanently ...
Code:
# > /etc/rc.d/rc.local_shutdown
# chmod a+rx /etc/rc.d/rc.local_shutdown
# cat <<EOT >/etc/rc.d/rc.local_shutdown
#!/bin/sh
echo ":: cleaning up /tmp ..."
/usr/bin/find -mindepth 1 -maxdepth 1 -print0 | /usr/bin/xargs -r0 /bin/rm -rf
EOT
#
and then reboot ...
I know this is a late reply, but this doesn't specify that the find should start in /tmp.

You might end up deleting your entire disk :-(
 
2 members found this post helpful.
Old 02-24-2019, 04:33 PM   #12
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,500

Rep: Reputation: 8452Reputation: 8452Reputation: 8452Reputation: 8452Reputation: 8452Reputation: 8452Reputation: 8452Reputation: 8452Reputation: 8452Reputation: 8452Reputation: 8452
Quote:
Originally Posted by leifnel View Post
I know this is a late reply, but this doesn't specify that the find should start in /tmp.

You might end up deleting your entire disk :-(
Well... this is a valid reason to necropost if I've ever seen one.
 
1 members found this post helpful.
Old 02-24-2019, 04:35 PM   #13
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,781

Rep: Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431Reputation: 4431
Easy Solution - Buy a larger drive and clone your old one while making each partition substantially larger These days even 200GB is tiny and cheap. In fact a quick search had the top hit for a WD Blue 7200rpm 1TB SATA Brand New full size hdd from Amazon for 50bux USD.
 
Old 02-24-2019, 06:12 PM   #14
leifnel
LQ Newbie
 
Registered: Feb 2019
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by enorbet View Post
Easy Solution - Buy a larger drive and clone your old one while making each partition substantially larger These days even 200GB is tiny and cheap. In fact a quick search had the top hit for a WD Blue 7200rpm 1TB SATA Brand New full size hdd from Amazon for 50bux USD.
Welcome to the crypt.

When the disk runs full, You might start by investigating why. It could for instance be a log cleanup failure, in which the problem will just reappear later.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum suddenly stopped working Jolteon Linux - Server 1 08-04-2008 11:49 AM
ALSA suddenly stopped working. Optimistic Debian 14 05-23-2008 11:04 AM
Ethernet suddenly stopped working Cherrycat Linux - Networking 7 04-14-2006 07:50 AM
Sound has stopped working suddenly mrmuckle Linux - General 2 10-15-2005 01:57 PM
Internet suddenly stopped working. figster Linux - Newbie 2 08-29-2005 05:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration