Missing GDM?

I've searched a lot, but can't find much about what is going on. If you have seen my previous thread, I have FreeBSD 8.1 x64 install in VB. I successfully built and configured X11; I can now use the basic X desktop.

I also built GNOME according to the instructions here. However, when I try to launch GNOME from the command line, the command:

# /usr/local/etc/rc.d/gdm start

fails. The other commands work fine.

[cmd=]/usr/local/etc/rc.d/gdm start: Command not found.[/cmd]

FWIW, I did install the virtualbox-ose-additions package.

Thanks!
 
See if GDM is actually installed.

[cmd=]pkg_info | grep gdm[/cmd]
 
If
Code:
pkg_info | grep gdm
will return you back none results, thats mean that gdm is not installed. So do:
Code:
cd /usr/ports/x11/gdm
make install clean
to install it. No idea how to configure it. I don't use gdm.
 
I'll get back to this tomorrow, I decided to reinstall because I made a mess with partial downloads and stuff. I'll check for gdm being installed when I get GNOME installed again.
 
Is not necessary to reinstall FreeBSD from beginning. Just delete all packages on your system and will be like a new fresh install without any package :D This is how to do it:
Run:
Code:
pkgdb -F
Next delete all the packages:
Code:
pkg_delete -f -a
Cleanup all traces left on the system:
Code:
rm -Rf /var/db/pkg/*
rm -Rf /usr/local/*
rm -Rf /usr/ports/
Now download again ports tree:
Code:
portsnap fetch extract
And update your ports tree:
Code:
portsnap fetch update
That's it :)
 
Mr sk8harddiefast, you forget the most important, GNOME2.
Code:
cd /usr/ports/x11/gnome2-lite
make recursive-config && make install clean 
cd /usr/ports/devel/hal
make recursive-config && make install clean 
cd /usr/ports/devel/dbus
make recursive-config && make install clean 
cd /usr/ports/x11-servers/xorg-server
make recursive-config && make install clean 
cd /usr/ports/x11/xorg
make recursive-config && make install clean 
cd /usr/ports/x11/gdm
make recursive-config && make install clean
from its name, make recursive-config will go through all ports dependency and run make config, so that you can run it once and leave your box do the rest.
After you finish installing gnome from ports or from your CD/DVD, run this commands:
Generate xorg.conf for your X and then copy it to /etc/X11:
Code:
Xorg -configure
cp ~/xorg.conf.new /etc/X11/xorg.conf
If you want start GNOME automatically:
Code:
echo gnome2_enable="YES" >> /etc/rc.conf
proc is required by GNOME, so don't forget to mount it:
Code:
echo "proc /proc procfs rw 0 0" >> /etc/fstab
mount proc
 
This is the next step after delete all packages from system :) This I posted is a way to do not format again. There is no reason to make partitions, install again filesystem, config again Networks, users etc. That you said is absolutely right. Just is the next step :D
 
Back
Top