LinuxQuestions.org
Help answer threads with 0 replies.
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 01-17-2011, 06:16 PM   #1
kja_007700
LQ Newbie
 
Registered: Jan 2010
Posts: 25

Rep: Reputation: 0
Remove HAL and D-BUS from X?


Hello

I have installed Slackware 13.1 on my workstation. I do not want anything to do with HAL or D-BUS, and the first component i found out depends on this is the X Window System. I know the version of X Window System in slackware-current does not need these components. Is it possible to use the X components from slackware-current, and all other packages from Slackware 13.1? or is there a better way?

Any ideas are very appreciated.
 
Old 01-17-2011, 06:18 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
you can always build your own X Window packages using -Current's SlackBuild
 
Old 01-17-2011, 07:13 PM   #3
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 998

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
X11 in Slackware 13.1 will run without HAL if you add the following lines to your /etc/X11/xorg.conf:

Section "ServerFlags"
Option "AllowEmptyInput" "false"
Option "AutoAddDevices" "false"
Option "AutoEnableDevices" "false"
EndSection

Ed
 
Old 01-17-2011, 09:17 PM   #4
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
To further clarify:

You need to have a fully defined xorg.conf in addition to the above lines.

Also, some components of KDE and XFCE my need HAL or D-BUS... but I'm sure it's only the automount portions.
 
Old 01-18-2011, 08:38 AM   #5
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
DBus is pretty much ubiquitous these days - you're not going to have much luck trying to get along without it.
 
Old 01-18-2011, 07:53 PM   #6
kja_007700
LQ Newbie
 
Registered: Jan 2010
Posts: 25

Original Poster
Rep: Reputation: 0
I have located the X11 SlackBuild on the Slackware 13.1 DVD and copied this to my home folder, then i added --disable-config-hal to xorg-server in the configure directory. Then i ran the SlackBuild a couple of times and installed the required dependencies, finally a package named xorg-server-1.7.7-i486.1.txz was found in /tmp/x11-build/, this package was installed with installpkg and after shifting to runlevel 4, xdm was loaded without complaining about missing HAL libraries.

This almost seems to easy, could i have been missing something important and created a security problem? I found a post talking about exporting PKG_CONFIG_LIBDIR=/dev/null before compiling Xorg, i did not do that, should i have done that?

I am very new to Slackware and i try to find and read as much documentation as possible, but i have not found much on this area.
 
Old 01-18-2011, 08:04 PM   #7
kja_007700
LQ Newbie
 
Registered: Jan 2010
Posts: 25

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by rworkman View Post
DBus is pretty much ubiquitous these days - you're not going to have much luck trying to get along without it.
So far as i understand, DBus is an IPC system used for communication between applications and make devices plugged into the machines automatically available for the user. I am not sure about the first, but i do absolute not want any devices made automatically available for me. If a insert a DVD or a USB drive i want to mount it using the mount command as it have been done for years.
 
Old 01-18-2011, 08:06 PM   #8
kja_007700
LQ Newbie
 
Registered: Jan 2010
Posts: 25

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lumak View Post
To further clarify:

You need to have a fully defined xorg.conf in addition to the above lines.

Also, some components of KDE and XFCE my need HAL or D-BUS... but I'm sure it's only the automount portions.
I do not use KDE or XFCE as they are too heavy for my taste.
 
Old 01-18-2011, 10:55 PM   #9
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 2,559

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
Quote:
Originally Posted by kja_007700 View Post
So far as i understand, DBus is an IPC system used for communication between applications and make devices plugged into the machines automatically available for the user. I am not sure about the first, but i do absolute not want any devices made automatically available for me. If a insert a DVD or a USB drive i want to mount it using the mount command as it have been done for years.
DBus is used by other parts of the system to do lots of things, and one of them happens to be automounting. Throw out HAL if that's what you wish, but you gain nothing by throwing out DBus.
 
  


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
Dbus System bus and Session bus mainloops deimus Linux - Distributions 0 08-20-2010 06:49 AM
HAL Failed at boot on Mandrivel 2009.0. Error: Session D-Bus not accessible. HELP! Wendy-G Linux - Newbie 6 02-06-2009 11:34 PM
mount cd audio with hal, d-bus, pmount and cdfs nicostcado Linux - Software 2 12-16-2008 07:58 AM
D-Bus, Avahi and HAL fail to start after installing oss arrowed Linux - General 1 05-17-2008 11:09 AM
HAL/D-Bus and mounting manually Nylex Slackware 5 07-07-2007 06:15 PM

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

All times are GMT -5. The time now is 07:11 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