LXDE does not start

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
Posts: 1
Joined: Fri Jun 11, 2021 8:34 am

LXDE does not start

Post by tova »


I cannot start LXDE. I have installed it through dietpi-software. After trying to run it with startx, I get the following:

Code: Select all

X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
Build Operating System: Linux 5.10.17-v8+ aarch64 Raspbian
Current Operating System: Linux DietPi4 5.10.17-v7l+ #1421 SMP Thu May 27 14:00:13 BST 2021 armv7l
Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=DC:A6:32:3E:D7:C8 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=tty1 root=PARTUUID=6c586e13-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet net.ifnames=0 usbhid.mousepoll=8
Build Date: 19 April 2021  03:23:36PM
xorg-server 2:1.20.4-1+rpt3+deb10u3 (https://www.debian.org/support) 
Current version of pixman: 0.36.0
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/dietpi/.local/share/xorg/Xorg.0.log", Time: Fri Jun 11 08:45:23 2021
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/home/dietpi/.local/share/xorg/Xorg.0.log" for additional information.
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console

I am running dietpi version 7.2.3 on a RPi 4 Model B

Appreciate any support
User avatar
Posts: 5693
Joined: Sat Nov 16, 2019 12:49 am

Re: LXDE does not start

Post by Joulinar »


Did you tried to use user root on console, to start the desktop.

Another option is to use the AutoStart Options. There you should be able to start the desktop as user dietpi
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply