LXDE does not start

Hi,

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

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"
(EE) 
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
(EE) 
(EE) 
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) 
(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

Hi,

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

Having same problems with current software version

FILE: DietPi_ROCKPro64-ARMv8-Bullseye.img
DATE: Sat Dec 18 01:37:49 CET 2021

LXDE is installed as standard Desktop Preference in Dietpi-Software.
Logged in with SSH as root

root@DietPi:~# startx
-bash: startx: command not found
root@DietPi:~# sudo startx
sudo: startx: command not found
root@DietPi:~#

did you actually installed it actively? Because Desktop Preference is just a preference selection. It doesn’t mean it has been installed already. If any application would require a desktop, the preference would be used as user choice and installed accordingly.

In Dietpi-Autostart, there is no LXDE option, will have a look, moment…

indeed, [ ] 23 LXDE: ultra lightweight desktop wasn’t installed by default

my mistake, was under the impression it was installed by default as preference :wink:

installed it, now I get:

root@DietPi:~# startx
xauth:  file /root/.Xauthority does not exist


X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
Build Operating System: linux Debian
Current Operating System: Linux DietPi 5.10.63-rockchip64 #21.08.2 SMP PREEMPT Wed Sep 8 10:57:23 UTC 2021 aarch64
Kernel command line: root=UUID=16fd56b1-1af3-4832-b584-e15c71d16b10 rootwait rootfstype=ext4 console=ttyS2,1500000 console=tty1 consoleblank=0 loglevel=4 ubootpart=0db3c612-01 usb-storage.quirks=0x2537:0x1066:u,0x2537:0x1068:u "net.ifnames=0"
Build Date: 16 December 2021  05:08:23PM
xorg-server 2:1.20.11-1+deb11u1 (https://www.debian.org/support)
Current version of pixman: 0.40.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: "/var/log/Xorg.0.log", Time: Mon Dec 27 17:11:00 2021
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(II) modeset(0): Initializing kms color map for depth 24, 8 bpc.

ending with a blinking cursor…

stupid question: you have a physical screen/monitor attached?

auto start option for desktop systems are 16 & 2

   ●─ Desktops ────────
16 : LightDM login mask
2  : Automatic login

first install was via monitor, but working remote now

stupid question from me: how to see the LXDE Desktop?

Remote via console or online via webinterface?

LXDE is shown on the physical monitor. To get a remote desktop, you would need some additional tools like VNC or XRDP

ah yes indeed!

thx…

btw, no need to autostart into desktop mode, if you are looking for a remote desktop solution only.