You are not logged in.

#1 2015-09-07 21:28:33

archal9000
Member
Registered: 2015-06-06
Posts: 5

Cannot start xorg as non-root

Hello,

I've started a fresh install of Arch in Vmware. I can start xorg in root but not as a normal user.
https://i.gyazo.com/02188f3536a96243704 … ba622f.png
https://i.gyazo.com/f61070a243e9fc26ad1 … b2844b.png

here is the log file
I'm only using xterm and planning on using a tile manager


Everything works in root. I'm going to assume it is a permission problem

-- mod note: converted img to url tags.  Trilby --

Last edited by Trilby (2015-09-07 21:51:13)

Offline

#2 2015-09-07 21:35:14

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Cannot start xorg as non-root

Post your .xinitrc and the output of:

ls -l ~/.xinitrc

Run this command as your normal user.

Offline

#3 2015-09-07 21:48:40

archal9000
Member
Registered: 2015-06-06
Posts: 5

Re: Cannot start xorg as non-root

2c2dd987c97993271048f11b640c3f0b.png

Offline

#4 2015-09-07 21:53:09

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,535
Website

Re: Cannot start xorg as non-root

Please see the forum rules on posting images and only post thumbnails if you are going to post images.  But if you are just posting text, just post the text, not images of it.

How do you startx?  And as already requested, what is in your xinitrc?  Why is your xinitrc executable?  This is not harmful, but it's pointless, and no instructions on our wiki should have told you to make it executable.  What instructions did you follow to do your installation?


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2015-09-07 22:35:09

archal9000
Member
Registered: 2015-06-06
Posts: 5

Re: Cannot start xorg as non-root

I've used the Arch Linux wiki but I don't find it useful since I'm a new user.  I've been looking through the install guide and xorg page


http://s3.postimg.org/ji47mj34j/image.png
http://s3.postimg.org/ys42tpymr/image.png




as non-root user I use startx command in terminal in order to xorg

I just set the xinitrc as executable since I was experimenting with permission. I can remove the execute permission and I did wonder if it was a security risk. Read and Write for non-root should be sufficient?

I cannot copy and paste right now so I just posted images.

note: I'm only using xterm but I suppose that is not the problem

Last edited by archal9000 (2015-09-08 02:10:01)

Offline

#6 2015-09-08 06:50:02

ayekat
Member
Registered: 2011-01-17
Posts: 1,590

Re: Cannot start xorg as non-root

I've used the Arch Linux wiki but I don't find it useful since I'm a new user. I've been looking through the install guide and xorg page

The wiki is meant to be useful for all users, especially for new ones (have you read the Beginners' Guide?)

I cannot copy and paste right now so I just posted images.

ix.io
sprunge.us

Read and Write for non-root should be sufficient?

Yes. However, what is the output for this?

ls -l $(which X) $(which Xorg) ~/.Xauthority

Last edited by ayekat (2015-09-08 06:52:08)


pkgshackscfgblag

Offline

#7 2015-09-08 20:34:54

archal9000
Member
Registered: 2015-06-06
Posts: 5

Re: Cannot start xorg as non-root

--rw------ 1 shodan users 0  Sep   7 23:51 /home/shodan/.Xauthority
lrwxrwxrwx 1 root root 4 Jul 17 17:39 /usr/bin/X -> Xorg 
rwxr-xr-x 1 root root 281 Jul 17 17:39 /usr/bin/Xorg

here is the output


I've read the beginners guide and post-guide. Just been stuck on this problem for a while

Last edited by archal9000 (2015-09-08 20:47:20)

Offline

#8 2015-09-08 20:44:53

GloW_on_dub
Member
Registered: 2013-03-13
Posts: 388

Re: Cannot start xorg as non-root

please use code tags when pasting code our terminal outputs.
https://bbs.archlinux.org/help.php#bbcode

Last edited by GloW_on_dub (2015-09-08 20:45:15)

Offline

Board footer

Powered by FluxBB