Automatic Login LXDE

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
tiffe
Posts: 7
Joined: Sun Mar 14, 2021 8:50 pm

Re: Automatic Login LXDE

Post by tiffe »

Joulinar wrote: Sat Mar 20, 2021 7:34 am Plus can you connect via SSH and provide the log file. The name is specified on the last lines of the error message

Code: Select all

root@DietPi:~# cat /var/log/Xorg.0.log
[    22.231] 
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[    22.231] Build Operating System: Linux 4.19.0-12-armmp-lpae armv7l Debian
[    22.231] Current Operating System: Linux DietPi 4.14.180+ #1 SMP PREEMPT Tue Oct 13 13:28:54 UTC 2020 armv7l
[    22.232] Kernel command line: console=tty1 console=ttySAC2,115200n8 root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro fsck.repair=yes net.ifnames=0 drm_kms_helper.edid_firmware=edid/1280x1024.bin smsc95xx.macaddr=00:1e:06:61:7a:72 governor=performance hdmi_tx_amp_lvl=31 hdmi_tx_lvl_ch0=3 hdmi_tx_lvl_ch1=3 hdmi_tx_lvl_ch2=3 hdmi_tx_emp_lvl=6 hdmi_clk_amp_lvl=31 hdmi_tx_res=0 HPD=true vout=hdmi  s5p_mfc.mem=16M
[    22.232] Build Date: 01 December 2020  05:59:57PM
[    22.232] xorg-server 2:1.20.4-1+deb10u2 (https://www.debian.org/support) 
[    22.232] Current version of pixman: 0.36.0
[    22.232] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    22.232] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    22.233] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 20 20:30:51 2021
[    22.236] (==) Using config file: "/etc/X11/xorg.conf"
[    22.237] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    22.237] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    22.240] (==) ServerLayout "DefaultLayout"
[    22.240] (**) |-->Screen "Default Screen" (0)
[    22.240] (**) |   |-->Monitor "<default monitor>"
[    22.241] (**) |   |-->Device "Mali-Fbdev"
[    22.241] (==) No monitor specified for screen "Default Screen".
	Using a default monitor configuration.
[    22.241] (**) Option "BlankTime" "0"
[    22.241] (**) Option "StandbyTime" "0"
[    22.241] (**) Option "SuspendTime" "0"
[    22.241] (**) Option "OffTime" "0"
[    22.241] (==) Automatically adding devices
[    22.241] (==) Automatically enabling devices
[    22.241] (==) Automatically adding GPU devices
[    22.241] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    22.246] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    22.246] 	Entry deleted from font path.
[    22.246] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    22.246] 	Entry deleted from font path.
[    22.246] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    22.246] 	Entry deleted from font path.
[    22.246] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[    22.246] 	Entry deleted from font path.
[    22.246] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    22.246] 	Entry deleted from font path.
[    22.246] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    22.246] 	Entry deleted from font path.
[    22.246] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	built-ins
[    22.246] (==) ModulePath set to "/usr/lib/xorg/modules"
[    22.246] (**) Extension "DPMS" is disabled
[    22.246] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    22.246] (II) Loader magic: 0x61af98
[    22.246] (II) Module ABI versions:
[    22.246] 	X.Org ANSI C Emulation: 0.4
[    22.246] 	X.Org Video Driver: 24.0
[    22.246] 	X.Org XInput driver : 24.1
[    22.246] 	X.Org Server Extension : 10.0
[    22.248] (++) using VT number 1

[    22.251] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[    22.253] (II) xfree86: Adding drm device (/dev/dri/card0)
[    22.254] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[    22.254] (II) no primary bus or device found
[    22.254] 	falling back to /sys/devices/platform/exynos-drm/drm/card0
[    22.254] (II) LoadModule: "glx"
[    22.256] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    22.277] (II) Module glx: vendor="X.Org Foundation"
[    22.277] 	compiled for 1.20.4, module version = 1.0.0
[    22.277] 	ABI class: X.Org Server Extension, version 10.0
[    22.277] (II) LoadModule: "armsoc"
[    22.278] (II) Loading /usr/lib/xorg/modules/drivers/armsoc_drv.so
[    22.280] (II) Module armsoc: vendor="X.Org Foundation"
[    22.280] 	compiled for 1.20.4, module version = 1.4.1
[    22.280] 	Module class: X.Org Video Driver
[    22.280] 	ABI class: X.Org Video Driver, version 24.0
[    22.280] (II) ARMSOC: Driver for ARM Mali compatible chipsets
[    22.280] (WW) Falling back to old probe method for armsoc
[    22.281] (II) No BusID or DriverName specified - opening /dev/dri/card0
[    22.281] (EE) ERROR: Cannot set the DRM interface version.
[    22.281] (EE) ERROR: Cannot open a connection with the DRM - Permission denied
[    22.281] (WW) Falling back to old probe method for armsoc
[    22.281] (II) No BusID or DriverName specified - opening /dev/dri/card0
[    22.281] (EE) ERROR: Cannot set the DRM interface version.
[    22.281] (EE) ERROR: Cannot open a connection with the DRM - Permission denied
[    22.281] (EE) No devices detected.
[    22.281] (EE) 
Fatal server error:
[    22.281] (EE) no screens found(EE) 
[    22.281] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    22.281] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    22.281] (EE) 
[    22.292] (EE) Server terminated with error (1). Closing log file.
MichaIng wrote: Sat Mar 20, 2021 2:03 pm Just to assure, this was now as root user?
Yes this is using Autostart "option 2" with user "root"
User avatar
MichaIng
Site Admin
Posts: 2780
Joined: Sat Nov 18, 2017 6:21 pm

Re: Automatic Login LXDE

Post by MichaIng »

[ 22.281] (EE) ERROR: Cannot open a connection with the DRM - Permission denied
This as root is strange indeed. The same error happens when you run startx from console?
What does the following show?

Code: Select all

ls -l /dev/dri/card0
User avatar
Joulinar
Posts: 4203
Joined: Sat Nov 16, 2019 12:49 am

Re: Automatic Login LXDE

Post by Joulinar »

wow permission denied for user root. That's quite a secure system ;)

Sorry for the joke :P
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply