You are not logged in.
Hey all,
Can someone help me figure out why GRUB's GUI only loads if i'm logged into root? When I run startx while logged into my user I get a bare screen with just shell windows. 
I've included below some information I think might be relevant.
[root@arch ~]# ls
Desktop  Documents  Downloads  Music  Pictures    Public    Templates  Videos
[root@arch ~]# ls -l
total 32
drwxr-xr-x 2 root root 4096 Jan 15 08:48 Desktop
drwxr-xr-x 2 root root 4096 Jan 15 08:48 Documents
drwxr-xr-x 2 root root 4096 Jan 15 08:48 Downloads
drwxr-xr-x 2 root root 4096 Jan 15 08:48 Music
drwxr-xr-x 2 root root 4096 Jan 15 08:48 Pictures
drwxr-xr-x 2 root root 4096 Jan 15 08:48 Public
drwxr-xr-x 2 root root 4096 Jan 15 08:48 Templates
drwxr-xr-x 2 root root 4096 Jan 15 08:48 Videos
[root@arch ~]# cd ..
[root@arch /]# ls
bin   dev  home  lib64         mnt  proc    run   srv  tmp    var
boot  etc  lib     lost+found  opt  root    sbin  sys  usr
Last edited by Vivacacy (2017-01-17 04:49:39)
Offline
What is GRUB's GUI? I have never heard of that before. This post is looking like a troll post to me, especially the "relevant information". The "problem" you explain when issuing startx sounds like the default xinitrc, which appear to be working as intended from your description.
How did you install Arch?
Offline
Probably OP is confusing x-server with Grub's GUI. As it appears from his ls output, he is using root account for normal use and probably has configured .xinintrc in /root.
@OP If I am guessing correct you need to copy /root/.xinitrc to /home/"user"/.xinitrc
Arch is home!
https://github.com/Docbroke
Offline
I want to add that running a full graphical environment as the root user is generally not recommended as it means that every program you run has full access to every part of your system. You should configure your system to primarily use a non-privileged user for day-to-day tasks and instead use sudo when you need to run commands as root.
If you need to use graphical applications as root, then you should use gksudo, which is provided by the gksu package.
Offline
Thank you Docbroke, that fixed my problem 
. How do I mark thread as resolved/answered?
Didn't mean for this to seem like a troll post Daerandin. I just misused the vocabulary. I chose my information based on other threads i've found where people had similar issues. I didn't want to continue running the graphical environment as the root user which is why I posted this thread.
Last edited by Vivacacy (2017-01-16 01:41:07)
Offline
edit your first post, and prepend [solved] to your title
ps.: archi-wiki is wonderful try to read it , you will be able to solve many issues yourself.
Arch is home!
https://github.com/Docbroke
Offline