Removing and (re)installing software isn't going to do much.
cat ~/.xinitrc
, yields:exec /usr/local/bin/gnome-session
HiCreate a new user account and try with that new, clean, account. I'm betting something in your profile got screwed up.
adduser
command gives output:pw: user 'guest' disappeared during update
adduser: ERROR: there was error adding user (guest).
Hi
adding new user usingadduser
command gives output:
Code:pw: user 'guest' disappeared during update adduser: ERROR: there was error adding user (guest).
Yeah, that's something that's going to happen from time to time. Simplest is to runadding new user using adduser command gives output:
vipw
and save and quit (without making any changes).Hi/usr/sbin/pwd_mkdb -p /etc/master.passwd and then create user
Hi
I was to adduser after running your command.
startx runs successfully, running xterm. Should i enable gdm & gnome now?
Do this first. Check if that works, then you can enable GDM. Take one step at a time.create .xinitrc with gnome-session to run for startx
Hiyes .. or create .xinitrc with gnome-session to run for startx
How to create .xinitrc with gnome-session to run for startx?
echo "exec gnome-session" > ~/.xinitrc
Hiecho "exec gnome-session" > ~/.xinitrc
echo "exec gnome-session" > ~/.xinitrc
.is there .xsession-errors file in home dir maybe ?Hi
Doneecho "exec gnome-session" > ~/.xinitrc
.
runnning gnome-session command still leads to the white screen error!
Nope!is there .xsession-errors file in home dir maybe ?
/home/<new user>
HiOk .. and when you start gdm as rootservice gdm onestart
do u have same white screen error ?
service gdm onestart
HiOh.. i think that u need to reinstall gnome/gdm .. trypkg upgrade -f
pkg install -f -R gdm
Don't run that command. You're supposed to runrunnning gnome-session command still leads to the white screen error!
startx
.That's not going to do anything as SirDice pointed out. The error is saying it can't start gdm because there is no gdm entry in /etc/rc.conf. Reinstalling is not going to resolve that as it's a manual effort.
The call to launch that from /etc/rc.conf because OP commented it out or removed it. Installing software on FreeBSD does not configure anything, that's manual and what I was referring to.
service gdm onestart
has nothing to do withrc.conf