I know this question was asked thousands of times and there are lots of solutions out there, I tried them all, but with no luck.
Symptoms
It takes about 3 to 5 minutes for Gnome to start up, I'm asked for my username/password and then the Gnome splash screen comes up, but it stays there for god damn 3-5 minutes!
Another thing is that running gnome programs takes a long time, like if you wana open the terminal, you have to wait for couple of minutes for it to come up after you click on its icon
What did I do?
Well, I googled and found several solutions, like adding "gnome_enable='YES'" to /etc/rc.conf file, which I did. Another solution was to make sure your hostname is like your machines name, since I'm not connected to any DNS, it can not be an issue, but if you insist, here is my untouched default /etc/hosts file:
I also did whatever was suggested in this thread, i.e. I executed the following command:
But things are still terribly slow. I was thinking about forgetting Gnome and seeking solace in KDE! I don't know if you ppl have any practical advice for this newbie.
Do you get anything in your .xsession-errors during the long time it's thinking? I used to have something like that which I think I traced to a startup sound which wouldn't play because the sound config was hosed.
this is the content of my .xsession-errors:
As you can see I have a "Host name lookup failure on localhost" error, how can I solve it? I think it's pretty much the culprit!
Last edited by DukeNuke2; 09-04-2008 at 04:43 PM..
Looks like something in your gnome-session is attempting that, do you have funny stuff in ~/.gnome2/session or /usr/share/gnome/default.session or whatever your version uses?
As a workaround, maybe you can add 127.0.0.1 localhost to your /etc/hosts file. (In fact it should already be there, and lost of other things probably expect it to be there, too.)
replace (at the end of the file)
Exec=gnome-session
TryExec=gnome-session
with
Exec=gnome-session --purge-delay=5000 --warn-delay=5000
TryExec=gnome-session --purge-delay=5000 --warn-delay=5000
You can also set up gnome to start only for specific users, in case some users might wish to use other windows managers, by creating the file ~/.xinitrc in the user's home directory and adding the line
start gnome-session
Then the user types "startx" (or is it "xstart"?) at login to start the gnome session.
I think that will do what you need. I think you can also go back to the FreeBSD installer by typing the command "sysinstall" and use the options there for setting up your Internet connections. The wizard asks you to set your machine's name and automatically sets up the hostname and /etc/hosts file. Maybe that would do it.
I have a fresh 64-bits install of FreeBSD 8.1 on a machine, but having issues with getting gnome to work.
I have followed the guidelines on FreeBSD GNOME Project: GNOME 2.32 FAQ
In summary that is:
pkg_add -r gnome2
Add gnome_enable="YES" to /etc/rc.conf
After a reboot and logging in, there... (8 Replies)
at root command line
# pkg_add -r gnome2
This will download the latest GNOME 2.22 packages from the FreeBSD FTP site, and proceed to install them on your system.
Up-to-date GNOME packages for i386 and amd64 for all supported versions of FreeBSD are also available from the GNOME Tinderbox.... (0 Replies)
Recently, i have installed FreeBSD 5.3 on my computer. I then proceeded to install the latest version of Gnome. I went to the FreeBSD handbook and looked up how to set Gnome as my default window manager, and for some reason it did not work. I was wondering what exactly the command is to do set... (4 Replies)
ps. i posted this first on UNIX for Dummies Questions & Answers , Sorry about the double post
Hi guys,
I still have "microsoft windows" eyes so this unix freebsd stuff still looks very alien to me.
Yesterday I managed to install freebsd 5.1 on my dell notebook. And today I got Gnome 2.2... (2 Replies)
Hi guys,
I still have "microsoft windows" eyes so this unix freebsd stuff still looks very alien to me.
Yesterday I managed to install freebsd 5.1 on my dell notebook. And today I got Gnome 2.2 working. I have this problem I can only login to Gnome with my normal user account, and not with... (1 Reply)
Hey all :)
I finally got around to installing FreeBSD 4.4, which considering it's my first attempt with *nix, didn't go too badly. I've managed to configure X and everything else, but I've got a bit of a problem, lol.
I installed KDE and GNOME. I had a rough idea as to what they were, but I... (5 Replies)
I was finally able to get FreeBSD working with X-windows and KDE. I installed Gnome also. However am not given the chance to run Gnome when I type: startx at the command line. KDE seems to be default
How can I run Gnome too? (1 Reply)