You are not logged in.

#1 2017-01-15 09:48:58

Vivacacy
Member
Registered: 2017-01-15
Posts: 3

[SOLVED] GRUB GUI only works when logged into root and not user

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

#2 2017-01-15 10:23:21

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 258
Website

Re: [SOLVED] GRUB GUI only works when logged into root and not user

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

#3 2017-01-15 12:13:47

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: [SOLVED] GRUB GUI only works when logged into root and not user

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

Offline

#4 2017-01-15 13:41:52

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 258
Website

Re: [SOLVED] GRUB GUI only works when logged into root and not user

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

#5 2017-01-16 01:39:43

Vivacacy
Member
Registered: 2017-01-15
Posts: 3

Re: [SOLVED] GRUB GUI only works when logged into root and not user

Thank you Docbroke, that fixed my problem smile. 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

#6 2017-01-16 02:51:34

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,433

Re: [SOLVED] GRUB GUI only works when logged into root and not user

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.

Offline

Board footer

Powered by FluxBB