Find the answer to your Linux question:
Results 1 to 8 of 8
Hi, I don't know if this is the right place to post this but here goes anyway. System: ASUS Pro50n Laptop Distro: Arch Linux WM/DE: Gnome I've recently installed Arch ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2010
    Posts
    38

    [SOLVED] HAL and DBUS fail to start


    Hi,

    I don't know if this is the right place to post this but here goes anyway.

    System:
    ASUS Pro50n Laptop
    Distro: Arch Linux
    WM/DE: Gnome

    I've recently installed Arch linux with the gnome desktop environment, and everything is working fine apart from HAL and DBUS. I'm not sure why this problem is happening and I have no idea about any settings for HAL and DBUS all I know is what it says in the wiki.

    The problem I have is that HAL and DBUS fail to start. I have tried /etc/rc.d/hal start and get the message BUSY.. then FAIL. I have tried /etc/rc.d/dbus start and get exactly the same. I have tried restart and that also fails.

    *EDIT* I have just tried /etc/rc.d/dbus start again without changing a thing and dbus has started successfully but HAL still fails.

    The further problem, which I think is related to HAL not starting... possibly... Is that I can't watch DVD's / anything in the DVD drive. I can see it in Places >Computer as "CD/DVD Drive: 3_MEN_IN_ANOTHER_BOAT" but when I click to load it or if I open Totem and try and load it all I get is the error: Unable to mount location: Not Authorized. Is this related to HAL or is this a completely different issue?



    *EDIT* fixed the HAL problem, reinstalled xf86-input-evdev package and it seemed to fix the problem. However I am still having a problem with watching DVD's can anyone help with this?


    Thanks,
    Scott.
    Last edited by ScottWilson1990; 01-21-2010 at 01:59 PM. Reason: SOLVED

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Is your user a member of the optical group?

    As root
    Code:
    gpasswd -a <user> optical

  3. #3
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Also, how are you starting GNOME? Are you using GDM?

  4. #4
    Just Joined!
    Join Date
    Jan 2010
    Posts
    38
    Hi Reed,

    My user is part of the optical group, I just added it again just to make sure, but I did it when following the beginners wiki.

    I'm still logging in using the console with startx, havn't got round to setting GDM up yet.


    Problem still persists, anything else anyone can think of?

    Thanks,
    Scott.

  5. #5
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    I do have an idea. When you use GDM as a login manager, it handles connection the consolekit session. From startx, you probably need to include a line to connect to the consolekit session.

    In your ~/.xinitrc file, you should launch gnome as so
    Code:
    exec ck-launch-session gnome-session

  6. #6
    Just Joined!
    Join Date
    Jan 2010
    Posts
    38
    Yes! that works!. Thanks so much Reed.

    What is that line in the ~/.xinitrc doing, is ck-launch-session just telling consolekit-to launch- with gnome-session? or...?


    Thanks again Reed, massive help .
    Scott.

  7. #7
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    What is that line in the ~/.xinitrc doing, is ck-launch-session just telling consolekit-to launch- with gnome-session? or...?
    I can't say I understand consolekit too well. The command attaches a consolekit session to your X session, be it GNOME, XFCE, openbox, or whatever.

    Consolekit is a framework to track users and handle session management.
    The way it works, currently, is that after the login manager (KDM,
    GDM, etc) authenticates a new user it tells ConsoleKit to open a new
    session. CK then generates a globally unique secret cookie and
    returns that to the login manager. The login manager stores that
    cookie in the environment of the new login process as
    XDG_SESSION_COOKIE (GDM 2.17.2 or greater already does this). So,
    membership in this session is defined as knowledge of this cookie.
    This aspect can be considered a replacement for utmp and things like
    pam_console.
    But, not using a login manager, we have to do it ourselves.

  8. #8
    Just Joined!
    Join Date
    Jan 2010
    Posts
    38
    I see, I don't understand why consolekit doesn't automatically do it for startx like it does with GDM, but oh well, at least it works now .

    Changed Title to SOLVED.

    Thanks for all your speedy help Reed,
    Scott.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •