You are not logged in.

#1 2014-07-14 03:29:16

kindlehl
Member
Registered: 2013-11-22
Posts: 3

Xfce starts in root

Hey guys, I just reinstalled Arch on my custom PC today, and I came across the problem that whenever I login as my user, kindlehl,  and launch xfce with

> # startxfce4

xfce always launches as root. Even the Desktop and Downloads directories are in /root. How can I fix this so it launches in my user, and the Desktop and Downloads directories are in /home/kindlehl?

Offline

#2 2014-07-14 09:01:18

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Xfce starts in root

Do you lunch startx from root session?

What does it says if you type "echo $USER"?

Have you created a regular user?


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

#3 2014-07-15 00:48:11

kindlehl
Member
Registered: 2013-11-22
Posts: 3

Re: Xfce starts in root

haha, yeah. I was running Xfce as root, because I needed root permission to run it for some odd reason. So, I used the following line
> sudo chmod 777 /bin/startxfce4
and that resolved my issue! I guess I fixed it ;p

Offline

#4 2014-07-15 13:50:59

Shark
Member
From: /dev/zero
Registered: 2011-02-28
Posts: 686

Re: Xfce starts in root

Good you resolved the issue.

Please mark thread as SOLVED.

EDIT: i would also suggest to change permission to 755.

Last edited by Shark (2014-07-15 13:53:51)


If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau

Registered Linux User: #559057

Offline

Board footer

Powered by FluxBB