1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

can't startx

Discussion in 'GNOME' started by goro, Dec 16, 2009.

  1. goro

    goro New Member

    Messages:
    16
    Thanks Received:
    0
    Code:
    $ startx
    *******
    Killed
    gnome-session[1385]: WARNING: Could not connect to Consolekit:Failed to connect to socket /var/run/dbus/system_bus_socket:NO such file or directory
    
    gnome-session[1385]:CRITICAL:dbus_g_connection_get_conection:assertion 'gconnection' failed
    
    letters...................................................................................................................................
    
    xauth:(argv):1: bad display name ' :0' in 'remove' command


    some help?
     
  2. LateNiteTV

    LateNiteTV New Member

    Messages:
    391
    Thanks Received:
    24
    do you have
    Code:
    dbus_enable="YES"

    in /etc/rc.conf?
     
  3. DutchDaemon

    DutchDaemon Administrator Staff Member Administrator Moderator

    Messages:
    10,767
    Thanks Received:
    1,872
  4. goro

    goro New Member

    Messages:
    16
    Thanks Received:
    0
  5. DutchDaemon

    DutchDaemon Administrator Staff Member Administrator Moderator

    Messages:
    10,767
    Thanks Received:
    1,872
    Assuming that solved it then?
     
  6. goro

    goro New Member

    Messages:
    16
    Thanks Received:
    0
    hi there!

    yeah! but now it is IMPOSSIBLEto get 'root' even in safe mode:when i type root passw ... i get in desktop

    i think should reinstall and to add user to wheel group...
     
  7. goro

    goro New Member

    Messages:
    16
    Thanks Received:
    0
    (please correct this posts)

    by the way...i can't shutdown normally gnome...just with the buttom!
     
  8. SirDice

    SirDice Moderator Staff Member Moderator

    Messages:
    17,630
    Thanks Received:
    2,386
    Reinstall?!? For something this trivial?
    # pw groupmod wheel -m username

    You can also install security/sudo and add your user account to the sudoers file.

    Are both hald and dbus running? Is /proc mounted?
     
  9. goro

    goro New Member

    Messages:
    16
    Thanks Received:
    0
  10. goro

    goro New Member

    Messages:
    16
    Thanks Received:
    0
    this can help?...

    Code:
    FreeBSD boot partitions are 2, 5, 8. I created the following
    "/etc/grub.d/10_freebsd" file, so "update-grub" does not remove
    FreeBSD from the boot menu.
    
    #!/bin/sh -e
    cat << EOF
    menuentry "FreeBSD 7-STABLE AMD64" {
            set root=(hd0,5)
            freebsd /boot/loader
    }
    menuentry "FreeBSD 8-STABLE AMD64" {
            set root=(hd0,8)
            freebsd /boot/loader
    }
    menuentry "FreeBSD 9-CURRENT AMD64" {
            set root=(hd0,2)
            freebsd /boot/loader
    }
    EOF
    

    source...
     
  11. goro

    goro New Member

    Messages:
    16
    Thanks Received:
    0
    thanks! for nothing!!

    finally i don't no how grub shows free and now i'm going to install some stuff...c u later...
     
  12. DutchDaemon

    DutchDaemon Administrator Staff Member Administrator Moderator

    Messages:
    10,767
    Thanks Received:
    1,872
    Excuse me?
     
  13. LateNiteTV

    LateNiteTV New Member

    Messages:
    391
    Thanks Received:
    24
    lol patience is a virtue.
     
  14. zeiz

    zeiz New Member

    Messages:
    691
    Thanks Received:
    54
    On my amd64 system grub2 doesn't recognize "freebsd /boot/loader" and boots fine with "chainloader +1" instead.
    If you don't have "shutdown/restart" in your menu then check/add /etc/fstab for the entry:
    Code:
    proc   /proc   procfs   rw   0  0

    If you also have KDE and kdm enabled Gnome only has "logout" option (not the button).
    There is one more step to have fully usable Gnome: PolicyKit.conf.
    This and some more is here.

    In general since my childhood I realized that best girls are those whom we are fighting with :)
     
  15. DutchDaemon

    DutchDaemon Administrator Staff Member Administrator Moderator

    Messages:
    10,767
    Thanks Received:
    1,872
    Yeah, and it's not as if these forums aren't crawling with grub2 malarky (like this one) already ...