Re: .xinitrc and root



I'm not sure what you mean by 'not working correctly', but try this:

1.  If you copied your .xinitrc to your new user's home directory, make
sure the new file you copied is owned by the new user; If not, go to the
home directory of the user and type:

chown <new_user>:<new_user> .xinitrc

where <new_user> is the name of the new user.

then type:

chmod 755 .xinitrc



2.  Make sure you have the machine name properly aliased...
Open /etc/hosts, and make sure you see:

127.0.0.1  localhost <machine_name>

if your machine is named something other than 'localhost'.  If things
are set up correctly, you should be able to ping your machine name:

ping <machine_name>


3.  Make sure /usr/share has read and execute permissions for all...
cd to /usr and  type:

ls -ld share

It should return something like 'drwxr-xr-x'.  If not, type:

chmod 755 share

then cd to share, and type:

chmod 755 *


These have been typical things stopping regular users from running
gnome-session.  Make sure .xinitrc shows only 'gnome-session'.

BTW, if you can't get sound to work, make sure you are logged in as
root, and type:

esdctl unlock

The next time you login as a regular user, sound will work.


Let me know if you are successful.

Tim

 



Paul Huckaby wrote:
> 
> I created a new user, but when I try to startx Enlightenment starts up but
> not Gnome (at least that looks like what is going on)When I startx
> Enlightenment's progress bar run and then I get a grey background with what
> looks like no gnome. Everything works great as root, but not as the new user
> I created. I've tried a couple thing in my ~/.xinitrc (gnome-session) but
> nothing works correctly. It seems like if I just copy the .xinitrc that root
> is using it should be just fine (I'm I just totally wrong or will this
> work?). Where is the .xinitrc reside for root. Is it /X11???
> 
> --
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with
>                        "unsubscribe" as the Subject.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]