Visit The New, Modern Unix Linux Community


Installing gnome on freebsd


 
Thread Tools Search this Thread
Operating Systems BSD Installing gnome on freebsd
# 1  
Installing gnome on freebsd

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 is no automatic start of gnome. The command startx gives: Command not found.

I then deinstalled gnome2 and instead installed gnome2-lite from ports and added the following to rc.conf:
dbus_enable="YES"
hald_enable="YES"
and kept gnome_enable="YES" as the last line.

I then added "exec gnome-session" to ~/.xinitrc and ran startx. Again a Command not found. Also tried "exec /usr/local/bin/gnome-session" in .xinitrc.
After a reboot startx gave the same response.

Would could be wrong and how do I get gnome to work on this machine?
# 2  
Did you try to add also
gdm_enable="YES" in rc.conf
also make sure you have /proc mounted :
proc /proc procfs rw 0 0 to to /etc/fstab

Do you have X instaled,cause you can not do startx if xorg is not installed.
pkg_add -r xorg

Last edited by zarere; 05-11-2011 at 04:55 PM..
This User Gave Thanks to zarere For This Post:
# 3  
What release of freebsd are you running?


[/QUOTE]pkg_add -tr gnome2cd /usr/ports/x11/gnome2 && make && make install
# 4  
Quote:
I have a fresh 64-bits install of FreeBSD 8.1 on a machine
# 5  
Still can't get it to work. This what I am doing in the shown order:
Add to rc.conf:
Code:
gdm_enable="YES"

Add to /etc/fstab:
Code:
proc /proc procfs rw 0 0

Install ports:
Code:
portsnap fetch
portsnap extract

Install gnome:
Code:
pkg_add -r gnome2
cd /usr/ports/x11/gnome2
make install clean

The installation error occurs in the last step and the follow-on packages cannot be installed such as gdk-pixbuf2 and gtk-update-icon-cache
# 6  
What about :

pkg_add -r xorg

This command installs xorg which is needed in order startx to work.What is the exact error that you are getting when you try to install it?

Quote:
Originally Posted by figaro
Still can't get it to work. This what I am doing in the shown order:
Add to rc.conf:
Code:
gdm_enable="YES"

Add to /etc/fstab:
Code:
proc /proc procfs rw 0 0

Install ports:
Code:
portsnap fetch
portsnap extract

Install gnome:
Code:
pkg_add -r gnome2
cd /usr/ports/x11/gnome2
make install clean

The installation error occurs in the last step and the follow-on packages cannot be installed such as gdk-pixbuf2 and gtk-update-icon-cache
# 7  
I finally got this to work and here are the installation steps for posterity:

Add to rc.conf:
Code:
hald_enable="YES"
gdm_enable="YES"
dbus_enable="YES"
gnome_enable="YES"

Add to /etc/fstab:
Code:
/proc /proc procfs rw 0 0

Code:
portsnap fetch extract
pkg_add -r gnome2 xorg

Reboot and gnome starts automatically.

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #16
Difficulty: Easy
There are a total of 25 pins in the traditional parallel port of a computer system.
True or False?

9 More Discussions You Might Find Interesting

1. BSD

Gnome 2.2 gets very sluggish on FreeBSD 7

hello guys & gals 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... (5 Replies)
Discussion started by: sirbijan
5 Replies

2. BSD

Install Gnome 2.22 in FreeBSD

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)
Discussion started by: very9music
0 Replies

3. BSD

Help with installing Gnome on FreeBSD

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)
Discussion started by: jgmyshko
4 Replies

4. UNIX for Dummies Questions & Answers

Installing Freebsd

Hi All Hope this is not going to upset you but i really need help. I'm new to Unix (Brand New) have never worked on a unix system before in my life so please bear with me. I'm in the process to install Freebsd but have no idea how to go ahead. The system that i have does not have any cd... (3 Replies)
Discussion started by: stunner
3 Replies

5. BSD

installing FreeBSD

hi everybody i'm now downloading FreeBSD using anonymous ftp...the problem i'll encounter is that it seems to be a huge archive.... I want just install it over a 8 G disk....how can i manage this? thanks regards (3 Replies)
Discussion started by: hmaiida
3 Replies

6. UNIX Desktop Questions & Answers

installed GNOME on FreeBSD! need help with several things

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)
Discussion started by: Dalma
2 Replies

7. UNIX for Dummies Questions & Answers

installed GNOME on FreeBSD! need help with several things

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)
Discussion started by: Dalma
1 Replies

8. UNIX for Dummies Questions & Answers

FreeBSD 4.4 Uninstalling KDE or GNOME

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)
Discussion started by: hellz
5 Replies

9. UNIX Desktop Questions & Answers

Start Gnome in FreeBSD 4.5

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)
Discussion started by: lancest
1 Replies

Featured Tech Videos