LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 07-11-2007, 10:19 PM   #1
badfrog
LQ Newbie
 
Registered: Jul 2007
Location: Louisville, KY
Distribution: Slackware, Debian and LFS (soon!)
Posts: 14

Rep: Reputation: 0
Lost my XFCE desktop on Slack 12


Just installed Slack 12 yesterday, was messing around with getting ALSA configured and needed something to test sound with, so I popped in a DVD that containing some AVI versions of a popular sci-fi TV show. XFCE detected the DVD in the drive and put a "New Disc" icon on my desktop. I double-clicked it and got an error message that "A security policy in place prevents this sender from sending this message to the recipient, see message bus configuration file (rejected message had interface "org.freedesktop.Hal.Device.Volume"..." and I'm not sure of the rest

Since I'm not logged into X as root, I figured this to be a permission problem. So, I (while still in X, which was maybe a mistake, read on) opened up /etc/dbus-1/system.d/hal.conf and changed 'plugdev' to 'users' in the below section:

Code:
  <!-- Allow members of the 'plugdev' group to mount volumes -->
  <policy group="users">
    <allow send_interface="org.freedesktop.Hal.Device.Volume"/>
    <allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/>
  </policy>
Saved the file off somewhere, then su-ed, made a backup of the original and copied the changed file to /etc/dbus-1/system.d/hal.conf. As soon as I did this, all windows (except Firefox, oddly enough) in my XFCE session closed, my XFCE desktop went from the default blue to black, and all the icons on it disappeared. The right-click application menu wouldn't appear either.

Figuring this to be bad, I did the Ctrl-Alt-Bksp thing, then completely logged out of X and restarted. Same problem.

I logged out of X again and from a console su-ed and replaced the modified hal.conf with the original. No good.

Next, I figured maybe the udev daemon needed to be restarted, so I did a kill -HUP on it.

Now I'm posting here from XFCE with my black, icon-less, application menu-less desktop wondering how in the world I could have broken things so badly (I was being so careful, dammit!), and wondering what else I could try to fix them?

Help!
 
Old 07-11-2007, 10:36 PM   #2
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Have you tried changing it back?

Probably an obvious questions.
 
Old 07-11-2007, 10:37 PM   #3
Ilgar
Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware 14.1, Slackware64 14.1
Posts: 923

Rep: Reputation: 93
I don't know exactly what is wrong but maybe reinstalling the relevant packages will help...
 
Old 07-11-2007, 10:42 PM   #4
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Might want to change that back.

Then add plugdev to users instead. Look at this thread:
http://www.linuxquestions.org/questi...d.php?t=566862
 
Old 07-12-2007, 06:58 AM   #5
pete_bogg
Member
 
Registered: Aug 2003
Location: Kentucky
Distribution: Ubuntu 9.10
Posts: 153

Rep: Reputation: 30
I have not lost my xfce desktop, but I have lost my panels a few times. That was on a clean install of Slackware 12.
 
Old 07-12-2007, 09:10 AM   #6
badfrog
LQ Newbie
 
Registered: Jul 2007
Location: Louisville, KY
Distribution: Slackware, Debian and LFS (soon!)
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Hern_28
Probably an obvious questions.
Of course I changed it back. I actually made a copy of the file before I edited it just in case I screwed it up in the process. /me no idiot "Restoring" that backup copy didn't help any.

Quote:
Originally Posted by Hern_28
Then add plugdev to users instead. Look at this thread:
Taking a look, but since hal.conf is back to it's default state and stuff is still broken, I dunno. That's probably the way I should have attacked it in the first place though, so thanks for the suggestion

Quote:
Originally Posted by Ilgar
I don't know exactly what is wrong but maybe reinstalling the relevant packages will help...
Blarg. Hope it doesn't come to that. Strikes me as a Windows solution -- Broke it? Re-install it!

Quote:
Originally Posted by pete_bogg
I have not lost my xfce desktop, but I have lost my panels a few times.
Panels are fine, it's just the desktop (xfdesktop?) is gone. Hasn't occurred to me to see if it's a running process or not while I'm in X... I'll check that later when I get home.
 
Old 07-12-2007, 09:30 AM   #7
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Ruhr Area, Germany
Distribution: Slackware64 14.0
Posts: 1,517

Rep: Reputation: 90
You could try to remove the xfce4 cache. Take a look in ~/.cache or remove that completely.

I'm not sure if I understood your post above completely, especially the part about plugdev group. You SHOULD add the user to groups "plugdev" AND "cdrom" as it is covered in the linked thread.
 
Old 07-12-2007, 07:12 PM   #8
badfrog
LQ Newbie
 
Registered: Jul 2007
Location: Louisville, KY
Distribution: Slackware, Debian and LFS (soon!)
Posts: 14

Original Poster
Rep: Reputation: 0
Odd.. xfdesktop was not running. From a console I did xfdesktop & and got a warning message from Thunar about not having permission to contact Hal (can't recall the exact message, didn't save it unfortunately). My desktop came back. Logged out of X and back in and the desktop is still there, so the immediate problem is solved, but I don't know the cause. Now to work on groups
 
Old 07-12-2007, 07:26 PM   #9
badfrog
LQ Newbie
 
Registered: Jul 2007
Location: Louisville, KY
Distribution: Slackware, Debian and LFS (soon!)
Posts: 14

Original Poster
Rep: Reputation: 0
argh. Now I seem to have broken the automount for the CD and DVD drives. I don't get the nice desktop icon when I insert a DVD and it doesn't appear under /media or /mnt. That is all the dvd* folders there are empty...

Again, hal.conf is *exactly* as it was when slack was installed... is there a log file somewhere I should be looking at?
 
Old 07-12-2007, 07:57 PM   #10
badfrog
LQ Newbie
 
Registered: Jul 2007
Location: Louisville, KY
Distribution: Slackware, Debian and LFS (soon!)
Posts: 14

Original Poster
Rep: Reputation: 0
Sorry to spam my own thread, but I added myself to the plugdev group:

bash-3.1# groups lamont
users plugdev

I still do not have any sort of auto-mounting, like I did once, just once, last night.

I get this warning message from xfdesktop:
** (xfdesktop:13013): WARNING **: Unable to initialise D-Bus. Some xfdesktop features may be unavailable.

(xfdesktop:13013): thunar-vfs-WARNING **: Failed to connect to the HAL daemon: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused

EDIT --
I don't think this is a permission issue. doing xfdesktop & as root gives me the same connection refused error:

(xfdesktop:13013): thunar-vfs-WARNING **: Failed to connect to the HAL daemon: Failed to connect to socket /var/run/dbus/system_bus_socket: Connection refused

Last edited by badfrog; 07-12-2007 at 08:00 PM.
 
Old 07-12-2007, 08:10 PM   #11
rworkman
Slackware Contributor
 
Registered: Oct 2004
Location: Tuscaloosa, Alabama (USA)
Distribution: Slackware
Posts: 1,913

Rep: Reputation: Disabled
The messagebus service does not appear to be running. Start/restart it.
 
  


Reply

Tags
udev


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
Lost menu Xfce Taigrr Linux - Newbie 4 02-03-2006 05:26 PM
Lost my penguin and XFCE lydgate Slackware 3 06-17-2005 04:25 PM
uninstalling xfce 4.0.6 (slack 10.0) zeos386sx Slackware 3 10-31-2004 04:20 PM
Is XFCE in slack 9.1 corrupt? vdogvictor Slackware 12 05-30-2004 05:17 PM
Slack 9.1 XFce Error drspangle Slackware 11 01-04-2004 03:48 PM


All times are GMT -5. The time now is 10:31 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration