You are not logged in.

#1 2011-03-30 04:16:45

Edward_m
Member
Registered: 2011-03-21
Posts: 5

[SOVLED] no GUI for non-root users?

hey guys I'm new to archlinux but did actually install arch into my pc,it's running great except I can't get to gui desktop everytime time I use a non-root user.I'm using the latest kernel with xfce4.8, any idea?

Last edited by Edward_m (2011-03-31 14:48:45)

Offline

#2 2011-03-30 07:18:49

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: [SOVLED] no GUI for non-root users?

How are you trying to start the gui and what is happening other than you"can't get to gui desktop"? We can't help unless you give us info

Offline

#3 2011-03-30 13:10:32

Stebalien
Member
Registered: 2010-04-27
Posts: 1,237
Website

Re: [SOVLED] no GUI for non-root users?

You probably ran a GUI program as root, it created a configuration file, and you don't have permissions to read it.

chmod -R  $USER:users $HOME

Last edited by Stebalien (2011-03-30 13:11:28)


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#4 2011-03-30 13:32:57

egan
Member
From: Mountain View, CA
Registered: 2009-08-17
Posts: 273

Re: [SOVLED] no GUI for non-root users?

Awhile back I had this problem and it was because a default .xinitrc was installed to my home directory automatically. Removing it will start TWM as expected. Of course if you already edited it, this is probably not your problem.

Offline

#5 2011-03-31 13:45:49

Edward_m
Member
Registered: 2011-03-21
Posts: 5

Re: [SOVLED] no GUI for non-root users?

egan wrote:

Awhile back I had this problem and it was because a default .xinitrc was installed to my home directory automatically. Removing it will start TWM as expected. Of course if you already edited it, this is probably not your problem.

yes,i have a .xinitrc file in my root directory.i use add a line like this"exec ck-launch-session startxfce4" to launch xfce4 session.what should i do?Can i add this into another file and .xinitrc?

Offline

#6 2011-03-31 13:54:10

Edward_m
Member
Registered: 2011-03-21
Posts: 5

Re: [SOVLED] no GUI for non-root users?

Stebalien wrote:

You probably ran a GUI program as root, it created a configuration file, and you don't have permissions to read it.

chmod -R  $USER:users $HOME

I dont realy get it.When i restart my pc i dont need to run a program unless it's a system-related program,need I?Does Xorg/Slim/xfce configration file have anything to do with my problem?

Offline

#7 2011-03-31 14:18:02

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: [SOVLED] no GUI for non-root users?

Edward_m wrote:
egan wrote:

Awhile back I had this problem and it was because a default .xinitrc was installed to my home directory automatically. Removing it will start TWM as expected. Of course if you already edited it, this is probably not your problem.

yes,i have a .xinitrc file in my root directory.i use add a line like this"exec ck-launch-session startxfce4" to launch xfce4 session.what should i do?Can i add this into another file and .xinitrc?

What about your user's home directory /home/$USER


Rauchen verboten

Offline

#8 2011-03-31 14:33:17

redden0t8
Member
Registered: 2011-01-27
Posts: 42

Re: [SOVLED] no GUI for non-root users?

Try renaming your .xinitrc to something else temporarily, say .xinitrc.disabled, and run startx.  If it works, you know the problem is with your .xinitrc.  If that doesn't help, please post you /var/log/Xorg.0.log so we can see what's going on.

Offline

#9 2011-03-31 14:47:41

Edward_m
Member
Registered: 2011-03-21
Posts: 5

Re: [SOVLED] no GUI for non-root users?

Thank you everyone,problem solved,I found that everyone of my users should have a  ~/.xinitrc file to execute the xfce4 session.I add this file and it's OK now.

Offline

Board footer

Powered by FluxBB