View Single Post
Old 14th July 2012
bmk1st bmk1st is offline
Port Guard
 
Join Date: May 2008
Posts: 25
Default

Quote:
Originally Posted by barti View Post
1. I have .xinitrc file in /root directory containing

exec gnome-session


2. I did pkg_add gnome-session



and I took maybe 40 minutes to install it.


But when I startx, I see only gray screen, no gnome.




================

Only after reading the manuals again I think I know what is going on:

There are 2 files:

.xsession (for xdm)

and


.xinitrc (for cwm)



And you are talking about the .xinitrc file.


How can I communicate If I don't know the language? I don't know what I'm talking about,
It is like searching for keys in the water without my mask, can't see anything.




I do have .xinitrc file with the line
exec gnome-session

inside it.


STARTX and I see gray screen.



By the way, why gnome uses .xinitrc and not .xsession ?




-
My wild guess for why you are seeing gray screen is that you are running cwm from your home directory. I don't know which account you logged in and ran startx.

Which user account did you log in when you tried to run the startx command? Was it root or your user account?

Please post the entire contents of your .xinitrc here. Both from root and your home directory.

/root/.xinitrc and your /home/username/.xinitrc

My advice for you is to not run as root when you want to use Xwindows. It's better to run as your normal account.
Reply With Quote