Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 04-07-2010, 10:56 PM   #1
Registered: Sep 2004
Distribution: Slackware-14.0
Posts: 452

Rep: Reputation: Disabled
Has anyone succeeded in running xorg WITHOUT hal?

My old xorg.conf (copied over from 12.1) leaves X without a keyboard or a mouse so that I have to switch the machine off and on again.

I need to run X without hal because I need to be specific about my keyboard as I have modified it.

Hal generates weird devices - 2 keyboards, one AT and the other called "Power Button" (??). I also find it difficult to get good documentation on hal. The man pages aren't helpful.

"X -configure" created an xorg.conf similar to my own - which didn't work.

I really would like to hear from someone who has succeeded in running xorg without hal.

Until then, I'm sticking with 12.1.
Old 04-07-2010, 11:23 PM   #2
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
There are some threads around here about Xorg and HAL (or not-HAL) and I believe at least one of them outlines building X for Slackware without HAL. Right off, I cannot recall the details. Search around a bit and see what you find.

Meanwhile, if you just want to toss HAL out of your devices situation, consider the following for your xorg.conf's "ServerFlags" section:

Section "ServerFlags"
# try one or the other: Xinerama or randr
# as software + drivers improve
    Option         "Xinerama" "True"
#   Next 3 lines: disable HAL input hotplugging:
    Option         "AutoAddDevices" "False"
    Option         "AutoEnableDevices" "False"
    Option         "AllowEmptyInput" "False"
#   Which of the next 2 lines is right? Either of them?
#   Option         "RandR" "True"
#    Option         "RandRRotation" "True"
Those 3 bold lines may well solve your problem, at least for now..


UPDATE -- coincidentally, I just came across this thread you might like:

Last edited by GrapefruiTgirl; 04-08-2010 at 12:24 AM.
1 members found this post helpful.
Old 04-08-2010, 10:43 AM   #3
Registered: Sep 2004
Distribution: Slackware-14.0
Posts: 452

Original Poster
Rep: Reputation: Disabled
Thanks, Sasha!

That plus xorgsetup did the trick

Hal and dbus have now been deactivated - and my keyboard reconfiguration is working.
Old 04-08-2010, 10:50 AM   #4
Didier Spaier
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2 on Lenovo Thinkpad W520
Posts: 7,694

Rep: Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611
There is more than one way to skin a cat.

You could have recompiled xorg-server adding --disable-config-hal to the configure options of the SlackBuild.
1 members found this post helpful.


hal, xorg

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
HAL, Xorg, and Fluxbox on Slackware 13.0 Cotobear Slackware 10 09-02-2009 08:11 PM
xorg.conf and hal conficts: unable to set keyboard or monitor settings. Gustav 4 Slackware 3 08-16-2009 07:01 AM
Kubuntu:8.04.2: HAL running but not functioning properly DarkReverend Linux - Hardware 5 04-25-2009 10:54 AM
Problem running HAL on fresh Slackware 12.1 installation on P1510 olefiver Slackware 3 08-19-2008 04:04 PM
Have You succeeded running World of Warcraft under wine? thanquol Linux - Games 3 08-31-2005 08:20 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:28 PM.

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