View Full Version : very slow gnome startup in FreeBSD 6.4 RC2
kantor
November 21st, 2008, 18:33
I installed FreeBSD 6.4 RC2 (from the i386 DVD iso image). All went as I expected, but when gnome starts up it is very slow. Namely after I enter the user name and password in the GDM window and I press enter the icons and background image is not visible for 2, 3 minutes, also the gnome startup screen remains there, only if I click with the mouse somewhere on the desktop, only then disappears
Mel_Flynn
November 21st, 2008, 19:41
Press ctrl-alt-f1, login on console and check top, /var/log/Xorg.0.log.
Do you have hald_enable="YES" in /etc/rc.conf?
ale
November 22nd, 2008, 12:45
Did you try this?
http://www.freebsd.org/gnome/docs/faq2.html#q20
none
November 22nd, 2008, 18:03
Did you try this?
http://www.freebsd.org/gnome/docs/faq2.html#q20
make it two votes for this. I had this a couple of times ...
none
mdg583
November 22nd, 2008, 23:18
I had this same problem. I have my desktop working better, but the underlying problems are still there.
http://gnomesupport.org/forums/viewtopic.php?t=13502
There must be some simple solution, but I don't understand hostnames, ipv6, etc to know how to fix it.
kantor
November 23rd, 2008, 10:51
Do you have hald_enable="YES" in /etc/rc.conf?
Yes I have gnome_enable="YES" (that starts hal, dbus, and all the gnome related services . . .)
I read those informations from that url (http://www.freebsd.org/gnome/docs/faq2.html#q20) and all is set like is told there, but the problem is the same.
ale
November 23rd, 2008, 12:26
What is the output of ifconfig ?
Is your lo0 interface up ?
Mel_Flynn
November 23rd, 2008, 13:37
Yes I have gnome_enable="YES" (that starts hal, dbus, and all the gnome related services . . .)
I read those informations from that url (http://www.freebsd.org/gnome/docs/faq2.html#q20) and all is set like is told there, but the problem is the same.
So, unset gnome_enable="YES". Only set dbus_enable and hald_enable. Do not start gdm by any other means (like /etc/ttys).
Login on the console only. Type dbus-launch lshal. See if this takes a similar time to finish.
If so, you're likely seeing a scanning problem in your hardware and my first guess would be to USB hubs. Check the halfaq for examples on how to stop HAL from probing specific devices and resolve the offending hardware by elimination.
Since a mouse click "fixes" it, if you have an USB mouse, it's a very likely candidate, so find out through dmesg which usb hub it's connected to and any devices in that chain.
kantor
November 24th, 2008, 21:35
here is my ifconfig output
vr0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet 192.168.32.46 netmask 0xffffffe0 broadcast 192.168.32.63
ether 00:0f:ea:b2:87:2a
media: Ethernet autoselect (100baseTX <full-duplex>)
status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet6 ::1 prefixlen 128
inet 127.0.0.1 netmask 0xff000000
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1492
inet 79.114.86.137 --> 10.0.0.1 netmask 0xffffffff
Opened by PID 778
kantor
November 24th, 2008, 22:02
thanks for the help Mel_Flynn. I tried exactly as you told me, but with no results. The dbus-launch lshal executes quiet fast.
I tried all kind of combinations (some of them maybe useless), like disabling IP address DHCP, disabling mouse driver, disabling completely hal and dbus . . . but the problem is the same.
However remember that this problem occurs only in FreeBSD 6.4 RC2, in FreeBSD 6.3 or 7.0 gnome works fine.
kantor
November 24th, 2008, 22:04
by the way I have a PS/2 mouse and keyboard, not USB
kantor
November 24th, 2008, 22:14
Also I observed that I'm getting the below errors on ttyv0 (virtual console), now I don't know if this has something to do with my problem, I just post this because I saw no such things in 7.0 or 6.3 release:
Nov 24 22:55:56 freebsd console-kit-daemon[687]: GLib-CRITICAL: g_hash_table_lookup: assertion hash_table != NULL'' failed
Nov 24 22:55:56 freebsd console-kit-daemon[687]: GLib-CRITICAL: g_hash_table_destroy: assertion hash_table != NULL'' failed
braveduck
November 25th, 2008, 14:39
Had the same problem. The Mdg583 provided was very helpful, to be exact, the following solved the problem:
open (as root) /usr/local/share/xsessions/gnome.desktop
change:
Code:
Exec=gnome-session
to
Code:
Exec=gnome-session --purge-delay=5000 --warn-delay=5000
kantor
November 25th, 2008, 21:01
Had the same problem. The Mdg583 provided was very helpful, to be exact, the following solved the problem:
Thanks ! this fixes the problem, but I think it is not normal, it is not normal because in 6.3 or 7.0 (and older versions) you don't need to do that, and in normal circumstances you shouldn't edit such files to have a correctly working gnome, could be that a bug ?
braveduck
December 4th, 2008, 15:45
Well, I had this problem on 7.1 prerelease, not on 6.4rc2. Whatever, have no idea whether it is a gnome bug or something missed in the setup process...
ericturgeon
March 21st, 2009, 19:52
good
Hi,
How was kantor able to record the following messages
Nov 24 22:55:56 freebsd console-kit-daemon[687]: GLib-CRITICAL: g_hash_table_lookup: assertion hash_table != NULL'' failed
Nov 24 22:55:56 freebsd console-kit-daemon[687]: GLib-CRITICAL: g_hash_table_destroy: assertion hash_table != NULL'' failed
which he quotes here (http://forums.freebsd.org/showpost.php?p=2635&postcount=12).
I can see these messages only when I restart or shutdown gnome ( FreeBSD ) and that too it stays only very briefly on the screen.
Warm Regards
Gaura
kuki
April 12th, 2010, 13:44
Hi guys,
That thread helped me a lot. I have installed gnome on 7.3-release and after launching it, the desktop appeared (with everything - menus, icons, bars), but was totally unresposnive - mouse and keyboard were frozen.
As I am building a file server, the GUI is not launched on system start, so I do not have gnome_enable="YES" in rc.conf. My problem was fixed after I have added hald_enable="YES" in rc.conf. Maybe that helps some1.
Regards,
#
SirDice
April 12th, 2010, 14:11
As I am building a file server, the GUI is not launched on system start, so I do not have gnome_enable="YES" in rc.conf. My problem was fixed after I have added hald_enable="YES" in rc.conf. Maybe that helps some1.
You need hald and dbus. You will also need to have /proc mounted.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.