>I can start gnome by just typing "gdm", and then log in as a user. >But I dont think this is a right or secure way to use gnome.
add the following line to the end of /etc/rc.local /usr/local/bin/gdm -nodaemon & This starts gdm at system startup. If you want to log in from the commandline you can just use startx. Do a echo "exec gnome-session" > ~/.xinitrc if you want startx to choose gnome.