PDA

View Full Version : [Solved] can't startx


goro
December 16th, 2009, 23:41
$ 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:assertio n 'gconnection' failed

letters........................................... .................................................. ......................................

xauth:(argv):1: bad display name ' :0' in 'remove' command

some help?

LateNiteTV
December 16th, 2009, 23:43
do you have
dbus_enable="YES"
in /etc/rc.conf?

DutchDaemon
December 16th, 2009, 23:47
Read http://forums.freebsd.org/showthread.php?t=4224 already?

goro
December 17th, 2009, 00:57
Read http://forums.freebsd.org/showthread.php?t=4224 already?

hi!

writing from free with this:
gnome_enable="YES"

:)

DutchDaemon
December 17th, 2009, 08:12
Assuming that solved it then?

goro
December 17th, 2009, 15:12
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...

goro
December 17th, 2009, 15:14
(please correct this posts)

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

SirDice
December 17th, 2009, 17:26
i think should reinstall and to add user to wheel group...

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.

by the way...i can't shutdown normally gnome...just with the buttom!
Are both hald and dbus running? Is /proc mounted?

goro
December 18th, 2009, 02:25
well...i reinstaled but now it is impossible to set up free on debian's grub2

fdisk -l... (http://i45.tinypic.com/359ixpz.png)

/etc/grub.d/40_custom... (http://i49.tinypic.com/2qizrwo.png)

/boot/grub/grub.cfg... (http://i49.tinypic.com/jq6hrk.png)

at first try did right,now *beep**beep**beep**beep* up!

x(

goro
December 18th, 2009, 03:53
this can help?...

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... (http://old.nabble.com/Dual-Booting-Ubuntu-Linux---FreeBSD-using-the-new-Grub2-td26154525.html)

goro
December 18th, 2009, 18:14
thanks! for nothing!!

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

DutchDaemon
December 18th, 2009, 18:26
thanks! for nothing!!

Excuse me?

LateNiteTV
December 18th, 2009, 19:09
lol patience is a virtue.

zeiz
December 18th, 2009, 19:18
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:
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 (http://www.freebsd.org/gnome/docs/faq2.html).

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

DutchDaemon
December 18th, 2009, 19:30
lol patience is a virtue.

Yeah, and it's not as if these forums aren't crawling with grub2 malarky (like this one (http://forums.freebsd.org/showthread.php?p=56726)) already ...