instead of editing /etc/inittab, have you tried adding gdm in the daemons array in /etc/rc.conf? make sure gdm is last in the array. you also need to install dbus and add it to the the array as well.
you will need theexec ck-launch-session gnome-session
in your .xinitrc because xinit and startx need to know what X programs to start.
Thanks, and it's OK now.
What I did is just login my own account first, not root as before. And then I can login root account. I don't why.
Remove the line from .xinitrc and uncomment the gdm line from inittab. What do you mean when you say you can't login? The screen does not show up, does not respond, fails to login with correct credentials, or something else?
After installation I was trying to login root to do some cleanning up. But It's stuck in GDM Login Screen.
And when pressed the Login button, buttons turned grey, mouse rolling, but it still cannot load the root desktop.
Update: It's OK now. What I did is just login my own account first, not root as before. And then I can login root account. I don't why.
]]>I only installed Intel graphic card driver and xorg-server, xorg-xinit, xorg-twm xorg-xclock, xterm, xorg-utils xorg-server-utils.
I believe these are OK for there's no problem in dispaly.
Besides, I've installed: at-spi2-atk, at-spi2-core, gnome-applets, gnome-control-center, gnome-desktop, gnome-icon-theme, gnome-icon-theme-symbolic, gnome-keyring, gnome-media, gnome-panel, gnome-session, gnome-settings-daemon, gnome-shell, gnome-terminal, gnome-themes-standard, metacity, mutter, nautilus, notification-daemon
Are those packages enough?
ps. I also have created xinitrc with "exec ck-launch-session gnome-session" command. Is this necessary?
Update: It's OK now. What I did is just login my own account first, not root as before. And then I can login root account. I don't why.
]]>