You are not logged in.

#1 2016-01-26 10:32:21

gagna
Member
Registered: 2016-01-26
Posts: 5

[SOLVED]startx/xinit works only as root, mktemp permission error

I successfully installed arch following the beginners guide on the wiki.
I installed arch on VirtualBox and everything goes fine, startx and xinit works for normal user
When I repeat the process on my old desktop pc (mounting Nvidia 9800 Gtx) I discover that startx and xinit runs only as root

After install and reboot to the new system I added normal user and inserted him in sudoers conf file, then I installed Xorg with this:
(I choosed mesa-libgl)

sudo pacman -S xorg-server xorg-server-utils xorg-xinit xorg-twm xorg-xclock xterm

I don't understand if video driver is installed with the command above, so I installed with this:

sudo pacman -S xf86-video-nouveau

On virtualbox I also installed

xf86-video-intel

I have not changed any configuration file

My home:

drwx------ 2 g46n4 g46n4 4096 26 gen 10.44 .
drwxr-xr-x 4 root  root  4096 25 gen 20.14 ..
-rw-r--r-- 1 g46n4 g46n4   21 23 nov 21.20 .bash_logout
-rw-r--r-- 1 g46n4 g46n4   57 23 nov 21.20 .bash_profile
-rw-r--r-- 1 g46n4 g46n4  141 23 nov 21.20 .bashrc
-rw-r--r-- 1 g46n4 g46n4    0 26 gen 10.44 log.txt
-rw------- 1 g46n4 g46n4    0 26 gen 10.43 .Xauthority
-rw-r--r-- 1 g46n4 g46n4   29 25 gen 20.15 .zshrc

/var/log/Xorg.0.log

[  1041.582] 
X.Org X Server 1.18.0
Release Date: 2015-11-09
[  1041.584] X Protocol Version 11, Revision 0
[  1041.585] Build Operating System: Linux 4.2.5-1-ARCH x86_64 
[  1041.585] Current Operating System: Linux arch-desktop 4.3.3-3-ARCH #1 SMP PREEMPT Wed Jan 20 08:12:23 CET 2016 x86_64
[  1041.585] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=ca139891-c562-4611-97fc-3faa1ebf0b11 rw quiet
[  1041.587] Build Date: 08 January 2016  05:56:16PM
[  1041.588]  
[  1041.589] Current version of pixman: 0.32.8
[  1041.590] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  1041.590] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1041.594] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jan 26 10:42:10 2016
[  1041.614] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1041.625] (==) No Layout section.  Using the first Screen section.
[  1041.625] (==) No screen section available. Using defaults.
[  1041.625] (**) |-->Screen "Default Screen Section" (0)
[  1041.625] (**) |   |-->Monitor "<default monitor>"
[  1041.633] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  1041.633] (==) Automatically adding devices
[  1041.633] (==) Automatically enabling devices
[  1041.633] (==) Automatically adding GPU devices
[  1041.633] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1041.657] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  1041.657] 	Entry deleted from font path.
[  1041.657] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  1041.657] 	Entry deleted from font path.
[  1041.657] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  1041.658] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  1041.658] 	Entry deleted from font path.
[  1041.658] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  1041.658] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/
[  1041.658] (==) ModulePath set to "/usr/lib/xorg/modules"
[  1041.658] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  1041.658] (II) Loader magic: 0x819d40
[  1041.658] (II) Module ABI versions:
[  1041.658] 	X.Org ANSI C Emulation: 0.4
[  1041.658] 	X.Org Video Driver: 20.0
[  1041.658] 	X.Org XInput driver : 22.1
[  1041.658] 	X.Org Server Extension : 9.0
[  1041.660] (--) using VT number 2

[  1041.660] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  1041.661] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1041.664] (--) PCI:*(0:2:0:0) 10de:0614:1043:82de rev 162, Mem @ 0xf2000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x00001100/128
[  1041.664] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  1041.672] (II) LoadModule: "glx"
[  1041.704] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1041.805] (II) Module glx: vendor="X.Org Foundation"
[  1041.805] 	compiled for 1.18.0, module version = 1.0.0
[  1041.805] 	ABI class: X.Org Server Extension, version 9.0
[  1041.805] (==) AIGLX enabled
[  1041.805] (==) Matched nouveau as autoconfigured driver 0
[  1041.805] (==) Matched nv as autoconfigured driver 1
[  1041.805] (==) Matched nouveau as autoconfigured driver 2
[  1041.805] (==) Matched nv as autoconfigured driver 3
[  1041.805] (==) Matched modesetting as autoconfigured driver 4
[  1041.805] (==) Matched fbdev as autoconfigured driver 5
[  1041.806] (==) Matched vesa as autoconfigured driver 6
[  1041.806] (==) Assigned the driver to the xf86ConfigLayout
[  1041.806] (II) LoadModule: "nouveau"
[  1041.806] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[  1041.838] (II) Module nouveau: vendor="X.Org Foundation"
[  1041.838] 	compiled for 1.18.0, module version = 1.0.12
[  1041.838] 	Module class: X.Org Video Driver
[  1041.839] 	ABI class: X.Org Video Driver, version 20.0
[  1041.839] (II) LoadModule: "nv"
[  1041.839] (WW) Warning, couldn't open module nv
[  1041.839] (II) UnloadModule: "nv"
[  1041.839] (II) Unloading nv
[  1041.840] (EE) Failed to load module "nv" (module does not exist, 0)
[  1041.840] (II) LoadModule: "modesetting"
[  1041.840] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  1041.850] (II) Module modesetting: vendor="X.Org Foundation"
[  1041.850] 	compiled for 1.18.0, module version = 1.18.0
[  1041.850] 	Module class: X.Org Video Driver
[  1041.850] 	ABI class: X.Org Video Driver, version 20.0
[  1041.850] (II) LoadModule: "fbdev"
[  1041.850] (WW) Warning, couldn't open module fbdev
[  1041.850] (II) UnloadModule: "fbdev"
[  1041.850] (II) Unloading fbdev
[  1041.850] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  1041.850] (II) LoadModule: "vesa"
[  1041.850] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[  1041.859] (II) Module vesa: vendor="X.Org Foundation"
[  1041.859] 	compiled for 1.18.0, module version = 2.3.4
[  1041.859] 	Module class: X.Org Video Driver
[  1041.859] 	ABI class: X.Org Video Driver, version 20.0
[  1041.859] (II) NOUVEAU driver 
[  1041.859] (II) NOUVEAU driver for NVIDIA chipset families :
[  1041.859] 	RIVA TNT        (NV04)
[  1041.859] 	RIVA TNT2       (NV05)
[  1041.859] 	GeForce 256     (NV10)
[  1041.859] 	GeForce 2       (NV11, NV15)
[  1041.860] 	GeForce 4MX     (NV17, NV18)
[  1041.860] 	GeForce 3       (NV20)
[  1041.860] 	GeForce 4Ti     (NV25, NV28)
[  1041.860] 	GeForce FX      (NV3x)
[  1041.860] 	GeForce 6       (NV4x)
[  1041.860] 	GeForce 7       (G7x)
[  1041.860] 	GeForce 8       (G8x)
[  1041.860] 	GeForce GTX 200 (NVA0)
[  1041.860] 	GeForce GTX 400 (NVC0)
[  1041.860] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  1041.860] (II) VESA: driver for VESA chipsets: vesa
[  1041.863] (II) [drm] nouveau interface version: 1.3.0
[  1041.863] (WW) Falling back to old probe method for modesetting
[  1041.863] (WW) Falling back to old probe method for vesa
[  1041.863] (II) Loading sub module "dri2"
[  1041.863] (II) LoadModule: "dri2"
[  1041.863] (II) Module "dri2" already built-in
[  1041.863] (--) NOUVEAU(0): Chipset: "NVIDIA NV92"
[  1041.863] (II) NOUVEAU(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  1041.863] (==) NOUVEAU(0): Depth 24, (--) framebuffer bpp 32
[  1041.863] (==) NOUVEAU(0): RGB weight 888
[  1041.863] (==) NOUVEAU(0): Default visual is TrueColor
[  1041.864] (==) NOUVEAU(0): Using HW cursor
[  1041.864] (==) NOUVEAU(0): Allowed maximum DRI level 2.
[  1041.864] (==) NOUVEAU(0): GLX sync to VBlank enabled.
[  1041.864] (==) NOUVEAU(0): Page flipping enabled
[  1041.864] (==) NOUVEAU(0): Swap limit set to 1 [Max allowed 2]
[  1041.864] (==) NOUVEAU(0): Page flipping synced to vblank by kernel.
[  1041.864] (II) NOUVEAU(0): Initializing outputs ...
[  1041.894] (II) NOUVEAU(0): Output DVI-I-1 has no monitor section
[  1041.906] (II) NOUVEAU(0): Output DVI-I-2 has no monitor section
[  1041.906] (II) NOUVEAU(0): 2 crtcs needed for screen.
[  1041.909] (II) NOUVEAU(0): Allocated crtc nr. 0 to this screen.
[  1041.909] (II) NOUVEAU(0): Allocated crtc nr. 1 to this screen.
[  1041.939] (II) NOUVEAU(0): EDID for output DVI-I-1
[  1041.939] (II) NOUVEAU(0): Manufacturer: TEO  Model: 6770  Serial#: 2756
[  1041.939] (II) NOUVEAU(0): Year: 2005  Week: 8
[  1041.939] (II) NOUVEAU(0): EDID Version: 1.3
[  1041.939] (II) NOUVEAU(0): Analog Display Input,  Input Voltage Level: 0.700/0.700 V
[  1041.939] (II) NOUVEAU(0): Sync:  Separate  CompositeSerration on. V.Sync Pulse req. if CompSync or SyncOnGreen
[  1041.939] (II) NOUVEAU(0): Max Image Size [cm]: horiz.: 34  vert.: 27
[  1041.939] (II) NOUVEAU(0): Gamma: 2.20
[  1041.939] (II) NOUVEAU(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
[  1041.939] (II) NOUVEAU(0): First detailed timing is preferred mode
[  1041.939] (II) NOUVEAU(0): redX: 0.646 redY: 0.326   greenX: 0.292 greenY: 0.613
[  1041.939] (II) NOUVEAU(0): blueX: 0.142 blueY: 0.078   whiteX: 0.311 whiteY: 0.337
[  1041.939] (II) NOUVEAU(0): Supported established timings:
[  1041.939] (II) NOUVEAU(0): 720x400@70Hz
[  1041.939] (II) NOUVEAU(0): 640x480@60Hz
[  1041.939] (II) NOUVEAU(0): 640x480@67Hz
[  1041.939] (II) NOUVEAU(0): 640x480@72Hz
[  1041.939] (II) NOUVEAU(0): 640x480@75Hz
[  1041.940] (II) NOUVEAU(0): 800x600@56Hz
[  1041.940] (II) NOUVEAU(0): 800x600@60Hz
[  1041.940] (II) NOUVEAU(0): 800x600@72Hz
[  1041.940] (II) NOUVEAU(0): 800x600@75Hz
[  1041.940] (II) NOUVEAU(0): 832x624@75Hz
[  1041.940] (II) NOUVEAU(0): 1024x768@60Hz
[  1041.940] (II) NOUVEAU(0): 1024x768@70Hz
[  1041.940] (II) NOUVEAU(0): 1024x768@75Hz
[  1041.940] (II) NOUVEAU(0): 1280x1024@75Hz
[  1041.940] (II) NOUVEAU(0): Manufacturer's mask: 0
[  1041.940] (II) NOUVEAU(0): Supported standard timings:
[  1041.940] (II) NOUVEAU(0): #0: hsize: 1152  vsize 864  refresh: 60  vid: 16497
[  1041.940] (II) NOUVEAU(0): #1: hsize: 1152  vsize 864  refresh: 70  vid: 19057
[  1041.940] (II) NOUVEAU(0): #2: hsize: 1152  vsize 864  refresh: 75  vid: 20337
[  1041.940] (II) NOUVEAU(0): #3: hsize: 1280  vsize 960  refresh: 60  vid: 16513
[  1041.940] (II) NOUVEAU(0): #4: hsize: 1280  vsize 960  refresh: 70  vid: 19073
[  1041.940] (II) NOUVEAU(0): #5: hsize: 1280  vsize 960  refresh: 75  vid: 20353
[  1041.940] (II) NOUVEAU(0): #6: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
[  1041.940] (II) NOUVEAU(0): Supported detailed timing:
[  1041.940] (II) NOUVEAU(0): clock: 108.0 MHz   Image Size:  338 x 270 mm
[  1041.940] (II) NOUVEAU(0): h_active: 1280  h_sync: 1328  h_sync_end 1440 h_blank_end 1688 h_border: 0
[  1041.940] (II) NOUVEAU(0): v_active: 1024  v_sync: 1025  v_sync_end 1028 v_blanking: 1066 v_border: 0
[  1041.940] (II) NOUVEAU(0): Ranges: V min: 49 V max: 75 Hz, H min: 24 H max: 80 kHz, PixClock max 145 MHz
[  1041.940] (II) NOUVEAU(0): Monitor name: TECO TL766
[  1041.940] (II) NOUVEAU(0): Serial No: R25CH02756
[  1041.940] (II) NOUVEAU(0): EDID (in hex):
[  1041.940] (II) NOUVEAU(0): 	00ffffffffffff0050af7067c40a0000
[  1041.940] (II) NOUVEAU(0): 	080f01036d221b78eaac49a5534a9d24
[  1041.940] (II) NOUVEAU(0): 	144f56bfef007140714a714f8140814a
[  1041.940] (II) NOUVEAU(0): 	814f81800101302a009851002a403070
[  1041.940] (II) NOUVEAU(0): 	1300520e1100001e000000fd00314b18
[  1041.940] (II) NOUVEAU(0): 	500e000a202020202020000000fc0054
[  1041.940] (II) NOUVEAU(0): 	45434f20544c3736360a2020000000ff
[  1041.940] (II) NOUVEAU(0): 	00523235434830323735360a20200044
[  1041.940] (II) NOUVEAU(0): Printing probed modes for output DVI-I-1
[  1041.940] (II) NOUVEAU(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz eP)
[  1041.940] (II) NOUVEAU(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[  1041.940] (II) NOUVEAU(0): Modeline "1280x960"x75.0  129.94  1280 1368 1504 1728  960 961 964 1002 -hsync +vsync (75.2 kHz)
[  1041.940] (II) NOUVEAU(0): Modeline "1280x960"x70.0  120.90  1280 1368 1504 1728  960 961 964 999 -hsync +vsync (70.0 kHz)
[  1041.940] (II) NOUVEAU(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[  1041.940] (II) NOUVEAU(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[  1041.940] (II) NOUVEAU(0): Modeline "1152x864"x70.0   96.73  1152 1224 1344 1536  864 865 868 900 -hsync +vsync (63.0 kHz)
[  1041.940] (II) NOUVEAU(0): Modeline "1152x864"x60.0   81.58  1152 1216 1336 1520  864 865 868 895 -hsync +vsync (53.7 kHz)
[  1041.940] (II) NOUVEAU(0): Modeline "1024x768"x75.1   78.80  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.1 kHz e)
[  1041.940] (II) NOUVEAU(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[  1041.940] (II) NOUVEAU(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[  1041.940] (II) NOUVEAU(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[  1041.940] (II) NOUVEAU(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[  1041.940] (II) NOUVEAU(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[  1041.940] (II) NOUVEAU(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[  1041.940] (II) NOUVEAU(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[  1041.940] (II) NOUVEAU(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[  1041.940] (II) NOUVEAU(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 491 520 -hsync -vsync (37.9 kHz e)
[  1041.940] (II) NOUVEAU(0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[  1041.940] (II) NOUVEAU(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[  1041.940] (II) NOUVEAU(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[  1041.952] (II) NOUVEAU(0): EDID for output DVI-I-2
[  1041.952] (II) NOUVEAU(0): Output DVI-I-1 connected
[  1041.952] (II) NOUVEAU(0): Output DVI-I-2 disconnected
[  1041.952] (II) NOUVEAU(0): Using exact sizes for initial modes
[  1041.952] (II) NOUVEAU(0): Output DVI-I-1 using initial mode 1280x1024 +0+0
[  1041.952] (II) NOUVEAU(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[  1041.952] (--) NOUVEAU(0): Virtual size is 1280x1024 (pitch 0)
[  1041.952] (**) NOUVEAU(0):  Driver mode "1280x1024": 108.0 MHz (scaled from 0.0 MHz), 64.0 kHz, 60.0 Hz
[  1041.952] (II) NOUVEAU(0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz eP)
[  1041.952] (**) NOUVEAU(0):  Driver mode "1280x1024": 135.0 MHz (scaled from 0.0 MHz), 80.0 kHz, 75.0 Hz
[  1041.952] (II) NOUVEAU(0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[  1041.952] (**) NOUVEAU(0):  Mode "1280x960": 129.9 MHz (scaled from 0.0 MHz), 75.2 kHz, 75.0 Hz
[  1041.952] (II) NOUVEAU(0): Modeline "1280x960"x75.0  129.94  1280 1368 1504 1728  960 961 964 1002 -hsync +vsync (75.2 kHz)
[  1041.952] (**) NOUVEAU(0):  Mode "1280x960": 120.9 MHz (scaled from 0.0 MHz), 70.0 kHz, 70.0 Hz
[  1041.952] (II) NOUVEAU(0): Modeline "1280x960"x70.0  120.90  1280 1368 1504 1728  960 961 964 999 -hsync +vsync (70.0 kHz)
[  1041.952] (**) NOUVEAU(0):  Driver mode "1280x960": 108.0 MHz (scaled from 0.0 MHz), 60.0 kHz, 60.0 Hz
[  1041.952] (II) NOUVEAU(0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz e)
[  1041.952] (**) NOUVEAU(0):  Driver mode "1152x864": 108.0 MHz (scaled from 0.0 MHz), 67.5 kHz, 75.0 Hz
[  1041.952] (II) NOUVEAU(0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[  1041.952] (**) NOUVEAU(0):  Mode "1152x864": 96.7 MHz (scaled from 0.0 MHz), 63.0 kHz, 70.0 Hz
[  1041.952] (II) NOUVEAU(0): Modeline "1152x864"x70.0   96.73  1152 1224 1344 1536  864 865 868 900 -hsync +vsync (63.0 kHz)
[  1041.952] (**) NOUVEAU(0):  Mode "1152x864": 81.6 MHz (scaled from 0.0 MHz), 53.7 kHz, 60.0 Hz
[  1041.952] (II) NOUVEAU(0): Modeline "1152x864"x60.0   81.58  1152 1216 1336 1520  864 865 868 895 -hsync +vsync (53.7 kHz)
[  1041.952] (**) NOUVEAU(0):  Driver mode "1024x768": 78.8 MHz (scaled from 0.0 MHz), 60.1 kHz, 75.1 Hz
[  1041.952] (II) NOUVEAU(0): Modeline "1024x768"x75.1   78.80  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.1 kHz e)
[  1041.952] (**) NOUVEAU(0):  Driver mode "1024x768": 75.0 MHz (scaled from 0.0 MHz), 56.5 kHz, 70.1 Hz
[  1041.952] (II) NOUVEAU(0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[  1041.952] (**) NOUVEAU(0):  Driver mode "1024x768": 65.0 MHz (scaled from 0.0 MHz), 48.4 kHz, 60.0 Hz
[  1041.952] (II) NOUVEAU(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[  1041.952] (**) NOUVEAU(0):  Driver mode "832x624": 57.3 MHz (scaled from 0.0 MHz), 49.7 kHz, 74.6 Hz
[  1041.952] (II) NOUVEAU(0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[  1041.952] (**) NOUVEAU(0):  Driver mode "800x600": 50.0 MHz (scaled from 0.0 MHz), 48.1 kHz, 72.2 Hz
[  1041.952] (II) NOUVEAU(0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[  1041.952] (**) NOUVEAU(0):  Driver mode "800x600": 49.5 MHz (scaled from 0.0 MHz), 46.9 kHz, 75.0 Hz
[  1041.952] (II) NOUVEAU(0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[  1041.952] (**) NOUVEAU(0):  Driver mode "800x600": 40.0 MHz (scaled from 0.0 MHz), 37.9 kHz, 60.3 Hz
[  1041.952] (II) NOUVEAU(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[  1041.952] (**) NOUVEAU(0):  Driver mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz
[  1041.952] (II) NOUVEAU(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[  1041.952] (**) NOUVEAU(0):  Driver mode "640x480": 31.5 MHz (scaled from 0.0 MHz), 37.5 kHz, 75.0 Hz
[  1041.952] (II) NOUVEAU(0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[  1041.952] (**) NOUVEAU(0):  Driver mode "640x480": 31.5 MHz (scaled from 0.0 MHz), 37.9 kHz, 72.8 Hz
[  1041.952] (II) NOUVEAU(0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 491 520 -hsync -vsync (37.9 kHz e)
[  1041.952] (**) NOUVEAU(0):  Driver mode "640x480": 30.2 MHz (scaled from 0.0 MHz), 35.0 kHz, 66.7 Hz
[  1041.952] (II) NOUVEAU(0): Modeline "640x480"x66.7   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[  1041.952] (**) NOUVEAU(0):  Driver mode "640x480": 25.2 MHz (scaled from 0.0 MHz), 31.5 kHz, 60.0 Hz
[  1041.952] (II) NOUVEAU(0): Modeline "640x480"x60.0   25.20  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[  1041.952] (**) NOUVEAU(0):  Driver mode "720x400": 28.3 MHz (scaled from 0.0 MHz), 31.5 kHz, 70.1 Hz
[  1041.953] (II) NOUVEAU(0): Modeline "720x400"x70.1   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[  1041.953] (==) NOUVEAU(0): DPI set to (96, 96)
[  1041.953] (II) Loading sub module "fb"
[  1041.953] (II) LoadModule: "fb"
[  1041.953] (II) Loading /usr/lib/xorg/modules/libfb.so
[  1041.961] (II) Module fb: vendor="X.Org Foundation"
[  1041.961] 	compiled for 1.18.0, module version = 1.0.0
[  1041.961] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  1041.961] (II) Loading sub module "shadowfb"
[  1041.961] (II) LoadModule: "shadowfb"
[  1041.961] (II) Loading /usr/lib/xorg/modules/libshadowfb.so
[  1041.964] (II) Module shadowfb: vendor="X.Org Foundation"
[  1041.964] 	compiled for 1.18.0, module version = 1.0.0
[  1041.964] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  1041.964] (II) UnloadModule: "modesetting"
[  1041.964] (II) Unloading modesetting
[  1041.964] (II) UnloadModule: "vesa"
[  1041.964] (II) Unloading vesa
[  1041.964] (--) Depth 24 pixmap format is 32 bpp
[  1041.974] (II) NOUVEAU(0): Channel setup complete.
[  1041.995] (II) NOUVEAU(0): Hardware support for Present enabled
[  1041.996] (II) NOUVEAU(0): [DRI2] Setup complete
[  1041.996] (II) NOUVEAU(0): [DRI2]   DRI driver: nouveau
[  1041.996] (II) NOUVEAU(0): [DRI2]   VDPAU driver: nouveau
[  1041.996] (II) Loading sub module "exa"
[  1041.996] (II) LoadModule: "exa"
[  1041.996] (II) Loading /usr/lib/xorg/modules/libexa.so
[  1041.997] (II) Module exa: vendor="X.Org Foundation"
[  1041.997] 	compiled for 1.18.0, module version = 2.6.0
[  1041.997] 	ABI class: X.Org Video Driver, version 20.0
[  1041.997] (II) EXA(0): Driver allocated offscreen pixmaps
[  1041.997] (II) EXA(0): Driver registered support for the following operations:
[  1041.997] (II)         Solid
[  1041.997] (II)         Copy
[  1041.997] (II)         Composite (RENDER acceleration)
[  1041.997] (II)         UploadToScreen
[  1041.997] (II)         DownloadFromScreen
[  1041.997] (==) NOUVEAU(0): Backing store enabled
[  1041.997] (==) NOUVEAU(0): Silken mouse enabled
[  1041.997] (II) NOUVEAU(0): [XvMC] Associated with Nouveau GeForce 8/9 Textured Video.
[  1041.998] (II) NOUVEAU(0): [XvMC] Extension initialized.
[  1041.998] (==) NOUVEAU(0): DPMS enabled
[  1041.998] (II) NOUVEAU(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[  1041.998] (--) RandR disabled
[  1042.790] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[  1042.790] (II) AIGLX: enabled GLX_ARB_create_context
[  1042.790] (II) AIGLX: enabled GLX_ARB_create_context_profile
[  1042.790] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[  1042.790] (II) AIGLX: enabled GLX_INTEL_swap_event
[  1042.790] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[  1042.790] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[  1042.790] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[  1042.790] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[  1042.793] (II) AIGLX: Loaded and initialized nouveau
[  1042.793] (II) GLX: Initialized DRI2 GL provider for screen 0
[  1042.796] (II) NOUVEAU(0): NVEnterVT is called.
[  1042.837] (II) NOUVEAU(0): Setting screen physical size to 338 x 270
[  1042.838] resize called 1280 1024
[  1043.213] (II) config/udev: Adding input device Power Button (/dev/input/event4)
[  1043.213] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  1043.213] (II) LoadModule: "evdev"
[  1043.213] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[  1043.238] (II) Module evdev: vendor="X.Org Foundation"
[  1043.238] 	compiled for 1.18.0, module version = 2.10.1
[  1043.238] 	Module class: X.Org XInput Driver
[  1043.238] 	ABI class: X.Org XInput driver, version 22.1
[  1043.238] (II) Using input driver 'evdev' for 'Power Button'
[  1043.238] (**) Power Button: always reports core events
[  1043.238] (**) evdev: Power Button: Device: "/dev/input/event4"
[  1043.238] (--) evdev: Power Button: Vendor 0 Product 0x1
[  1043.238] (--) evdev: Power Button: Found keys
[  1043.238] (II) evdev: Power Button: Configuring as keyboard
[  1043.238] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input6/event4"
[  1043.238] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[  1043.238] (**) Option "xkb_rules" "evdev"
[  1043.239] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[  1043.240] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[  1043.240] (II) Using input driver 'evdev' for 'Power Button'
[  1043.240] (**) Power Button: always reports core events
[  1043.240] (**) evdev: Power Button: Device: "/dev/input/event3"
[  1043.240] (--) evdev: Power Button: Vendor 0 Product 0x1
[  1043.240] (--) evdev: Power Button: Found keys
[  1043.240] (II) evdev: Power Button: Configuring as keyboard
[  1043.240] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input5/event3"
[  1043.240] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[  1043.240] (**) Option "xkb_rules" "evdev"
[  1043.241] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/event0)
[  1043.241] (**) USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[  1043.241] (II) Using input driver 'evdev' for 'USB Optical Mouse'
[  1043.242] (**) USB Optical Mouse: always reports core events
[  1043.242] (**) evdev: USB Optical Mouse: Device: "/dev/input/event0"
[  1043.293] (--) evdev: USB Optical Mouse: Vendor 0x461 Product 0x4d0f
[  1043.293] (--) evdev: USB Optical Mouse: Found 3 mouse buttons
[  1043.293] (--) evdev: USB Optical Mouse: Found scroll wheel(s)
[  1043.293] (--) evdev: USB Optical Mouse: Found relative axes
[  1043.293] (--) evdev: USB Optical Mouse: Found x and y relative axes
[  1043.293] (II) evdev: USB Optical Mouse: Configuring as mouse
[  1043.293] (II) evdev: USB Optical Mouse: Adding scrollwheel support
[  1043.293] (**) evdev: USB Optical Mouse: YAxisMapping: buttons 4 and 5
[  1043.293] (**) evdev: USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  1043.293] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.1/usb4/4-2/4-2:1.0/0003:0461:4D0F.0001/input/input2/event0"
[  1043.293] (II) XINPUT: Adding extended input device "USB Optical Mouse" (type: MOUSE, id 8)
[  1043.293] (II) evdev: USB Optical Mouse: initialized for relative axes.
[  1043.294] (**) USB Optical Mouse: (accel) keeping acceleration scheme 1
[  1043.294] (**) USB Optical Mouse: (accel) acceleration profile 0
[  1043.294] (**) USB Optical Mouse: (accel) acceleration factor: 2.000
[  1043.294] (**) USB Optical Mouse: (accel) acceleration threshold: 4
[  1043.296] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/mouse0)
[  1043.296] (II) No input driver specified, ignoring this device.
[  1043.296] (II) This device may have been added with another device file.
[  1043.297] (II) config/udev: Adding input device SIGMACHIP USB Keyboard (/dev/input/event1)
[  1043.297] (**) SIGMACHIP USB Keyboard: Applying InputClass "evdev keyboard catchall"
[  1043.297] (II) Using input driver 'evdev' for 'SIGMACHIP USB Keyboard'
[  1043.297] (**) SIGMACHIP USB Keyboard: always reports core events
[  1043.298] (**) evdev: SIGMACHIP USB Keyboard: Device: "/dev/input/event1"
[  1043.298] (--) evdev: SIGMACHIP USB Keyboard: Vendor 0x1c4f Product 0x2
[  1043.298] (--) evdev: SIGMACHIP USB Keyboard: Found keys
[  1043.298] (II) evdev: SIGMACHIP USB Keyboard: Configuring as keyboard
[  1043.298] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.1/usb4/4-3/4-3:1.0/0003:1C4F:0002.0002/input/input3/event1"
[  1043.298] (II) XINPUT: Adding extended input device "SIGMACHIP USB Keyboard" (type: KEYBOARD, id 9)
[  1043.298] (**) Option "xkb_rules" "evdev"
[  1043.300] (II) config/udev: Adding input device SIGMACHIP USB Keyboard (/dev/input/event2)
[  1043.300] (**) SIGMACHIP USB Keyboard: Applying InputClass "evdev keyboard catchall"
[  1043.300] (II) Using input driver 'evdev' for 'SIGMACHIP USB Keyboard'
[  1043.300] (**) SIGMACHIP USB Keyboard: always reports core events
[  1043.300] (**) evdev: SIGMACHIP USB Keyboard: Device: "/dev/input/event2"
[  1043.301] (--) evdev: SIGMACHIP USB Keyboard: Vendor 0x1c4f Product 0x2
[  1043.301] (--) evdev: SIGMACHIP USB Keyboard: Found 1 mouse buttons
[  1043.301] (--) evdev: SIGMACHIP USB Keyboard: Found scroll wheel(s)
[  1043.301] (--) evdev: SIGMACHIP USB Keyboard: Found relative axes
[  1043.301] (II) evdev: SIGMACHIP USB Keyboard: Forcing relative x/y axes to exist.
[  1043.301] (--) evdev: SIGMACHIP USB Keyboard: Found absolute axes
[  1043.301] (II) evdev: SIGMACHIP USB Keyboard: Forcing absolute x/y axes to exist.
[  1043.301] (--) evdev: SIGMACHIP USB Keyboard: Found keys
[  1043.301] (II) evdev: SIGMACHIP USB Keyboard: Configuring as mouse
[  1043.301] (II) evdev: SIGMACHIP USB Keyboard: Configuring as keyboard
[  1043.301] (II) evdev: SIGMACHIP USB Keyboard: Adding scrollwheel support
[  1043.301] (**) evdev: SIGMACHIP USB Keyboard: YAxisMapping: buttons 4 and 5
[  1043.301] (**) evdev: SIGMACHIP USB Keyboard: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[  1043.301] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.1/usb4/4-3/4-3:1.1/0003:1C4F:0002.0003/input/input4/event2"
[  1043.301] (II) XINPUT: Adding extended input device "SIGMACHIP USB Keyboard" (type: KEYBOARD, id 10)
[  1043.301] (**) Option "xkb_rules" "evdev"
[  1043.301] (II) evdev: SIGMACHIP USB Keyboard: initialized for relative axes.
[  1043.302] (WW) evdev: SIGMACHIP USB Keyboard: ignoring absolute axes.
[  1043.302] (**) SIGMACHIP USB Keyboard: (accel) keeping acceleration scheme 1
[  1043.302] (**) SIGMACHIP USB Keyboard: (accel) acceleration profile 0
[  1043.302] (**) SIGMACHIP USB Keyboard: (accel) acceleration factor: 2.000
[  1043.302] (**) SIGMACHIP USB Keyboard: (accel) acceleration threshold: 4
[  1043.303] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event7)
[  1043.304] (II) No input driver specified, ignoring this device.
[  1043.304] (II) This device may have been added with another device file.
[  1043.304] (II) config/udev: Adding input device HDA ATI SB Mic (/dev/input/event8)
[  1043.304] (II) No input driver specified, ignoring this device.
[  1043.304] (II) This device may have been added with another device file.
[  1043.305] (II) config/udev: Adding input device HDA ATI SB Line (/dev/input/event9)
[  1043.305] (II) No input driver specified, ignoring this device.
[  1043.305] (II) This device may have been added with another device file.
[  1043.306] (II) config/udev: Adding input device HDA ATI SB Line Out (/dev/input/event10)
[  1043.306] (II) No input driver specified, ignoring this device.
[  1043.306] (II) This device may have been added with another device file.
[  1043.307] (II) config/udev: Adding input device HDA ATI SB Front Headphone (/dev/input/event11)
[  1043.307] (II) No input driver specified, ignoring this device.
[  1043.307] (II) This device may have been added with another device file.
[  1043.308] (II) config/udev: Adding input device PC Speaker (/dev/input/event5)
[  1043.308] (II) No input driver specified, ignoring this device.
[  1043.308] (II) This device may have been added with another device file.
[  1043.310] (II) config/udev: Adding input device HP WMI hotkeys (/dev/input/event6)
[  1043.310] (**) HP WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[  1043.310] (II) Using input driver 'evdev' for 'HP WMI hotkeys'
[  1043.310] (**) HP WMI hotkeys: always reports core events
[  1043.310] (**) evdev: HP WMI hotkeys: Device: "/dev/input/event6"
[  1043.310] (--) evdev: HP WMI hotkeys: Vendor 0 Product 0
[  1043.310] (--) evdev: HP WMI hotkeys: Found keys
[  1043.310] (II) evdev: HP WMI hotkeys: Configuring as keyboard
[  1043.310] (**) Option "config_info" "udev:/sys/devices/virtual/input/input9/event6"
[  1043.310] (II) XINPUT: Adding extended input device "HP WMI hotkeys" (type: KEYBOARD, id 11)
[  1043.310] (**) Option "xkb_rules" "evdev"
[  1066.827] (II) evdev: HP WMI hotkeys: Close
[  1066.828] (II) UnloadModule: "evdev"
[  1066.828] (II) evdev: SIGMACHIP USB Keyboard: Close
[  1066.828] (II) UnloadModule: "evdev"
[  1066.828] (II) evdev: SIGMACHIP USB Keyboard: Close
[  1066.828] (II) UnloadModule: "evdev"
[  1066.828] (II) evdev: USB Optical Mouse: Close
[  1066.828] (II) UnloadModule: "evdev"
[  1066.828] (II) evdev: Power Button: Close
[  1066.828] (II) UnloadModule: "evdev"
[  1066.828] (II) evdev: Power Button: Close
[  1066.828] (II) UnloadModule: "evdev"
[  1066.864] (II) NOUVEAU(0): NVLeaveVT is called.
[  1067.023] (II) Server terminated successfully (0). Closing log file.

Last edited by gagna (2016-01-26 18:49:18)

Offline

#2 2016-01-26 12:36:52

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

Re: [SOLVED]startx/xinit works only as root, mktemp permission error

Welcome to the forums.  Thanks for taking the time to provide good information and logs.  In this case I think the problem is very simple:

[  1067.023] (II) Server terminated successfully (0). Closing log file.

That message is quite clear.  X ran successfully.  It did everything it was told to do, then exitted.

You need to create an ~/.xinitrc (or install xterm and twm used by the system default xinitrc).  Presumably you created a /root/.xinitrc which is a bad idea, but that's why you can run startx as root.

EDIT: definitely see the below comment.  I assumed the log would have been from the session that you thought was failing.  Given that it ran for 23 seconds, I suspect this might be the successful attempt ran as root.  Just the same, you do not have a ~/.xinitrc - so unless you have twm and xterm installed, X will exit immediately.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2016-01-26 13:05:26

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,373

Re: [SOLVED]startx/xinit works only as root, mktemp permission error

You might also want to look into your ~/.local/share/xorg/ dir, as that is where xorg stores logs if started as an user

Offline

#4 2016-01-26 18:37:29

gagna
Member
Registered: 2016-01-26
Posts: 5

Re: [SOLVED]startx/xinit works only as root, mktemp permission error

.

V1del wrote:

You might also want to look into your ~/.local/share/xorg/ dir, as that is where xorg stores logs if started as an user

I don't have this path in my home dir

Twm Xclock and xterm was installed

My root folder doesn't contain .xinitrc

If I ran

sudo startx

everything works, I see xterm xclock etc..

According to wiki

If .xinitrc is present in a user's home directory, startx and xinit execute it. Otherwise startx will run the default /etc/X11/xinit/xinitrc

If iran startx as normal user:

mktemp: failed to create file via template `/tmp/serverauth.XXXXXXXXXX': Permission denied

Offline

#5 2016-01-26 18:46:16

gagna
Member
Registered: 2016-01-26
Posts: 5

Re: [SOLVED]startx/xinit works only as root, mktemp permission error

I solved, the problem was the permission of /tmp folder, I don't understand why they are set incorrectly

sudo chmod 777 /tmp

Offline

#6 2016-01-26 19:02:15

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

Re: [SOLVED]startx/xinit works only as root, mktemp permission error

I'm glad it working, but 777 is not quite right for tmp.  And setting the permissions manually is - at best - a bandaid on the problem.  You should figure out the real cause, not just cover up the symptom.

The output of `mount` could be useful in figuring out what is wrong with /tmp


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#7 2016-01-27 01:06:35

gagna
Member
Registered: 2016-01-26
Posts: 5

Re: [SOLVED]startx/xinit works only as root, mktemp permission error

I have /tmp on separate partition, maybe this is the cause
I changed again permission with

chmod 1777 /tmp

Offline

#8 2016-01-27 01:20:39

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

Re: [SOLVED]startx/xinit works only as root, mktemp permission error

Ah, yes, that would do it.  Do you have a good reason for mounting a partition on /tmp?  Generally it would not need to be a "separate" partition as it is normally not on-disk storage at all: it is tmpfs.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2016-01-27 01:47:15

gagna
Member
Registered: 2016-01-26
Posts: 5

Re: [SOLVED]startx/xinit works only as root, mktemp permission error

No reason, when I installed  arch disk was already parted, I re-create fs and set the mount point, / , /var , swap, /home and /tmp, that's all.

Offline

#10 2020-07-04 19:02:20

aacepistole
Member
Registered: 2020-07-03
Posts: 1

Re: [SOLVED]startx/xinit works only as root, mktemp permission error

Hello,

This thread is marked as solved, but notice that the underlying problem has not been identified.  As Trilby identied, using chmod is a bandaid.  I have seen the same problem posted in other forums, so I am posting this flag where this problem may originate for others who may have this problem.

I was getting the same error messages and experiencing the same problem as ganga.  The problem went hand-in-hand with a myriad of other permission errors when I was writing to files.  I basically could only use my system as root. After a couple of attempts at reinstalling, I no longer have either of these problems.

Installation mount point: My install was to a USB as a learning exercise, but that brought with it its own challenges.  The relevant wiki important of course (https://wiki.archlinux.org/index.php/In … ble_medium) as well as the walk-through implementation that it links to (https://magyar.urown.cloud/arch-usb.html).

   I was receiving the same error message as somebody who has installed with a their /tmp on a separate partition.

1. Ram Disk Configuation: As per the wiki and C-Magyar, when installing to a removable medium, it is recommended that you adjust the Hooks in the mkinitcpio.conf before regenerating the Ram Disk Image.  I'm not giving instructions (nobody should ever follow my instructions), here, but merely flagging a procedure to look into.  The mkinitcpio has the following note that may be relevant:

"NOTE: If you have /usr on a separate partition, you MUST include the
#    usr, fsck and shutdown hooks.
HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)"

I've never heard of installing a /tmp root, but is it possibly causing the equivalent logical problem as having a /usr without the usr HOOK added for the Ram Disk?

2. I was installing everything as root before making a user, giving it sudoer rights, and logging in under that and performing the software installations with sudo.

My contribution is basically RTFM, but I think it is helpful to point out the specific parts of the existing wikis/guides to pay close attention to.  I am probably pretty near the minimal threshold linux knowledge to actually run Arch.

Regards,
AAC

Offline

#11 2020-07-04 22:17:14

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,653
Website

Re: [SOLVED]startx/xinit works only as root, mktemp permission error

/tmp should have permissions of 1777. Systemd will set this automatically if you let it use the default tmpfs setup. If you opt to use a partition instead, then you need to set the permissions on that partition's root yourself. That's all.

Closing this old thread.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB