Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix w

Off-Topic discussions about science, technology, and non Debian specific topics.
Post Reply
Message
Author
UriyZenkov
Posts: 57
Joined: 2009-09-21 13:53
Location: Ukraine, Cherkassion region, town Smila

XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix w

#1 Post by UriyZenkov »

I tried to remove elogind to use /sbin/login:
apt-purge elogind
During the removal, the system hung. After rebooting, I received a dpkg error and an error in starting xorg.
Dpkg error:

Code: Select all

 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
and fixed it by restoring the backup copy of / var / lib / dpkg / status from / var / backups

Xorg error:

Code: Select all

XSERVTransmkdir: ERROR: euid! = 0, directory /tmp/.X11-unix will not be created
If you make chown root /tmp/.X11-unix
and restart startx, there will be the following error:
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
then the xorg do not show errors and are not started.

As root, xorg is work.

UriyZenkov
Posts: 57
Joined: 2009-09-21 13:53
Location: Ukraine, Cherkassion region, town Smila

Re: XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-un

#2 Post by UriyZenkov »

XORG.LOG

Code: Select all

[  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.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-un

#3 Post by debiman »

UriyZenkov wrote:I tried to remove elogind to use /sbin/login:
apt-purge elogind
During the removal, the system hung.
on a standard stretch install:

Code: Select all

# apt-purge elogind
bash: apt-purge: command not found
# apt purge elogind
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package elogind
i wonder how you installed it.
i wonder what your sources look like.

arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-un

#4 Post by arzgi »

E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-
Franken-Debian

UriyZenkov
Posts: 57
Joined: 2009-09-21 13:53
Location: Ukraine, Cherkassion region, town Smila

Re: XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-un

#5 Post by UriyZenkov »

arzgi wrote:
E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_natty_main_binary-
Franken-Debian
forgot to say I use devuan, not debian

UriyZenkov
Posts: 57
Joined: 2009-09-21 13:53
Location: Ukraine, Cherkassion region, town Smila

Re: XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-un

#6 Post by UriyZenkov »

I installed elogind again, because I don't know how to run xorg as a simple user. Maybe Slackware and Crux you can completely abandon systemd and other nasty things Pottering ?

apt install-reinstall elogind libpam-elogind

arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-un

#7 Post by arzgi »

UriyZenkov wrote: forgot to say I use devuan, not debian
So why are you asking here, devuan is not Debian. This is Debian users Forum.

UriyZenkov
Posts: 57
Joined: 2009-09-21 13:53
Location: Ukraine, Cherkassion region, town Smila

Re: XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-un

#8 Post by UriyZenkov »

arzgi wrote:So why are you asking here, devuan is not Debian. This is Debian users Forum.
I ask this question on many other forums, but no one knows anything. The kind as devuan is based on debian, I decided to ask also here.

arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-un

#9 Post by arzgi »

UriyZenkov wrote:
arzgi wrote:So why are you asking here, devuan is not Debian. This is Debian users Forum.
I ask this question on many other forums, but no one knows anything. The kind as devuan is based on debian, I decided to ask also here.
There are about 130 Debian based derivatives. no one knows them all, what changes have they made. devuan is just one of them.

We focus on Debian here.

UriyZenkov
Posts: 57
Joined: 2009-09-21 13:53
Location: Ukraine, Cherkassion region, town Smila

Re: XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-un

#10 Post by UriyZenkov »

I would not believe that Debian would switch to Systemd. Why Debian will not make two inits in system ?

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-un

#11 Post by debiman »

UriyZenkov wrote:forgot to say I use devuan, not debian
FrankenDevuan!

Post Reply