LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-26-2019, 12:18 PM   #1
permaroot
Member
 
Registered: Aug 2019
Location: Arden, NC
Distribution: Arch Linux
Posts: 129

Rep: Reputation: 48
Issues running startx as non-root user


Hey all, I have a weird issue.

I use arch linux (but I figured this applies to all linux distros?) and have multiple installs.

On my desktop I installed xorg, xorg-xinit, etc as root after installation. I can log in as my non-privileged user and startx.

However, on my laptop I get errors such as xinit permission denied, or I/O permission denied (and keyboard wont work if it runs)

I then came across a post that said " You set it up as root so all the permissions were for root, which is a horrendous idea for X"

Link to Post

My questions are:

Why would it work with an identical install on my desktop but not my laptop?

How can you install packages as a non-root user when using sudo is basically doing the same thing?

How do you personally install xorg? As root?

Any help appreciated.

Last edited by permaroot; 09-26-2019 at 12:20 PM.
 
Old 09-26-2019, 02:07 PM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 16,858
Blog Entries: 10

Rep: Reputation: 5011Reputation: 5011Reputation: 5011Reputation: 5011Reputation: 5011Reputation: 5011Reputation: 5011Reputation: 5011Reputation: 5011Reputation: 5011Reputation: 5011
Quote:
Originally Posted by permaroot View Post
Hey all, I have a weird issue.
I use arch linux (but I figured this applies to all linux distros?) and have multiple installs.
On my desktop I installed xorg, xorg-xinit, etc as root after installation. I can log in as my non-privileged user and startx.
However, on my laptop I get errors such as xinit permission denied, or I/O permission denied (and keyboard wont work if it runs)
I then came across a post that said " You set it up as root so all the permissions were for root, which is a horrendous idea for X"
Link to Post
My questions are:
Why would it work with an identical install on my desktop but not my laptop?
How can you install packages as a non-root user when using sudo is basically doing the same thing?
How do you personally install xorg? As root?
Any help appreciated.
I'm not sure that post has anything to do with your problem.
However, the way your question is phrased suggests that you did at some time start X as root, or worse, with sudo.
This has likely messed up things.
Be that as it may, show us all relevant output, commands issued, and logs.

PS: your username does not bode well for solving this problem.
 
Old 09-26-2019, 06:26 PM   #3
permaroot
Member
 
Registered: Aug 2019
Location: Arden, NC
Distribution: Arch Linux
Posts: 129

Original Poster
Rep: Reputation: 48
Quote:
Originally Posted by ondoho View Post
I'm not sure that post has anything to do with your problem.
However, the way your question is phrased suggests that you did at some time start X as root, or worse, with sudo.
This has likely messed up things.
Be that as it may, show us all relevant output, commands issued, and logs.

PS: your username does not bode well for solving this problem.
Huh? It’s the exact same problem in that post (except I didn’t change a bunch of things to try to fix it. They can run startx as root but not as a regular user.

I will get some relevant output as soon as I’m home.

However, I’m confused as to why you shouldn’t run startx as root, and how that would effect other users ability to use startx?

I won't use startx as root ever again if it causes other users startx to misbehave, but I just want to know WHY you shouldn't do it (other than the fact that you shouldn't use root unless you need to). Sometimes I need to install/configure packages and so I will just sign in as root to do so.

I also found this while trying to find out why I shouldn't sign in as root

Quote:
Originally Posted by cwwilson721 View Post
Starting/running x as root does not do any damage. Logging in as root does not do any damage.

Messing around while logged in as root DOES cause damage....lol

The prob w/logging in as root is that the entire system is changeable then. Try not to do this, unless you have to.

Remember, you're the most dangerous virus that is on your computer! (Talking thru experience here. I can configure Slackware until it's as useful as Windows XP SP2. In other words, til it doesn't work anymore...lol)

Last edited by permaroot; 09-26-2019 at 06:48 PM.
 
Old 09-26-2019, 06:39 PM   #4
permaroot
Member
 
Registered: Aug 2019
Location: Arden, NC
Distribution: Arch Linux
Posts: 129

Original Poster
Rep: Reputation: 48
Here is the output when startx is ran as my non-priveleged user

Code:
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
Build Operating System: Linux Arch Linux
Current Operating System: Linux barfbook 5.3.1-arch1-1-ARCH #1 SMP PREEMPT Sat Sep 21 11:33:49 UTC 2019 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a4eb8a0c-b3ec-4418-b3b5-f7d58d390ebb rw loglevel=3 quiet
Build Date: 30 June 2019  09:52:01AM
 
Current version of pixman: 0.38.4
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/barf//.local/share/xorg/Xorg.0.log", Time: Thu Sep 26 18:30:51 2019
(==) Using default built-in configuration (57 lines)
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
(EE) 
Fatal server error:
(EE) AddScreen/ScreenInit failed for gpu driver 0 -1
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/home/barf//.local/share/xorg/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
 
Old 09-26-2019, 07:16 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 17,057
Blog Entries: 27

Rep: Reputation: 5225Reputation: 5225Reputation: 5225Reputation: 5225Reputation: 5225Reputation: 5225Reputation: 5225Reputation: 5225Reputation: 5225Reputation: 5225Reputation: 5225
What does the log file referenced in the above post (/home/barf//.local/share/xorg/Xorg.0.log) say?
 
Old 09-26-2019, 08:33 PM   #6
permaroot
Member
 
Registered: Aug 2019
Location: Arden, NC
Distribution: Arch Linux
Posts: 129

Original Poster
Rep: Reputation: 48
here

Code:
[   108.250] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   108.250] 
X.Org X Server 1.20.5
X Protocol Version 11, Revision 0
[   108.250] Build Operating System: Linux Arch Linux
[   108.250] Current Operating System: Linux barfbook 5.3.1-arch1-1-ARCH #1 SMP PREEMPT Sat Sep 21 11:33:49 UTC 2019 x86_64
[   108.250] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a4eb8a0c-b3ec-4418-b3b5-f7d58d390ebb rw loglevel=3 quiet
[   108.250] Build Date: 30 June 2019  09:52:01AM
[   108.250]  
[   108.250] Current version of pixman: 0.38.4
[   108.250] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   108.250] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   108.250] (==) Log file: "/home/barf//.local/share/xorg/Xorg.0.log", Time: Thu Sep 26 18:30:51 2019
[   108.251] (II) Module ABI versions:
[   108.251] 	X.Org ANSI C Emulation: 0.4
[   108.251] 	X.Org Video Driver: 24.0
[   108.251] 	X.Org XInput driver : 24.1
[   108.251] 	X.Org Server Extension : 10.0
[   108.251] (++) using VT number 1

[   108.252] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   108.253] (II) xfree86: Adding drm device (/dev/dri/card1)
[   108.253] (EE) systemd-logind: failed to take device /dev/dri/card1: Operation not permitted
[   108.253] (II) xfree86: Adding drm device (/dev/dri/card0)
[   108.254] (EE) systemd-logind: failed to take device /dev/dri/card0: Operation not permitted
[   108.261] (--) PCI:*(0@0:2:0) 8086:3e9b:1a58:2000 rev 0, Mem @ 0xab000000/16777216, 0x40000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[   108.261] (--) PCI: (1@0:0:0) 10de:1c20:1a58:2000 rev 161, Mem @ 0xac000000/16777216, 0x80000000/268435456, 0x90000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
[   108.261] (==) Using default built-in configuration (57 lines)
[   108.261] (==) --- Start of built-in configuration ---
[   108.261] 	Section "Device"
[   108.261] 		Identifier	"Builtin Default intel Device 0"
[   108.261] 		Driver	"intel"
[   108.261] 	EndSection
[   108.261] 	Section "Screen"
[   108.261] 		Identifier	"Builtin Default intel Screen 0"
[   108.261] 		Device	"Builtin Default intel Device 0"
[   108.261] 	EndSection
[   108.261] 	Section "Device"
[   108.261] 		Identifier	"Builtin Default nouveau Device 0"
[   108.261] 		Driver	"nouveau"
[   108.261] 	EndSection
[   108.261] 	Section "Screen"
[   108.261] 		Identifier	"Builtin Default nouveau Screen 0"
[   108.261] 		Device	"Builtin Default nouveau Device 0"
[   108.261] 	EndSection
[   108.261] 	Section "Device"
[   108.261] 		Identifier	"Builtin Default nv Device 0"
[   108.261] 		Driver	"nv"
[   108.261] 	EndSection
[   108.261] 	Section "Screen"
[   108.261] 		Identifier	"Builtin Default nv Screen 0"
[   108.261] 		Device	"Builtin Default nv Device 0"
[   108.261] 	EndSection
[   108.261] 	Section "Device"
[   108.261] 		Identifier	"Builtin Default modesetting Device 0"
[   108.261] 		Driver	"modesetting"
[   108.261] 	EndSection
[   108.261] 	Section "Screen"
[   108.261] 		Identifier	"Builtin Default modesetting Screen 0"
[   108.261] 		Device	"Builtin Default modesetting Device 0"
[   108.261] 	EndSection
[   108.261] 	Section "Device"
[   108.261] 		Identifier	"Builtin Default fbdev Device 0"
[   108.261] 		Driver	"fbdev"
[   108.261] 	EndSection
[   108.261] 	Section "Screen"
[   108.261] 		Identifier	"Builtin Default fbdev Screen 0"
[   108.261] 		Device	"Builtin Default fbdev Device 0"
[   108.261] 	EndSection
[   108.261] 	Section "Device"
[   108.261] 		Identifier	"Builtin Default vesa Device 0"
[   108.261] 		Driver	"vesa"
[   108.261] 	EndSection
[   108.261] 	Section "Screen"
[   108.261] 		Identifier	"Builtin Default vesa Screen 0"
[   108.261] 		Device	"Builtin Default vesa Device 0"
[   108.261] 	EndSection
[   108.261] 	Section "ServerLayout"
[   108.261] 		Identifier	"Builtin Default Layout"
[   108.261] 		Screen	"Builtin Default intel Screen 0"
[   108.261] 		Screen	"Builtin Default nouveau Screen 0"
[   108.261] 		Screen	"Builtin Default nv Screen 0"
[   108.261] 		Screen	"Builtin Default modesetting Screen 0"
[   108.261] 		Screen	"Builtin Default fbdev Screen 0"
[   108.261] 		Screen	"Builtin Default vesa Screen 0"
[   108.261] 	EndSection
[   108.261] (==) --- End of built-in configuration ---
[   108.261] (==) ServerLayout "Builtin Default Layout"
[   108.261] (**) |-->Screen "Builtin Default intel Screen 0" (0)
[   108.261] (**) |   |-->Monitor "<default monitor>"
[   108.261] (**) |   |-->Device "Builtin Default intel Device 0"
[   108.261] (==) No monitor specified for screen "Builtin Default intel Screen 0".
	Using a default monitor configuration.
[   108.261] (**) |-->Screen "Builtin Default nouveau Screen 0" (1)
[   108.261] (**) |   |-->Monitor "<default monitor>"
[   108.262] (**) |   |-->Device "Builtin Default nouveau Device 0"
[   108.262] (==) No monitor specified for screen "Builtin

Last edited by permaroot; 09-26-2019 at 08:35 PM.
 
Old 09-26-2019, 08:36 PM   #7
permaroot
Member
 
Registered: Aug 2019
Location: Arden, NC
Distribution: Arch Linux
Posts: 129

Original Poster
Rep: Reputation: 48
Code:
Using a default monitor configuration.
[   108.261] (**) |-->Screen "Builtin Default nouveau Screen 0" (1)
[   108.261] (**) |   |-->Monitor "<default monitor>"
[   108.262] (**) |   |-->Device "Builtin Default nouveau Device 0"
[   108.262] (==) No monitor specified for screen "Builtin Default nouveau Screen 0".
	Using a default monitor configuration.
[   108.262] (**) |-->Screen "Builtin Default nv Screen 0" (2)
[   108.262] (**) |   |-->Monitor "<default monitor>"
[   108.262] (**) |   |-->Device "Builtin Default nv Device 0"
[   108.262] (==) No monitor specified for screen "Builtin Default nv Screen 0".
	Using a default monitor configuration.
[   108.262] (**) |-->Screen "Builtin Default modesetting Screen 0" (3)
[   108.262] (**) |   |-->Monitor "<default monitor>"
[   108.262] (**) |   |-->Device "Builtin Default modesetting Device 0"
[   108.262] (==) No monitor specified for screen "Builtin Default modesetting Screen 0".
	Using a default monitor configuration.
[   108.262] (**) |-->Screen "Builtin Default fbdev Screen 0" (4)
[   108.262] (**) |   |-->Monitor "<default monitor>"
[   108.262] (**) |   |-->Device "Builtin Default fbdev Device 0"
[   108.262] (==) No monitor specified for screen "Builtin Default fbdev Screen 0".
	Using a default monitor configuration.
[   108.262] (**) |-->Screen "Builtin Default vesa Screen 0" (5)
[   108.262] (**) |   |-->Monitor "<default monitor>"
[   108.262] (**) |   |-->Device "Builtin Default vesa Device 0"
[   108.262] (==) No monitor specified for screen "Builtin Default vesa Screen 0".
	Using a default monitor configuration.
[   108.262] (==) Automatically adding devices
[   108.262] (==) Automatically enabling devices
[   108.262] (==) Automatically adding GPU devices
[   108.262] (==) Automatically binding GPU devices
[   108.262] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   108.262] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   108.262] 	Entry deleted from font path.
[   108.262] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   108.262] 	Entry deleted from font path.
[   108.262] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[   108.262] (==) ModulePath set to "/usr/lib/xorg/modules"
[   108.262] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   108.262] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   108.262] (II) LoadModule: "glx"
[   108.262] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   108.263] (II) Module glx: vendor="X.Org Foundation"
[   108.263] 	compiled for 1.20.5, module version = 1.0.0
[   108.263] 	ABI class: X.Org Server Extension, version 10.0
[   108.263] (II) LoadModule: "intel"
[   108.263] (WW) Warning, couldn't open module intel
[   108.263] (EE) Failed to load module "intel" (module does not exist, 0)
[   108.263] (II) LoadModule: "nouveau"
[   108.263] (WW) Warning, couldn't open module nouveau
[   108.263] (EE) Failed to load module "nouveau" (module does not exist, 0)
[   108.263] (II) LoadModule: "nv"
[   108.263] (WW) Warning, couldn't open module nv
[   108.263] (EE) Failed to load module "nv" (module does not exist, 0)
[   108.263] (II) LoadModule: "modesetting"
[   108.263] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   108.264] (II) Module modesetting: vendor="X.Org Foundation"
[   108.264] 	compiled for 1.20.5, module version = 1.20.5
[   108.264] 	Module class: X.Org Video Driver
[   108.264] 	ABI class: X.Org Video Driver, version 24.0
[   108.264] (II) LoadModule: "fbdev"
[   108.264] (WW) Warning, couldn't open module fbdev
[   108.264] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   108.264] (II) LoadModule: "vesa"
[   108.264] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[   108.264] (II) Module vesa: vendor="X.Org Foundation"
[   108.264] 	compiled for 1.20.0, module version = 2.4.0
[   108.264] 	Module class: X.Org Video Driver
[   108.264] 	ABI class: X.Org Video Driver, version 24.0
[   108.264] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   108.264] (II) VESA: driver for VESA chipsets: vesa
[   108.264] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[   108.267] (II) modeset(0): using drv /dev/dri/card0
[   108.267] (II) modeset(G0): using drv /dev/dri/card1
[   108.267] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   108.267] (II) modeset(0): Creating default Display subsection in Screen section
	"Builtin Default modesetting Screen 0" for depth/fbbpp 24/32
[   108.267] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[   108.267] (==) modeset(0): RGB weight 888
[   108.267] (==) modeset(0): Default visual is TrueColor
[   108.267] (II) Loading sub module "glamoregl"
[   108.267] (II) LoadModule: "glamoregl"
[   108.267] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[   108.269] (II) Module glamoregl: vendor="X.Org Foundation"
[   108.269] 	compiled for 1.20.5, module version = 1.0.1
[   108.269] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   108.278] (II) modeset(0): glamor X acceleration enabled on Mesa DRI Intel(R) UHD Graphics 630 (Coffeelake 3x8 GT2) 
[   108.278] (II) modeset(0): glamor initialized
[   108.280] (II) modeset(0): Output eDP-1 has no monitor section
[   108.280] (II) modeset(0): Output DP-1 has no monitor section
[   108.280] (II) modeset(0): Output DP-2 has no monitor section
[   108.282] (II) modeset(0): EDID for output eDP-1
[   108.282] (II) modeset(0): Manufacturer: LGD  Model: 5c0  Serial#: 0
[   108.282] (II) modeset(0): Year: 2017  Week: 0
[   108.282] (II) modeset(0): EDID Version: 1.4
[   108.282] (II) modeset(0): Digital Display Input
[   108.282] (II) modeset(0): 8 bits per channel
[   108.282] (II) modeset(0): Digital interface is DisplayPort
[   108.282] (II) modeset(0): Aspect ratio: 1.78 (landscape)
[   108.282] (II) modeset(0): Gamma: 2.20
[   108.282] (II) modeset(0): DPMS capabilities: StandBy Suspend Off
[   108.282] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[   108.282] (II) modeset(0): First detailed timing is preferred mode
[   108.282] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[   108.282] (II) modeset(0): redX: 0.640 redY: 0.330   greenX: 0.305 greenY: 0.605
[   108.282] (II) modeset(0): blueX: 0.150 blueY: 0.055   whiteX: 0.313 whiteY: 0.329
[   108.282] (II) modeset(0): Manufacturer's mask: 0
[   108.282] (II) modeset(0): Supported detailed timing:
[   108.282] (II) modeset(0): clock: 346.5 MHz   Image Size:  344 x 194 mm
[   108.282] (II) modeset(0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2080 h_border: 0
[   108.282] (II) modeset(0): v_active: 1080  v_sync: 1083  v_sync_end 1088 v_blanking: 1157 v_border: 0
[   108.282] (II) modeset(0): Supported detailed timing:
[   108.282] (II) modeset(0): clock: 144.4 MHz   Image Size:  344 x 194 mm
[   108.282] (II) modeset(0): h_active: 1920  h_sync: 1968  h_sync_end 2000 h_blank_end 2080 h_border: 0
[   108.282] (II) modeset(0): v_active: 1080  v_sync: 1083  v_sync_end 1088 v_blanking: 1157 v_border: 0
[   108.282] (II) modeset(0): Unknown vendor-specific block 2
[   108.282] (II) modeset(0): EDID (in hex):
[   108.282] (II) modeset(0): 	00ffffffffffff0030e4c00500000000
[   108.282] (II) modeset(0): 	001b0104a54f0078eae085a3544e9b26
[   108.282] (II) modeset(0): 	0e505400000001010101010101010101
[   108.282] (II) modeset(0): 	0101010101015e8780a070384d403020
[   108.282] (II) modeset(0): 	350058c21000001b683880a070384d40
[   108.282] (II) modeset(0): 	3020350058c21000001b000000000000
[   108.282] (II) modeset(0): 	00000000000000000000000000000002
[   108.282] (II) modeset(0): 	000c30f20f3c962e12309e00000000a8
[   108.282] (II) modeset(0): Printing probed modes for output eDP-1
[   108.282] (II) modeset(0): Modeline "1920x1080"x144.0  346.54  1920 1968 2000 2080  1080 1083 1088 1157 +hsync -vsync (166.6 kHz eP)
[   108.282] (II) modeset(0): Modeline "1920x1080"x120.0  356.38  1920 2080 2288 2656  1080 1081 1084 1118 doublescan -hsync +vsync (134.2 kHz d)
[   108.282] (II) modeset(0): Modeline "1920x1080"x119.9  266.50  1920 1944 1960 2000  1080 1081 1084 1111 doublescan +hsync -vsync (133.2 kHz d)
[   108.282] (II) modeset(0): Modeline "1920x1080"x60.0  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync (67.2 kHz d)
[   108.282] (II) modeset(0): Modeline "1920x1080"x60.0  144.40  1920 1968 2000 2080  1080 1083 1088 1157 +hsync -vsync (69.4 kHz e)
[   108.282] (II) modeset(0): Modeline "1920x1080"x59.9  138.50  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.6 kHz d)
[   108.282] (II) modeset(0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz d)
[   108.282] (II) modeset(0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz d)
[   108.282] (II) modeset(0): Modeline "1400x1050"x74.8  155.80  1400 1464 1784 1912  1050 1052 1064 1090 +hsync +vsync (81.5 kHz d)
[   108.282] (II) modeset(0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[   108.282] (II) modeset(0): Modeline "1600x900"x120.0  246.00  1600 1728 1900 2200  900 901 904 932 doublescan -hsync +vsync (111.8 kHz d)
[   108.282] (II) modeset(0): Modeline "1600x900"x119.9  186.50  1600 1624 1640 1680  900 901 904 926 doublescan +hsync -vsync (111.0 kHz d)
[   108.282] (II) modeset(0): Modeline "1600x900"x59.9  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync (56.0 kHz d)
[   108.282] (II) modeset(0): Modeline "1600x900"x59.8   97.50  1600 1648 1680 1760  900 903 908 926 +hsync -vsync (55.4 kHz d)
[   108.282] (II) modeset(0): Modeline "1280x1024"x85.0  157.50  1280 1344 1504 1728  1024 1025 1028 1072 +hsync +vsync (91.1 kHz d)
[   108.282] (II) modeset(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz d)
[   108.282] (II) modeset(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[   108.282] (II) modeset(0): Modeline "1400x900"x60.0  103.50  1400 1480 1624 1848  900 903 913 934 -hsync +vsync (56.0 kHz d)
[   108.282] (II) modeset(0): Modeline "1400x900"x59.9   86.50  1400 1448 1480 1560  900 903 913 926 +hsync -vsync (55.4 kHz d)
[   108.282] (II) modeset(0): Modeline "1280x960"x85.0  148.50  1280 1344 1504 1728  960 961 964 1011 +hsync +vsync (85.9 kHz d)
[   108.282] (II) modeset(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz d)
[   108.282] (II) modeset(0): Modeline "1440x810"x120.0  198.12  1440 1548 1704 1968  810 811 814 839 doublescan -hsync +vsync (100.7 kHz d)
[   108.282] (II) modeset(0): Modeline "1440x810"x119.9  151.88  1440 1464 1480 1520  810 811 814 833 doublescan +hsync -vsync (99.9 kHz d)
[   108.282] (II) modeset(0): Modeline "1368x768"x59.9   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync (47.8 kHz d)
[   108.282] (II) modeset(0): Modeline "1368x768"x59.9   72.25  1368 1416 1448 1528  768 771 781 790 +hsync -vsync (47.3 kHz d)
[   108.282] (II) modeset(0): Modeline "1280x800"x120.0  174.25  1280 1380 1516 1752  800 801 804 829 doublescan -hsync +vsync (99.5 kHz d)
[   108.282] (II) modeset(0): Modeline "1280x800"x119.9  134.25  1280 1304 1320 1360  800 801 804 823 doublescan +hsync -vsync (98.7 kHz d)
[   108.282] (II) modeset(0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz d)
[   108.282] (II) modeset(0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz d)
[   108.282] (II) modeset(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz d)
[   108.282] (II) modeset(0): Modeline "1280x720"x120.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[   108.282] (II) modeset(0): Modeline "1280x720"x120.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[   108.282] (II) modeset(0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[   108.282] (II) modeset(0): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[   108.282] (II) modeset(0): Modeline "1024x768"x170.0  194.02  1024 1108 1220 1416  768 768 770 806 doublescan -hsync +vsync (137.0 kHz d)
[   108.282] (II) modeset(0): Modeline "1024x768"x150.1  170.24  1024 1108 1220 1416  768 768 770 801 doublescan -hsync +vsync (120.2 kHz d)
[   108.282] (II) modeset(0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[   108.282] (II) modeset(0): Modeline "1024x768"x85.0   94.50  1024 1072 1168 1376  768 769 772 808 +hsync +vsync (68.7 kHz d)
[   108.282] (II) modeset(0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz d)
[   108.282] (II) modeset(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz d)
[   108.282] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[   108.282] (II) modeset(0): Modeline "1024x768i"x43.5   44.90  1024 1032 1208 1264  768 768 776 817 interlace +hsync +vsync (35.5 kHz d)
[   108.282] (II) modeset(0): Modeline "960x720"x170.0  170.68  960 1036 1144 1328  720 720 722 756 doublescan -hsync +vsync (128.5 kHz d)
[   108.282] (II) modeset(0): Modeline "960x720"x150.0  148.50  960 1032 1144 1320  720 720 722 750 doublescan -hsync +vsync (112.5 kHz d)
[   108.282] (II) modeset(0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[   108.282] (II) modeset(0): Modeline "928x696"x150.0  144.00  928 992 1104 1280  696 696 698 750 doublescan -hsync +vsync (112.5 kHz d)
[   108.282] (II) modeset(0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[   108.282] (II) modeset(0): Modeline "896x672"x150.1  130.50  896 944 1052 1228  672 672 674 708 doublescan -hsync +vsync (106.3 kHz d)
[   108.282] (II) modeset(0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[   108.282] (II) modeset(0): Modeline "1024x576"x119.9   98.50  1024 1092 1200 1376  576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[   108.282] (II) modeset(0): Modeline "1024x576"x119.9   78.38  1024 1048 1064 1104  576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[   108.282] (II) modeset(0): Modeline "1024x576"x59.9   46.50  1024 1064 1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz d)
[   108.282] (II) modeset(0): Modeline "1024x576"x59.8   42.00  1024 1072 1104 1184  576 579 584 593 +hsync -vsync (35.5 kHz d)
[   108.282] (II) modeset(0): Modeline "960x600"x119.9   96.62  960 1028 1128 1296  600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[   108.282] (II) modeset(0): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[   108.282] (II) modeset(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz d)
[   108.282] (II) modeset(0): Modeline "960x540"x119.9   86.50  960 1024 1124 1288  540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[   108.282] (II) modeset(0): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[   108.282] (II) modeset(0): Modeline "960x540"x59.6   40.75  960 992 1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz d)
[   108.282] (II) modeset(0): Modeline "960x540"x59.8   37.25  960 1008 1040 1120  540 543 548 556 +hsync -vsync (33.3 kHz d)
[   108.282] (II) modeset(0): Modeline "800x600"x170.0  114.75  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (106.2 kHz d)
[   108.282] (II) modeset(0): Modeline "800x600"x150.0  101.25  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (93.8 kHz d)
[   108.282] (II) modeset(0): Modeline "800x600"x140.0   94.50  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (87.5 kHz d)
[   108.282] (II) modeset(0): Modeline "800x600"x130.0   87.75  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (81.2 kHz d)
[   108.282] (II) modeset(0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[   108.282] (II) modeset(0): Modeline "800x600"x85.1   56.30  800 832 896 1048  600 601 604 631 +hsync +vsync (53.7 kHz d)
[   108.282] (II) modeset(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz d)
[   108.282] (II) modeset(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz d)
[   108.282] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[   108.282] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[   108.282] (II) modeset(0): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[   108.282] (II) modeset(0): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[   108.282] (II) modeset(0): Modeline "864x486"x59.9   32.50  864 888 968 1072  486 489 494 506 -hsync +vsync (30.3 kHz d)
[   108.282] (II) modeset(0): Modeline "864x486"x59.6   30.50  864 912 944 1024  486 489 494 500 +hsync -vsync (29.8 kHz d)
[   108.282] (II) modeset(0): Modeline "700x525"x149.5   77.90  700 732 892 956  525 526 532 545 doublescan +hsync +vsync (81.5 kHz d)
[   108.282] (II) modeset(0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[   108.282] (II) modeset(0): Modeline "800x450"x119.9   59.12  800 848 928 1056  450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[   108.283] (II) modeset(0): Modeline "800x450"x119.6   48.75  800 824 840 880  450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[   108.283] (II) modeset(0): Modeline "640x512"x170.0   78.75  640 672 752 864  512 512 514 536 doublescan +hsync +vsync (91.1 kHz d)
[   108.283] (II) modeset(0): Modeline "640x512"x150.0   67.50  640 648 720 844  512 512 514 533 doublescan +hsync +vsync (80.0 kHz d)
[   108.283] (II) modeset(0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[   108.283] (II) modeset(0): Modeline "700x450"x119.9   51.75  700 740 812 924  450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[   108.283] (II) modeset(0): Modeline "700x450"x119.8   43.25  700 724 740 780  450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[   108.283] (II) modeset(0): Modeline "640x480"x170.2   74.25  640 672 752 864  480 480 482 505 doublescan +hsync +vsync (85.9 kHz d)
[   108.283] (II) modeset(0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[   108.283] (II) modeset(0): Modeline "640x480"x85.0   36.00  640 696 752 832  480 481 484 509 -hsync -vsync (43.3 kHz d)
[   108.283] (II) modeset(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz d)
[   108.283] (II) modeset(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz d)
[   108.283] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[   108.283] (II) modeset(0): Modeline "720x405"x59.5   22.50  720 744 808 896  405 408 413 422 -hsync +vsync (25.1 kHz d)
[   108.283] (II) modeset(0): Modeline "720x405"x59.0   21.75  720 768 800 880  405 408 413 419 +hsync -vsync (24.7 kHz d)
[   108.283] (II) modeset(0): Modeline "720x400"x85.0   35.50  720 756 828 936  400 401 404 446 -hsync +vsync (37.9 kHz d)
[   108.283] (II) modeset(0): Modeline "684x384"x119.8   42.62  684 720 788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[   108.283] (II) modeset(0): Modeline "684x384"x119.7   36.12  684 708 724 764  384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[   108.283] (II) modeset(0): Modeline "640x400"x119.8   41.75  640 676 740 840  400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[   108.283] (II) modeset(0): Modeline "640x400"x120.0   35.50  640 664 680 720  400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[   108.283] (II) modeset(0): Modeline "640x400"x85.1   31.50  640 672 736 832  400 401 404 445 -hsync +vsync (37.9 kHz d)
[   108.283] (II) modeset(0): Modeline "576x432"x150.0   54.00  576 608 672 800  432 432 434 450 doublescan +hsync +vsync (67.5 kHz d)
[   108.283] (II) modeset(0): Modeline "640x360"x119.7   37.25  640 672 736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[   108.283] (II) modeset(0): Modeline "640x360"x119.7   31.88  640 664 680 720  360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[   108.283] (II) modeset(0): Modeline "640x360"x59.8   18.00  640 664 720 800  360 363 368 376 -hsync +vsync (22.5 kHz d)
[   108.283] (II) modeset(0): Modeline "640x360"x59.3   17.75  640 688 720 800  360 363 368 374 +hsync -vsync (22.2 kHz d)
[   108.283] (II) modeset(0): Modeline "640x350"x85.1   31.50  640 672 736 832  350 382 385 445 +hsync -vsync (37.9 kHz d)
[   108.283] (II) modeset(0): Modeline "512x384"x170.0   47.25  512 536 584 688  384 384 386 404 doublescan +hsync +vsync (68.7 kHz d)
[   108.283] (II) modeset(0): Modeline "512x384"x150.1   39.38  512 520 568 656  384 384 386 400 doublescan +hsync +vsync (60.0 kHz d)
[   108.283] (II) modeset(0): Modeline "512x384"x140.1   37.50  512 524 592 664  384 385 388 403 doublescan -hsync -vsync (56.5 kHz d)
[   108.283] (II) modeset(0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[   108.283] (II) modeset(0): Modeline "512x384i"x87.1   22.45  512 516 604 632  384 384 388 408 interlace doublescan +hsync +vsync (35.5 kHz d)
[   108.283] (II) modeset(0): Modeline "512x288"x120.0   23.25  512 532 580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[   108.283] (II) modeset(0): Modeline "512x288"x119.8   21.00  512 536 552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[   108.283] (II) modeset(0): Modeline "416x312"x149.3   28.64  416 432 464 576  312 312 314 333 doublescan -hsync -vsync (49.7 kHz d)
[   108.283] (II) modeset(0): Modeline "480x270"x119.3   20.38  480 496 544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[   108.283] (II) modeset(0): Modeline "480x270"x119.6   18.62  480 504 520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[   108.283] (II) modeset(0): Modeline "400x300"x170.5   28.15  400 416 448 524  300 300 302 315 doublescan +hsync +vsync (53.7 kHz d)
[   108.283] (II) modeset(0): Modeline "400x300"x144.4   25.00  400 428 488 520  300 318 321 333 doublescan +hsync +vsync (48.1 kHz d)
[   108.283] (II) modeset(0): Modeline "400x300"x150.2   24.75  400 408 448 528  300 300 302 312 doublescan +hsync +vsync (46.9 kHz d)
[   108.283] (II) modeset(0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[   108.283] (II) modeset(0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[   108.283] (II) modeset(0): Modeline "432x243"x119.8   16.25  432 444 484 536  243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[   108.283] (II) modeset(0): Modeline "432x243"x119.1   15.25  432 456 472 512  243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[   108.283] (II) modeset(0): Modeline "320x240"x170.4   18.00  320 348 376 416  240 240 242 254 doublescan -hsync -vsync (43.3 kHz d)
[   108.283] (II) modeset(0): Modeline "320x240"x145.6   15.75  320 332 352 416  240 244 246 260 doublescan -hsync -vsync (37.9 kHz d)
[   108.283] (II) modeset(0): Modeline "320x240"x150.0   15.75  320 328 360 420  240 240 242 250 doublescan -hsync -vsync (37.5 kHz d)
[   108.283] (II) modeset(0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[   108.283] (II) modeset(0): Modeline "360x202"x119.0   11.25  360 372 404 448  202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[   108.283] (II) modeset(0): Modeline "360x202"x118.3   10.88  360 384 400 440  202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[   108.283] (II) modeset(0): Modeline "360x200"x170.1   17.75  360 378 414 468  200 200 202 223 doublescan -hsync +vsync (37.9 kHz d)
[   108.283] (II) modeset(0): Modeline "320x200"x170.5   15.75  320 336 368 416  200 200 202 222 doublescan -hsync +vsync (37.9 kHz d)
[   108.283] (II) modeset(0): Modeline "320x180"x119.7    9.00  320 332 360 400  180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[   108.283] (II) modeset(0): Modeline "320x180"x118.6    8.88  320 344 360 400  180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[   108.283] (II) modeset(0): Modeline "320x175"x170.5   15.75  320 336 368 416  175 191 192 222 doublescan +hsync -vsync (37.9 kHz d)
[   108.283] (II) modeset(0): EDID for output DP-1
[   108.283] (II) modeset(0): EDID for output DP-2
[   108.283] (II) modeset(0): Output eDP-1 connected
[   108.283] (II) modeset(0): Output DP-1 disconnected
[   108.283] (II) modeset(0): Output DP-2 disconnected
[   108.283] (II) modeset(0): Using exact sizes for initial modes
[   108.283] (II) modeset(0): Output eDP-1 using initial mode 1920x1080 +0+0
[   108.283] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[   108.283] (==) modeset(0): DPI set to (96, 96)
[   108.283] (II) Loading sub module "fb"
[   108.283] (II) LoadModule: "fb"
[   108.283] (II) Loading /usr/lib/xorg/modules/libfb.so
[   108.283] (II) Module fb: vendor="X.Org Foundation"
[   108.283] 	compiled for 1.20.5, module version = 1.0.0
[   108.283] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   108.283] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[   108.283] (==) modeset(G0): RGB weight 888
[   108.283] (==) modeset(G0): Default visual is TrueColor
[   108.283] (II) Loading sub module "glamoregl"
[   108.283] (II) LoadModule: "glamoregl"
[   108.283] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[   108.283] (II) Module glamoregl: vendor="X.Org Foundation"
[   108.283] 	compiled for 1.20.5, module version = 1.0.1
[   108.283] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   108.593] (II) modeset(G0): glamor X acceleration enabled on NV136
[   108.593] (II) modeset(G0): glamor initialized
[   108.595] (II) modeset(G0): Output HDMI-1-1 has no monitor section
[   108.647] (II) modeset(G0): Output DP-1-3 has no monitor section
[   108.648] (II) modeset(G0): EDID for output HDMI-1-1
[   108.700] (II) modeset(G0): EDID for output DP-1-3
[   108.700] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[   108.700] (==) modeset(G0): DPI set to (96, 96)
[   108.700] (II) Loading sub module "fb"
[   108.700] (II) LoadModule: "fb"
[   108.701] (II) Loading /usr/lib/xorg/modules/libfb.so
[   108.701] (II) Module fb: vendor="X.Org Foundation"
[   108.701] 	compiled for 1.20.5, module version = 1.0.0
[   108.701] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   108.701] (II) UnloadModule: "vesa"
[   108.701] (II) Unloading vesa
[   108.701] (EE) modeset(G0): drmSetMaster failed: Permission denied
[   108.701] (EE) 
Fatal server error:
[   108.701] (EE) AddScreen/ScreenInit failed for gpu driver 0 -1
[   108.701] (EE) 
[   108.701] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   108.701] (EE) Please also check the log file at "/home/barf//.local/share/xorg/Xorg.0.log" for additional information.
[   108.701] (EE) 
[   108.707] (EE) Server terminated with error (1). Closing log file.
 
Old 09-27-2019, 01:15 AM   #8
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Older: Coherent, MacOS, Red Hat, Big Iron IXs: AIX, Solaris, Tru64
Posts: 2,314

Rep: Reputation: 438Reputation: 438Reputation: 438Reputation: 438Reputation: 438
Quote:
Originally Posted by permaroot View Post
Hey all, I have a weird issue.

I use arch linux (but I figured this applies to all linux distros?) and have multiple installs.

On my desktop I installed xorg, xorg-xinit, etc as root after installation. I can log in as my non-privileged user and startx.

However, on my laptop I get errors such as xinit permission denied, or I/O permission denied (and keyboard wont work if it runs)

I then came across a post that said " You set it up as root so all the permissions were for root, which is a horrendous idea for X"

Link to Post

My questions are:

Why would it work with an identical install on my desktop but not my laptop?

How can you install packages as a non-root user when using sudo is basically doing the same thing?

How do you personally install xorg? As root?

Any help appreciated.
What do you see when you issue the following commands from your non-privved account?
Code:
$ groups
And then the command:
Code:
$ ls -l /dev/fb0
These will display the groups your account is a member of and the ownership and permissions on the framebuffer device.

I'm wondering if there isn't a permissions problem with your account that are denying access to the framebuffer device (fb0). The error regarding "fbdev" seems like it might be tied to this.

I have a server that has X installed but boots to the multiuser (not graphical) level. I was unable to successfully run "startx" using my non-privved account as it was not a member of the "video" group. Once I added my account to that group, I could start X. Of course, my account doesn't have an ".xinitrc" file setup so all I get is a barebones xterm with no window manager adornments. For my purposes, this works fine since I usually treat this server as headless (even though it's on a KVM) and I merely "ssh -CY servername" to it and any X application's output is redirected to the big monitor on my desktop system.

Your best bet, IMHO, is to install a graphical login manager and reset your system to boot to the graphical level (what we used to call "level 5"). If you really don't want the graphical boot and login manager, you'll have to find some tutorials on configuring an ".xinitrc" file.

As for the installation process... I'm not an Arch user so I cannot advise you on the proper method of doing installations on the distribution (especially the commands Arch uses). Normally I do software installation and removal using the root account---not via "sudo". It's one of the few activities that I think justifies using the root account directly.

HTH...
 
Old 09-27-2019, 04:00 AM   #9
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885Reputation: 885
Quote:
Originally Posted by permaroot View Post
I use arch linux (but I figured this applies to all linux distros?) and have multiple installs.
No, in Slackware startx works for non-root users, but there Xorg is setuid root:
Code:
-rwsr-xr-x 1 root root 2175580 2017-10-18 20:08:36 /usr/bin/Xorg
Quote:
I then came across a post that said " You set it up as root so all the permissions were for root, which is a horrendous idea for X"
When you run X through a DM (Display Manager) it runs as root anyway, because otherwise the "greeter" screen, which is shown in X before any user is logged in, cannot be run.
But some distro's think that that is a security problem, so they remove the setuid bit from the executable.
 
Old 09-28-2019, 12:47 AM   #10
permaroot
Member
 
Registered: Aug 2019
Location: Arden, NC
Distribution: Arch Linux
Posts: 129

Original Poster
Rep: Reputation: 48
So instead of hunting down the problem I clearly created by not following the golden root rule, I decided to start from scratch.

I reinstalled, chrooted in, installed wpa_supplicant, added my basic user and added to wheel group.

Reboot.

Installed all xorg etc with sudo, copied the example xinitrc, added exec i3, and startx worked like a dream.

Not sure what the issue was. Perhaps it was using startx for the first time as root? Because on my desktop it works just fine with both root and normal user.

I will, from now on, just su to root from normal user as per the recommendation of most that posted and the linux world in general.

Thank you for all the replies.

I wasn't trying to be stubborn, I just wanted to know WHY it did what it did.

But logging in as root instead of using su when needed seems to have really ticked off arch.




Thanks again.
 
Old 09-28-2019, 06:09 AM   #11
zeebra
Member
 
Registered: Dec 2011
Distribution: Mageia, Slackware
Posts: 958
Blog Entries: 11

Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by permaroot View Post
However, I’m confused as to why you shouldn’t run startx as root, and how that would effect other users ability to use startx?
You can startx as root, and it wount affect other users. But you still shouldn't.
 
Old 09-28-2019, 12:38 PM   #12
permaroot
Member
 
Registered: Aug 2019
Location: Arden, NC
Distribution: Arch Linux
Posts: 129

Original Poster
Rep: Reputation: 48
Quote:
Originally Posted by zeebra View Post
You can startx as root, and it wount affect other users. But you still shouldn't.
Thats what I thought. This has never been an issue.

After reinstalling it started doing the same thing. I finally narrowed down the issue.

When start wpa_supplicant before x, x does NOT work.

Reboot, startx, then wpa_supplicant, it works. I can replicate it over and over.

Ill post this in the Arch Linux section to see if someone can reproduce and then I will submit it as a bug if needed.....Thanks again for the replies.
 
1 members found this post helpful.
Old 09-29-2019, 04:48 AM   #13
zeebra
Member
 
Registered: Dec 2011
Distribution: Mageia, Slackware
Posts: 958
Blog Entries: 11

Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by permaroot View Post
After reinstalling it started doing the same thing. I finally narrowed down the issue.

When start wpa_supplicant before x, x does NOT work.

Reboot, startx, then wpa_supplicant, it works. I can replicate it over and over.
That's weird and interesting...
 
Old 09-29-2019, 11:28 AM   #14
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: Slackware®
Posts: 13,639
Blog Entries: 36

Rep: Reputation: 2821Reputation: 2821Reputation: 2821Reputation: 2821Reputation: 2821Reputation: 2821Reputation: 2821Reputation: 2821Reputation: 2821Reputation: 2821Reputation: 2821
Member Response

Hi,

Quote:
Originally Posted by permaroot View Post
<snip>

I will, from now on, just su to root from normal user as per the recommendation of most that posted and the linux world in general.

Thank you for all the replies.

I wasn't trying to be stubborn, I just wanted to know WHY it did what it did.

But logging in as root instead of using su when needed seems to have really ticked off arch.

Thanks again.
First man su;
Quote:
su - change user ID or become superuser
...

-, -l, --login
Provide an environment similar to what the user would expect had the user logged in directly.

When - is used, it must be specified before any username. For portability it is recommended to use it as last option, before any
username. The other forms (-l and --login) do not have this restriction.
So to have root environment you should be using 'su -' in terminal and have the root password. I use root all the time when maintaining my systems but you should be aware of any potential problems or issues when you are 'superuser'. Caution!!!
BTW, I use a active written notebook to keep tract of my system changes or issues. That way I know what and where I made changes so I can revert if necessary by looking at this log book.

Hope this helps.
Have fun & enjoy!
 
Old 09-29-2019, 05:41 PM   #15
permaroot
Member
 
Registered: Aug 2019
Location: Arden, NC
Distribution: Arch Linux
Posts: 129

Original Poster
Rep: Reputation: 48
Quote:
Originally Posted by onebuck View Post
Hi,

First man su; So to have root environment you should be using 'su -' in terminal and have the root password. I use root all the time when maintaining my systems but you should be aware of any potential problems or issues when you are 'superuser'. Caution!!!
BTW, I use a active written notebook to keep tract of my system changes or issues. That way I know what and where I made changes so I can revert if necessary by looking at this log book.

Hope this helps.
Have fun & enjoy!
Yeah I just got into a bad habit of using root. Its not hard to just su for multiple tasks then exit. Detailing changes is a good idea though. Might have to start doing that!

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Black Screen On Non-Root User After "startx" Command Konphine Slackware 8 08-11-2011 07:11 PM
startx by non-root user account in red hat linux kernel 2.6 chuikingman Linux - Server 1 02-04-2010 05:00 PM
How to change a process running in root-user to non-root user ???????????????????? narendra1310 Linux - Software 4 10-29-2009 03:11 AM
Cannot startx as non-root user paul.nel Linux - General 1 04-07-2005 03:51 PM
unable to startx as non-root user raska Slackware 7 11-22-2004 07:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration