The officially official Devuan Forum!

You are not logged in.

#1 2021-01-16 21:19:46

amc252
Member
Registered: 2021-01-16
Posts: 5  

[SOLVED] drmSetMaster failed: Permission denied on new install

Hello,

I'm a new user, was very curious about Devuan+runit, so I installed Beowulf, swtiched to runit and installed X plus Jwm.
When I tried startx as a user, however, X crashed.
I could startx as root, no problem, so I assume is a permission issue.

This is the xorg error log.

[   891.752] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[   891.756] Build Operating System: Linux 4.19.0-12-amd64 x86_64 Debian
[   891.757] Current Operating System: Linux mac 4.19.0-13-amd64 #1 SMP Debian 4.19.160-2 (2020-11-28) x86_64
[   891.758] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.19.0-13-amd64 root=UUID=00e362ae-f9be-4b77-9729-b7b8c62bf108 ro quiet
[   891.761] Build Date: 01 December 2020  05:59:57PM
[   891.762] xorg-server 2:1.20.4-1+deb10u2 (https://www.debian.org/support) 
[   891.762] Current version of pixman: 0.36.0
[   891.764] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   891.764] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   891.767] (==) Log file: "/home/mac/.local/share/xorg/Xorg.0.log", Time: Sat Jan 16 12:04:28 2021
[   891.779] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   891.796] (==) No Layout section.  Using the first Screen section.
[   891.796] (==) No screen section available. Using defaults.
[   891.796] (**) |-->Screen "Default Screen Section" (0)
[   891.796] (**) |   |-->Monitor "<default monitor>"
[   891.797] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   891.797] (==) Automatically adding devices
[   891.797] (==) Automatically enabling devices
[   891.797] (==) Automatically adding GPU devices
[   891.798] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   891.812] (WW) The directory "/usr/share/fonts/X11/misc" does not exist.
[   891.813] 	Entry deleted from font path.
[   891.813] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[   891.813] 	Entry deleted from font path.
[   891.813] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[   891.813] 	Entry deleted from font path.
[   891.813] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[   891.813] 	Entry deleted from font path.
[   891.813] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[   891.813] 	Entry deleted from font path.
[   891.813] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[   891.813] 	Entry deleted from font path.
[   891.813] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[   891.813] 	Entry deleted from font path.
[   891.813] (==) FontPath set to:
	built-ins
[   891.813] (==) ModulePath set to "/usr/lib/xorg/modules"
[   891.813] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   891.813] (II) Loader magic: 0x55889ac26e20
[   891.813] (II) Module ABI versions:
[   891.813] 	X.Org ANSI C Emulation: 0.4
[   891.813] 	X.Org Video Driver: 24.0
[   891.813] 	X.Org XInput driver : 24.1
[   891.813] 	X.Org Server Extension : 10.0
[   891.816] (++) using VT number 1

[   891.817] (EE) systemd-logind: failed to get session: The name org.freedesktop.login1 was not provided by any .service files
[   891.818] (II) xfree86: Adding drm device (/dev/dri/card0)
[   891.822] (--) PCI:*(0@0:2:0) 8086:0116:1028:04b0 rev 9, Mem @ 0xf6800000/4194304, 0xe0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[   891.822] (II) LoadModule: "glx"
[   891.824] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   891.922] (II) Module glx: vendor="X.Org Foundation"
[   891.922] 	compiled for 1.20.4, module version = 1.0.0
[   891.922] 	ABI class: X.Org Server Extension, version 10.0
[   891.922] (==) Matched modesetting as autoconfigured driver 0
[   891.922] (==) Matched fbdev as autoconfigured driver 1
[   891.922] (==) Matched vesa as autoconfigured driver 2
[   891.922] (==) Assigned the driver to the xf86ConfigLayout
[   891.922] (II) LoadModule: "modesetting"
[   891.923] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   891.934] (II) Module modesetting: vendor="X.Org Foundation"
[   891.934] 	compiled for 1.20.4, module version = 1.20.4
[   891.934] 	Module class: X.Org Video Driver
[   891.934] 	ABI class: X.Org Video Driver, version 24.0
[   891.934] (II) LoadModule: "fbdev"
[   891.935] (WW) Warning, couldn't open module fbdev
[   891.935] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   891.935] (II) LoadModule: "vesa"
[   891.935] (WW) Warning, couldn't open module vesa
[   891.935] (EE) Failed to load module "vesa" (module does not exist, 0)
[   891.935] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   891.952] (II) modeset(0): using drv /dev/dri/card0
[   891.952] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   891.952] (II) modeset(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   891.952] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[   891.952] (==) modeset(0): RGB weight 888
[   891.952] (==) modeset(0): Default visual is TrueColor
[   891.952] (II) Loading sub module "glamoregl"
[   891.952] (II) LoadModule: "glamoregl"
[   891.952] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[   892.056] (II) Module glamoregl: vendor="X.Org Foundation"
[   892.056] 	compiled for 1.20.4, module version = 1.0.1
[   892.056] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   892.575] (II) modeset(0): glamor X acceleration enabled on Mesa DRI Intel(R) Sandybridge Mobile 
[   892.575] (II) modeset(0): glamor initialized
[   892.576] (II) modeset(0): Output LVDS-1 has no monitor section
[   892.577] (II) modeset(0): Output VGA-1 has no monitor section
[   892.579] (II) modeset(0): Output HDMI-1 has no monitor section
[   892.579] (II) modeset(0): Output DP-1 has no monitor section
[   892.579] (II) modeset(0): EDID for output LVDS-1
[   892.579] (II) modeset(0): Manufacturer: LGD  Model: 2dc  Serial#: 0
[   892.579] (II) modeset(0): Year: 2010  Week: 0
[   892.579] (II) modeset(0): EDID Version: 1.4
[   892.579] (II) modeset(0): Digital Display Input
[   892.579] (II) modeset(0): 6 bits per channel
[   892.579] (II) modeset(0): Digital interface is undefined
[   892.579] (II) modeset(0): Max Image Size [cm]: horiz.: 34  vert.: 19
[   892.579] (II) modeset(0): Gamma: 2.20
[   892.579] (II) modeset(0): No DPMS capabilities specified
[   892.579] (II) modeset(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
[   892.579] (II) modeset(0): First detailed timing is preferred mode
[   892.579] (II) modeset(0): Preferred mode is native pixel format and refresh rate
[   892.579] (II) modeset(0): redX: 0.613 redY: 0.371   greenX: 0.350 greenY: 0.606
[   892.579] (II) modeset(0): blueX: 0.152 blueY: 0.099   whiteX: 0.313 whiteY: 0.329
[   892.579] (II) modeset(0): Manufacturer's mask: 0
[   892.579] (II) modeset(0): Supported detailed timing:
[   892.579] (II) modeset(0): clock: 76.0 MHz   Image Size:  344 x 194 mm
[   892.579] (II) modeset(0): h_active: 1366  h_sync: 1402  h_sync_end 1450 h_blank_end 1564 h_border: 0
[   892.579] (II) modeset(0): v_active: 768  v_sync: 771  v_sync_end 776 v_blanking: 810 v_border: 0
[   892.579] (II) modeset(0): Supported detailed timing:
[   892.579] (II) modeset(0): clock: 51.0 MHz   Image Size:  344 x 194 mm
[   892.579] (II) modeset(0): h_active: 1366  h_sync: 1402  h_sync_end 1450 h_blank_end 1564 h_border: 0
[   892.579] (II) modeset(0): v_active: 768  v_sync: 771  v_sync_end 776 v_blanking: 814 v_border: 0
[   892.579] (II) modeset(0):  9HXXJ€156WH4
[   892.579] (II) modeset(0): Unknown vendor-specific block 0
[   892.579] (II) modeset(0): EDID (in hex):
[   892.579] (II) modeset(0): 	00ffffffffffff0030e4dc0200000000
[   892.579] (II) modeset(0): 	00140104902213780a09159d5f599b27
[   892.579] (II) modeset(0): 	19505400000001010101010101010101
[   892.579] (II) modeset(0): 	010101010101b01d56c650002a302430
[   892.579] (II) modeset(0): 	350058c210000019ec1356c650002e30
[   892.579] (II) modeset(0): 	2430350058c210000019000000fe0039
[   892.579] (II) modeset(0): 	4858584a803135365748340a00000000
[   892.579] (II) modeset(0): 	00004131960100000001010a202000f7
[   892.580] (II) modeset(0): Printing probed modes for output LVDS-1
[   892.580] (II) modeset(0): Modeline "1366x768"x60.0   76.00  1366 1402 1450 1564  768 771 776 810 -hsync -vsync (48.6 kHz eP)
[   892.580] (II) modeset(0): Modeline "1366x768"x40.1   51.00  1366 1402 1450 1564  768 771 776 814 -hsync -vsync (32.6 kHz e)
[   892.580] (II) modeset(0): Modeline "1360x768"x59.8   84.75  1360 1432 1568 1776  768 771 781 798 -hsync +vsync (47.7 kHz d)
[   892.580] (II) modeset(0): Modeline "1360x768"x60.0   72.00  1360 1408 1440 1520  768 771 781 790 +hsync -vsync (47.4 kHz d)
[   892.580] (II) modeset(0): Modeline "1280x720"x120.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[   892.580] (II) modeset(0): Modeline "1280x720"x120.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[   892.580] (II) modeset(0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[   892.580] (II) modeset(0): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[   892.580] (II) modeset(0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[   892.580] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[   892.580] (II) modeset(0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[   892.580] (II) modeset(0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[   892.580] (II) modeset(0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[   892.580] (II) modeset(0): Modeline "1024x576"x119.9   98.50  1024 1092 1200 1376  576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[   892.580] (II) modeset(0): Modeline "1024x576"x119.9   78.38  1024 1048 1064 1104  576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[   892.580] (II) modeset(0): Modeline "1024x576"x59.9   46.50  1024 1064 1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz d)
[   892.580] (II) modeset(0): Modeline "1024x576"x59.8   42.00  1024 1072 1104 1184  576 579 584 593 +hsync -vsync (35.5 kHz d)
[   892.580] (II) modeset(0): Modeline "960x600"x119.9   96.62  960 1028 1128 1296  600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[   892.580] (II) modeset(0): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[   892.580] (II) modeset(0): Modeline "960x540"x119.9   86.50  960 1024 1124 1288  540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[   892.580] (II) modeset(0): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[   892.580] (II) modeset(0): Modeline "960x540"x59.6   40.75  960 992 1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz d)
[   892.580] (II) modeset(0): Modeline "960x540"x59.8   37.25  960 1008 1040 1120  540 543 548 556 +hsync -vsync (33.3 kHz d)
[   892.580] (II) modeset(0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[   892.580] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[   892.580] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[   892.580] (II) modeset(0): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[   892.580] (II) modeset(0): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[   892.580] (II) modeset(0): Modeline "864x486"x59.9   32.50  864 888 968 1072  486 489 494 506 -hsync +vsync (30.3 kHz d)
[   892.580] (II) modeset(0): Modeline "864x486"x59.6   30.50  864 912 944 1024  486 489 494 500 +hsync -vsync (29.8 kHz d)
[   892.580] (II) modeset(0): Modeline "800x512"x120.3   51.56  800 800 828 832  512 512 514 515 doublescan +hsync +vsync (62.0 kHz d)
[   892.580] (II) modeset(0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[   892.580] (II) modeset(0): Modeline "800x450"x119.9   59.12  800 848 928 1056  450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[   892.580] (II) modeset(0): Modeline "800x450"x119.6   48.75  800 824 840 880  450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[   892.580] (II) modeset(0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[   892.580] (II) modeset(0): Modeline "720x450"x119.8   53.25  720 760 836 952  450 451 454 467 doublescan -hsync +vsync (55.9 kHz d)
[   892.580] (II) modeset(0): Modeline "700x450"x119.9   51.75  700 740 812 924  450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[   892.580] (II) modeset(0): Modeline "700x450"x119.8   43.25  700 724 740 780  450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[   892.580] (II) modeset(0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[   892.580] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[   892.580] (II) modeset(0): Modeline "720x405"x59.5   22.50  720 744 808 896  405 408 413 422 -hsync +vsync (25.1 kHz d)
[   892.580] (II) modeset(0): Modeline "720x405"x59.0   21.75  720 768 800 880  405 408 413 419 +hsync -vsync (24.7 kHz d)
[   892.580] (II) modeset(0): Modeline "684x384"x119.8   42.62  684 720 788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[   892.580] (II) modeset(0): Modeline "684x384"x119.7   36.12  684 708 724 764  384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[   892.580] (II) modeset(0): Modeline "680x384"x119.6   42.38  680 716 784 888  384 385 390 399 doublescan -hsync +vsync (47.7 kHz d)
[   892.580] (II) modeset(0): Modeline "680x384"x119.9   36.00  680 704 720 760  384 385 390 395 doublescan +hsync -vsync (47.4 kHz d)
[   892.580] (II) modeset(0): Modeline "640x400"x119.8   41.75  640 676 740 840  400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[   892.580] (II) modeset(0): Modeline "640x400"x120.0   35.50  640 664 680 720  400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[   892.580] (II) modeset(0): Modeline "576x432"x120.1   40.81  576 608 668 760  432 432 434 447 doublescan -hsync +vsync (53.7 kHz d)
[   892.580] (II) modeset(0): Modeline "640x360"x119.7   37.25  640 672 736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[   892.580] (II) modeset(0): Modeline "640x360"x119.7   31.88  640 664 680 720  360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[   892.580] (II) modeset(0): Modeline "640x360"x59.8   18.00  640 664 720 800  360 363 368 376 -hsync +vsync (22.5 kHz d)
[   892.580] (II) modeset(0): Modeline "640x360"x59.3   17.75  640 688 720 800  360 363 368 374 +hsync -vsync (22.2 kHz d)
[   892.580] (II) modeset(0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[   892.580] (II) modeset(0): Modeline "512x288"x120.0   23.25  512 532 580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[   892.580] (II) modeset(0): Modeline "512x288"x119.8   21.00  512 536 552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[   892.580] (II) modeset(0): Modeline "480x270"x119.3   20.38  480 496 544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[   892.580] (II) modeset(0): Modeline "480x270"x119.6   18.62  480 504 520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[   892.580] (II) modeset(0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[   892.580] (II) modeset(0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[   892.580] (II) modeset(0): Modeline "432x243"x119.8   16.25  432 444 484 536  243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[   892.580] (II) modeset(0): Modeline "432x243"x119.1   15.25  432 456 472 512  243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[   892.580] (II) modeset(0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[   892.580] (II) modeset(0): Modeline "360x202"x119.0   11.25  360 372 404 448  202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[   892.580] (II) modeset(0): Modeline "360x202"x118.3   10.88  360 384 400 440  202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[   892.580] (II) modeset(0): Modeline "320x180"x119.7    9.00  320 332 360 400  180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[   892.580] (II) modeset(0): Modeline "320x180"x118.6    8.88  320 344 360 400  180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[   892.581] (II) modeset(0): EDID for output VGA-1
[   892.583] (II) modeset(0): EDID for output HDMI-1
[   892.583] (II) modeset(0): EDID for output DP-1
[   892.583] (II) modeset(0): Output LVDS-1 connected
[   892.583] (II) modeset(0): Output VGA-1 disconnected
[   892.583] (II) modeset(0): Output HDMI-1 disconnected
[   892.583] (II) modeset(0): Output DP-1 disconnected
[   892.583] (II) modeset(0): Using exact sizes for initial modes
[   892.583] (II) modeset(0): Output LVDS-1 using initial mode 1366x768 +0+0
[   892.583] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[   892.583] (==) modeset(0): DPI set to (96, 96)
[   892.583] (II) Loading sub module "fb"
[   892.583] (II) LoadModule: "fb"
[   892.583] (II) Loading /usr/lib/xorg/modules/libfb.so
[   892.605] (II) Module fb: vendor="X.Org Foundation"
[   892.606] 	compiled for 1.20.4, module version = 1.0.0
[   892.606] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   892.606] (EE) modeset(0): drmSetMaster failed: Permission denied
[   892.606] (EE) 
Fatal server error:
[   892.606] (EE) AddScreen/ScreenInit failed for driver 0
[   892.606] (EE) 
[   892.606] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   892.606] (EE) Please also check the log file at "/home/mac/.local/share/xorg/Xorg.0.log" for additional information.
[   892.606] (EE) 
[   892.627] (EE) Server terminated with error (1). Closing log file.

Can anyone help me to solve the problem?

Last edited by amc252 (2021-01-16 23:33:40)

Offline

#2 2021-01-16 23:30:21

amc252
Member
Registered: 2021-01-16
Posts: 5  

Re: [SOLVED] drmSetMaster failed: Permission denied on new install

Don't know why but the issue solved itself on reboot. smile

Offline

Board footer