XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created

Настройка графического интерфейса, Иксов, десктопов, оконных менеджеров и иксовых терминалов

Модераторы: broom, aim

UriyZenkov
Сообщения: 347
ОС: Devuan GNU/Linux

XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created

Сообщение UriyZenkov » 02.08.2018 21:10

Пытался удалить elogind, чтоб пользоваться просто /sbin/login
apt-purge elogind
Во время удаления система повисла. После перезагрузки получил ошибку dpkg и ошибку запуска иксов.
Ошибка dpkg:

Код: Выделить всё

Reading package lists… Error!
E: Encountered a section with no Package: header
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-amd64_Packages
E: The package lists or status file could not be parsed or opened
и исправил восстановлением резервной копии /var/lib/dpkg/status из /var/backups

Ошибка xorg:

Код: Выделить всё

XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created
Если сделать chown root /tmp/.X11-unix
и повторно запустить startx, то будет следующая ошибка:
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
то иксы не показывают ошибок и не запускаются.

При всём этом, под root иксы работают.
Спасибо сказали:

UriyZenkov
Сообщения: 347
ОС: Devuan GNU/Linux

Re: XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created

Сообщение UriyZenkov » 02.08.2018 21:45

XORG.LOG

Код: Выделить всё

[  4582.989] 
X.Org X Server 1.19.2
Release Date: 2017-03-02
[  4582.996] X Protocol Version 11, Revision 0
[  4582.999] Build Operating System: Linux 4.9.0-4-amd64 x86_64 Debian
[  4583.003] Current Operating System: Linux yura 4.9.0-6-amd64 #1 SMP Debian 4.9.88-1+deb9u1 (2018-05-07) x86_64
[  4583.003] Kernel command line: BOOT_IMAGE=Linux ro root=UUID=cc1e10fd-a3ee-4739-9ee8-5b8e05803053
[  4583.008] Build Date: 16 October 2017  08:19:45AM
[  4583.010] xorg-server 2:1.19.2-1+deb9u2 (https://www.debian.org/support) 
[  4583.012] Current version of pixman: 0.34.0
[  4583.017] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  4583.017] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  4583.026] (==) Log file: "/home/yura/.local/share/xorg/Xorg.2.log", Time: Thu Aug  2 21:43:07 2018
[  4583.028] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  4583.029] (==) No Layout section.  Using the first Screen section.
[  4583.029] (==) No screen section available. Using defaults.
[  4583.029] (**) |-->Screen "Default Screen Section" (0)
[  4583.029] (**) |   |-->Monitor "<default monitor>"
[  4583.029] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  4583.029] (==) Automatically adding devices
[  4583.029] (==) Automatically enabling devices
[  4583.029] (==) Automatically adding GPU devices
[  4583.029] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  4583.029] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  4583.029] 	Entry deleted from font path.
[  4583.029] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  4583.029] 	Entry deleted from font path.
[  4583.029] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  4583.029] 	Entry deleted from font path.
[  4583.029] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  4583.029] 	Entry deleted from font path.
[  4583.029] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  4583.029] 	Entry deleted from font path.
[  4583.029] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins
[  4583.029] (==) ModulePath set to "/usr/lib/xorg/modules"
[  4583.029] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  4583.029] (II) Loader magic: 0x55e7fe39ae00
[  4583.029] (II) Module ABI versions:
[  4583.029] 	X.Org ANSI C Emulation: 0.4
[  4583.029] 	X.Org Video Driver: 23.0
[  4583.029] 	X.Org XInput driver : 24.1
[  4583.029] 	X.Org Server Extension : 10.0
[  4583.030] (++) using VT number 1

[  4583.031] (EE) systemd-logind: failed to get session: PID 4000 does not belong to any known session
[  4583.031] (II) xfree86: Adding drm device (/dev/dri/card0)
[  4583.032] (--) PCI:*(0:0:2:0) 8086:0116:10cf:16c2 rev 9, Mem @ 0xf6400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[  4583.032] (--) PCI: (0:1:0:0) 10de:0de8:10cf:1769 rev 161, Mem @ 0xf5000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/524288
[  4583.032] (II) LoadModule: "glx"
[  4583.033] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  4583.034] (II) Module glx: vendor="X.Org Foundation"
[  4583.034] 	compiled for 1.19.2, module version = 1.0.0
[  4583.034] 	ABI class: X.Org Server Extension, version 10.0
[  4583.034] (==) Matched modesetting as autoconfigured driver 0
[  4583.034] (==) Matched fbdev as autoconfigured driver 1
[  4583.034] (==) Matched vesa as autoconfigured driver 2
[  4583.034] (==) Assigned the driver to the xf86ConfigLayout
[  4583.034] (II) LoadModule: "modesetting"
[  4583.034] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[  4583.035] (II) Module modesetting: vendor="X.Org Foundation"
[  4583.035] 	compiled for 1.19.2, module version = 1.19.2
[  4583.035] 	Module class: X.Org Video Driver
[  4583.035] 	ABI class: X.Org Video Driver, version 23.0
[  4583.035] (II) LoadModule: "fbdev"
[  4583.035] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[  4583.035] (II) Module fbdev: vendor="X.Org Foundation"
[  4583.035] 	compiled for 1.19.0, module version = 0.4.4
[  4583.035] 	Module class: X.Org Video Driver
[  4583.035] 	ABI class: X.Org Video Driver, version 23.0
[  4583.035] (II) LoadModule: "vesa"
[  4583.035] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[  4583.035] (II) Module vesa: vendor="X.Org Foundation"
[  4583.035] 	compiled for 1.19.0, module version = 2.3.4
[  4583.035] 	Module class: X.Org Video Driver
[  4583.035] 	ABI class: X.Org Video Driver, version 23.0
[  4583.035] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  4583.035] (II) FBDEV: driver for framebuffer: fbdev
[  4583.035] (II) VESA: driver for VESA chipsets: vesa
[  4583.035] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[  4583.035] (II) modeset(0): using drv /dev/dri/card0
[  4583.035] (WW) Falling back to old probe method for fbdev
[  4583.035] (II) Loading sub module "fbdevhw"
[  4583.035] (II) LoadModule: "fbdevhw"
[  4583.036] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[  4583.036] (II) Module fbdevhw: vendor="X.Org Foundation"
[  4583.036] 	compiled for 1.19.2, module version = 0.0.2
[  4583.036] 	ABI class: X.Org Video Driver, version 23.0
[  4583.036] (WW) Falling back to old probe method for vesa
[  4583.036] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[  4583.036] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[  4583.036] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[  4583.036] (==) modeset(0): RGB weight 888
[  4583.036] (==) modeset(0): Default visual is TrueColor
[  4583.036] (II) Loading sub module "glamoregl"
[  4583.036] (II) LoadModule: "glamoregl"
[  4583.036] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[  4583.042] (II) Module glamoregl: vendor="X.Org Foundation"
[  4583.042] 	compiled for 1.19.2, module version = 1.0.0
[  4583.042] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  4583.042] (II) glamor: OpenGL accelerated X.org driver based.
[  4583.042] couldn't get display device
[  4583.042] (EE) modeset(0): glamor initialization failed
[  4583.042] (II) modeset(0): ShadowFB: preferred YES, enabled YES
[  4583.042] (II) modeset(0): Double-buffered shadow updates: off
[  4583.042] (II) modeset(0): Output LVDS-1 has no monitor section
[  4583.044] (II) modeset(0): Output VGA-1 has no monitor section
[  4583.045] (II) modeset(0): Output HDMI-1 has no monitor section
[  4583.045] (II) modeset(0): Output DP-1 has no monitor section
[  4583.046] (II) modeset(0): EDID for output LVDS-1
[  4583.046] (II) modeset(0): Manufacturer: SEC  Model: 3742  Serial#: 0
[  4583.046] (II) modeset(0): Year: 2012  Week: 0
[  4583.046] (II) modeset(0): EDID Version: 1.3
[  4583.046] (II) modeset(0): Digital Display Input
[  4583.046] (II) modeset(0): Max Image Size [cm]: horiz.: 38  vert.: 21
[  4583.046] (II) modeset(0): Gamma: 2.20
[  4583.046] (II) modeset(0): No DPMS capabilities specified
[  4583.046] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[  4583.046] (II) modeset(0): First detailed timing is preferred mode
[  4583.046] (II) modeset(0): redX: 0.615 redY: 0.362   greenX: 0.348 greenY: 0.624
[  4583.046] (II) modeset(0): blueX: 0.146 blueY: 0.104   whiteX: 0.313 whiteY: 0.329
[  4583.046] (II) modeset(0): Manufacturer's mask: 0
[  4583.046] (II) modeset(0): Supported detailed timing:
[  4583.046] (II) modeset(0): clock: 97.0 MHz   Image Size:  382 x 214 mm
[  4583.046] (II) modeset(0): h_active: 1600  h_sync: 1648  h_sync_end 1680 h_blank_end 1698 h_border: 0
[  4583.046] (II) modeset(0): v_active: 900  v_sync: 902  v_sync_end 908 v_blanking: 950 v_border: 0
[  4583.046] (II) modeset(0): Unknown vendor-specific block f
[  4583.046] (II) modeset(0):  SAMSUNG
[  4583.046] (II) modeset(0):  LTN173KT027
[  4583.046] (II) modeset(0): EDID (in hex):
[  4583.046] (II) modeset(0): 	00ffffffffffff004ca3423700000000
[  4583.046] (II) modeset(0): 	00160103802615780ab3a59d5c599f25
[  4583.046] (II) modeset(0): 	1a505400000001010101010101010101
[  4583.046] (II) modeset(0): 	010101010101e2254062608432303020
[  4583.046] (II) modeset(0): 	26007ed6100000190000000f00000000
[  4583.046] (II) modeset(0): 	00000000001eb4027400000000fe0053
[  4583.046] (II) modeset(0): 	414d53554e470a2020202020000000fe
[  4583.046] (II) modeset(0): 	004c544e3137334b543032370a200023
[  4583.046] (II) modeset(0): Printing probed modes for output LVDS-1
[  4583.046] (II) modeset(0): Modeline "1600x900"x60.1   96.98  1600 1648 1680 1698  900 902 908 950 -hsync -vsync (57.1 kHz eP)
[  4583.046] (II) modeset(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz d)
[  4583.046] (II) modeset(0): Modeline "1360x768"x59.8   84.75  1360 1432 1568 1776  768 771 781 798 -hsync +vsync (47.7 kHz d)
[  4583.046] (II) modeset(0): Modeline "1360x768"x60.0   72.00  1360 1408 1440 1520  768 771 781 790 +hsync -vsync (47.4 kHz d)
[  4583.046] (II) modeset(0): Modeline "1152x864"x60.0   81.62  1152 1216 1336 1520  864 865 868 895 -hsync +vsync (53.7 kHz d)
[  4583.046] (II) modeset(0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[  4583.046] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[  4583.046] (II) modeset(0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[  4583.046] (II) modeset(0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[  4583.046] (II) modeset(0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[  4583.046] (II) modeset(0): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[  4583.046] (II) modeset(0): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[  4583.046] (II) modeset(0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[  4583.046] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[  4583.046] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[  4583.046] (II) modeset(0): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[  4583.046] (II) modeset(0): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[  4583.046] (II) modeset(0): Modeline "800x512"x120.3   51.56  800 800 828 832  512 512 514 515 doublescan +hsync +vsync (62.0 kHz d)
[  4583.046] (II) modeset(0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[  4583.046] (II) modeset(0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[  4583.046] (II) modeset(0): Modeline "720x450"x119.8   53.25  720 760 836 952  450 451 454 467 doublescan -hsync +vsync (55.9 kHz d)
[  4583.046] (II) modeset(0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[  4583.046] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[  4583.046] (II) modeset(0): Modeline "680x384"x119.6   42.38  680 716 784 888  384 385 390 399 doublescan -hsync +vsync (47.7 kHz d)
[  4583.046] (II) modeset(0): Modeline "680x384"x119.9   36.00  680 704 720 760  384 385 390 395 doublescan +hsync -vsync (47.4 kHz d)
[  4583.046] (II) modeset(0): Modeline "576x432"x120.1   40.81  576 608 668 760  432 432 434 447 doublescan -hsync +vsync (53.7 kHz d)
[  4583.046] (II) modeset(0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[  4583.046] (II) modeset(0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[  4583.046] (II) modeset(0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[  4583.046] (II) modeset(0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[  4583.047] (II) modeset(0): EDID for output VGA-1
[  4583.049] (II) modeset(0): EDID for output HDMI-1
[  4583.049] (II) modeset(0): EDID for output DP-1
[  4583.049] (II) modeset(0): Output LVDS-1 connected
[  4583.049] (II) modeset(0): Output VGA-1 disconnected
[  4583.049] (II) modeset(0): Output HDMI-1 disconnected
[  4583.049] (II) modeset(0): Output DP-1 disconnected
[  4583.049] (II) modeset(0): Using exact sizes for initial modes
[  4583.049] (II) modeset(0): Output LVDS-1 using initial mode 1600x900 +0+0
[  4583.049] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[  4583.049] (==) modeset(0): DPI set to (96, 96)
[  4583.049] (II) Loading sub module "fb"
[  4583.049] (II) LoadModule: "fb"
[  4583.049] (II) Loading /usr/lib/xorg/modules/libfb.so
[  4583.049] (II) Module fb: vendor="X.Org Foundation"
[  4583.049] 	compiled for 1.19.2, module version = 1.0.0
[  4583.049] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  4583.049] (II) Loading sub module "shadow"
[  4583.049] (II) LoadModule: "shadow"
[  4583.049] (II) Loading /usr/lib/xorg/modules/libshadow.so
[  4583.049] (II) Module shadow: vendor="X.Org Foundation"
[  4583.049] 	compiled for 1.19.2, module version = 1.1.0
[  4583.049] 	ABI class: X.Org ANSI C Emulation, version 0.4
[  4583.049] (II) UnloadModule: "fbdev"
[  4583.049] (II) Unloading fbdev
[  4583.049] (II) UnloadSubModule: "fbdevhw"
[  4583.049] (II) Unloading fbdevhw
[  4583.050] (II) UnloadModule: "vesa"
[  4583.050] (II) Unloading vesa
[  4583.050] (==) Depth 24 pixmap format is 32 bpp
[  4583.050] (EE) modeset(0): drmSetMaster failed: Permission denied
[  4583.050] (EE) 
Fatal server error:
[  4583.050] (EE) AddScreen/ScreenInit failed for driver 0
[  4583.050] (EE) 
[  4583.050] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  4583.050] (EE) Please also check the log file at "/home/yura/.local/share/xorg/Xorg.2.log" for additional information.
[  4583.050] (EE) 
[  4583.071] (EE) Server terminated with error (1). Closing log file.
Спасибо сказали:

UriyZenkov
Сообщения: 347
ОС: Devuan GNU/Linux

Re: XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created

Сообщение UriyZenkov » 04.08.2018 11:59

Я опять установил elogind, так как не знаю как запускать xorg от имени простого пользователя. Может в Slackware и Crux можно полностью отказаться от systemd и прочей гадости Поттеринга ?
Спасибо сказали: