How to make kiosk mode work?

I would like to run chromium kiosk mode on dietpi within my proxmox environment.

First I did a clean install of dietpi with all updates. Then I added chromium via dietpi-software and set it to autostart.

After reboot I got an error.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
 ─────────────────────────────────────────────────────
 DietPi v10.0.1 : 18:25 - Sa 14.02.2026
 ─────────────────────────────────────────────────────
 - Device model : Container (x86_64)
 - CPU temp : 16 °C / 60 °F : Who put me in the freezer!
 - LAN IP : 192.168.200.211 (eth0)
 - WAN IP : 2a00:6020:...
 ─────────────────────────────────────────────────────

 dietpi-launcher : All the DietPi programs in one place
 dietpi-config   : Feature rich configuration tool for your device
 dietpi-software : Select optimised software for instalation
 htop            : Resource monitor
 cpu             : Shows CPU information and stats


X.Org X Server 1.21.1.16
X Protocol Version 11, Revision 0
Current Operating System: Linux KazBot 6.17.4-2-pve #1 SMP PREEMPT_DYNAMIC PMX 6.17.4-2 (2025-12-19T07:49Z) x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.17.4-2-pve root=UUID=148a3a09-70d1-4f16-bdc3-0817b92b9e97 ro rootflags=degraded
xorg-server 2:21.1.16-1.3+deb13u1 (https://www.debian.org/support) 
Current version of pixman: 0.44.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: Sat Feb 14 18:25:22 2026
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) 
Fatal server error:
(EE) no screens found(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 "/var/log/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

When trying to start chromium I get an error of course

root@KazBot:~# chromium --kiosk
[1117:1117:0214/183511.813292:ERROR:ui/ozone/platform/x11/ozone_platform_x11.cc:256] Missing X server or $DISPLAY
[1117:1117:0214/183511.813323:ERROR:ui/aura/env.cc:257] The platform failed to initialize.  Exiting.

Ok, because my first intention was to use xrdp I installed xrpd too
apt install xrdp xorgxrdp

xrdp requires to modify startwm.sh or ~/.xsession to start chromium instead of a wm

root@KazBot:~# cat /home/dietpi/.xsession
#!/bin/bash
# Start Chromium in Kiosk Mode
# chromium --kiosk --no-first-run --noerrdialogs --disable-infobars --remote-debugging-port=9222 --user-data-dir=/home/dietpi/Kleinanzeigen/ https://kleinanzeigen.de &
chromium --kiosk --start-fullscreen https://kleinanzeigen.de &

When establishing the connection vis xrdp / xorg I get the same error as before

root@KazBot:/home/dietpi# cat .xsession-errors 
Xsession: X session started for dietpi at Sa 14. Feb 17:51:31 CET 2026
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:10.0
localuser:dietpi being added to access control list
[3564:3564:0214/175131.364872:ERROR:ui/ozone/platform/x11/ozone_platform_x11.cc:256] Missing X server or $DISPLAY
[3564:3564:0214/175131.364891:ERROR:ui/aura/env.cc:257] The platform failed to initialize.  Exiting.

The session request looks ok

root@KazBot:/var/log# cat xrdp-sesman.log 
[2026-02-14T17:33:05.420+0100] [INFO ] starting xrdp-sesexec with pid 2698
[2026-02-14T17:33:05.481+0100] [INFO ] TerminalServerUsers group tsusers doesn't exist. Access granted for dietpi
[2026-02-14T17:33:05.481+0100] [INFO ] Access permitted for user: dietpi
[2026-02-14T17:33:05.493+0100] [INFO ] Starting X server on display 10: /usr/lib/xorg/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log 
[2026-02-14T17:33:06.496+0100] [INFO ] X server :10 is working
[2026-02-14T17:33:06.496+0100] [INFO ] Starting window manager for display :10
[2026-02-14T17:33:06.496+0100] [INFO ] Using the default window manager on display 10: /etc/xrdp/startwm.sh
[2026-02-14T17:33:06.497+0100] [INFO ] Starting the xrdp channel server for display :10
[2026-02-14T17:33:06.497+0100] [INFO ] Session in progress on display :10. Waiting until the window manager (pid 2711) exits to end the session
[2026-02-14T17:33:06.525+0100] [INFO ] Window manager (pid 2711, display 10) finished normally in 0 secs
[2026-02-14T17:33:06.525+0100] [WARN ] Window manager (pid 2711, display 10) exited quickly (0 secs). This could indicate a window manager config problem
[2026-02-14T17:33:06.525+0100] [INFO ] Terminating X server (pid 2702) on display :10
[2026-02-14T17:33:06.525+0100] [INFO ] Terminating the xrdp channel server (pid 2713) on display :10
[2026-02-14T17:33:06.526+0100] [INFO ] xrdp channel server pid 2713 on display :10 finished
[2026-02-14T17:33:06.531+0100] [INFO ] X server pid 2702 on display :10 finished

xorg log, look fine too

root@KazBot:/home/dietpi# cat .xorgxrdp.10.log 
[1098429.498] 
X.Org X Server 1.21.1.16
X Protocol Version 11, Revision 0
[1098429.498] Current Operating System: Linux KazBot 6.17.4-2-pve #1 SMP PREEMPT_DYNAMIC PMX 6.17.4-2 (2025-12-19T07:49Z) x86_64
[1098429.498] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.17.4-2-pve root=UUID=148a3a09-70d1-4f16-bdc3-0817b92b9e97 ro rootflags=degraded
[1098429.498] xorg-server 2:21.1.16-1.3+deb13u1 (https://www.debian.org/support) 
[1098429.498] Current version of pixman: 0.44.0
[1098429.498]   Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[1098429.498] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[1098429.498] (++) Log file: ".xorgxrdp.10.log", Time: Sat Feb 14 17:51:30 2026
[1098429.498] (++) Using config file: "/etc/X11/xrdp/xorg.conf"
[1098429.498] (==) Using config directory: "/etc/X11/xorg.conf.d"
[1098429.498] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[1098429.498] (**) Option "defaultserverlayout" "X11 Server"
[1098429.498] (**) ServerLayout "X11 Server"
[1098429.498] (**) |-->Screen "Screen (xrdpdev)" (0)
[1098429.498] (**) |   |-->Monitor "Monitor"
[1098429.498] (**) |   |-->Device "Video Card (xrdpdev)"
[1098429.498] (**) |-->Input Device "xrdpMouse"
[1098429.498] (**) |-->Input Device "xrdpKeyboard"
[1098429.498] (**) Option "DontVTSwitch" "on"
[1098429.498] (**) Option "AutoAddDevices" "off"
[1098429.498] (**) Option "AutoAddGPU" "off"
[1098429.498] (**) Allowing byte-swapped clients
[1098429.498] (**) Not automatically adding devices
[1098429.498] (==) Automatically enabling devices
[1098429.498] (**) Not automatically adding GPU devices
[1098429.498] (==) Automatically binding GPU devices
[1098429.498] (==) Max clients allowed: 256, resource mask: 0x1fffff
[1098429.498] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[1098429.498]   Entry deleted from font path.
[1098429.498] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[1098429.498]   Entry deleted from font path.
[1098429.498] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[1098429.498]   Entry deleted from font path.
[1098429.498] (WW) The directory "/usr/share/fonts/X11/Type1" does not exist.
[1098429.498]   Entry deleted from font path.
[1098429.498] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[1098429.498]   Entry deleted from font path.
[1098429.498] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[1098429.498]   Entry deleted from font path.
[1098429.498] (==) FontPath set to:
        /usr/share/fonts/X11/misc,
        built-ins
[1098429.498] (==) ModulePath set to "/usr/lib/xorg/modules"
[1098429.498] (**) Extension "DPMS" is disabled
[1098429.498] (II) Loader magic: 0x58a213855f00
[1098429.498] (II) Module ABI versions:
[1098429.498]   X.Org ANSI C Emulation: 0.4
[1098429.498]   X.Org Video Driver: 25.2
[1098429.498]   X.Org XInput driver : 24.4
[1098429.498]   X.Org Server Extension : 10.0
[1098429.499] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c16
[1098429.500] (II) xfree86: Adding drm device (/dev/dri/card0)
[1098429.500] (II) Platform probe for /sys/devices/pci0000:00/0000:00:08.1/0000:08:00.0/drm/card0
[1098429.500] (EE) systemd-logind: failed to take device /dev/dri/card0: Operation not permitted
[1098429.506] (--) PCI:*(8@0:0:0) 1002:1638:1458:d000 rev 201, Mem @ 0xffe0000000/268435456, 0xfff0000000/2097152, 0xfce00000/524288, I/O @ 0x0000e000/256
[1098429.506] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[1098429.506] (II) LoadModule: "dbe"
[1098429.506] (II) Module "dbe" already built-in
[1098429.506] (II) LoadModule: "ddc"
[1098429.506] (II) Module "ddc" already built-in
[1098429.506] (II) LoadModule: "extmod"
[1098429.506] (II) Module "extmod" already built-in
[1098429.506] (II) LoadModule: "glx"
[1098429.506] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[1098429.506] (II) Module glx: vendor="X.Org Foundation"
[1098429.506]   compiled for 1.21.1.16, module version = 1.0.0
[1098429.506]   ABI class: X.Org Server Extension, version 10.0
[1098429.506] (II) LoadModule: "int10"
[1098429.506] (II) Loading /usr/lib/xorg/modules/libint10.so
[1098429.506] (II) Module int10: vendor="X.Org Foundation"
[1098429.507]   compiled for 1.21.1.16, module version = 1.0.0
[1098429.507]   ABI class: X.Org Video Driver, version 25.2
[1098429.507] (II) LoadModule: "record"
[1098429.507] (II) Module "record" already built-in
[1098429.507] (II) LoadModule: "vbe"
[1098429.507] (II) Loading /usr/lib/xorg/modules/libint10.so
[1098429.507] (II) Module int10: vendor="X.Org Foundation"
[1098429.507]   compiled for 1.21.1.16, module version = 1.0.0
[1098429.507]   ABI class: X.Org Video Driver, version 25.2
[1098429.507] (II) LoadModule: "glamoregl"
[1098429.507] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[1098429.508] (II) Module glamoregl: vendor="X.Org Foundation"
[1098429.508]   compiled for 1.21.1.16, module version = 1.0.1
[1098429.508]   ABI class: X.Org ANSI C Emulation, version 0.4
[1098429.508] (II) LoadModule: "xorgxrdp"
[1098429.508] (II) Loading /usr/lib/xorg/modules/libxorgxrdp.so
[1098429.508] (II) Module XORGXRDP: vendor="X.Org Foundation"
[1098429.508]   compiled for 1.21.1.11, module version = 0.10.2
[1098429.508]   ABI class: X.Org Video Driver, version 25.2
[1098429.508] xorgxrdpSetup:
[1098429.508] (II) LoadModule: "fb"
[1098429.508] (II) Module "fb" already built-in
[1098429.508] (II) LoadModule: "xrdpdev"
[1098429.508] (II) Loading /usr/lib/xorg/modules/drivers/xrdpdev_drv.so
[1098429.508] (II) Module XRDPDEV: vendor="X.Org Foundation"
[1098429.508]   compiled for 1.21.1.11, module version = 0.10.2
[1098429.508]   ABI class: X.Org Video Driver, version 25.2
[1098429.508] xrdpdevSetup:
[1098429.508] (II) LoadModule: "xrdpmouse"
[1098429.508] (II) Loading /usr/lib/xorg/modules/input/xrdpmouse_drv.so
[1098429.508] (II) Module XRDPMOUSE: vendor="X.Org Foundation"
[1098429.508]   compiled for 1.21.1.11, module version = 0.10.2
[1098429.508]   Module class: X.Org XInput Driver
[1098429.508]   ABI class: X.Org XInput driver, version 24.4
[1098429.508] rdpmousePlug:
[1098429.508] (II) LoadModule: "xrdpkeyb"
[1098429.508] (II) Loading /usr/lib/xorg/modules/input/xrdpkeyb_drv.so
[1098429.509] (II) Module XRDPKEYB: vendor="X.Org Foundation"
[1098429.509]   compiled for 1.21.1.11, module version = 0.10.2
[1098429.509]   Module class: X.Org XInput Driver
[1098429.509]   ABI class: X.Org XInput driver, version 24.4
[1098429.509] rdpkeybPlug:
[1098429.509] rdpIdentify:
[1098429.509] (II) XRDPDEV: driver for xrdp: XRDPDEV
[1098429.509] rdpDriverFunc: op 10
[1098429.509] (WW) Falling back to old probe method for XRDPDEV
[1098429.509] rdpProbe:
[1098429.509] (II) Loading sub module "fb"
[1098429.509] (II) LoadModule: "fb"
[1098429.509] (II) Module "fb" already built-in
[1098429.509] rdpProbe: found DRMDevice xorg.conf value [/dev/dri/renderD128]
[1098429.509] rdpProbe: found DRI3 xorg.conf value [1]
[1098429.509] rdpProbe: found DRMAllowList xorg.conf value [i915 radeon]
[1098429.509] (II) XRDPDEV(0): using default device
[1098429.509] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[1098429.509] rdpPreInit:
[1098429.509] rdpPreInit: /dev/dri/renderD128 open failed
[1098429.509] (**) XRDPDEV(0): Depth 24, (--) framebuffer bpp 32
[1098429.509] (==) XRDPDEV(0): RGB weight 888
[1098429.509] (==) XRDPDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[1098429.509] (==) XRDPDEV(0): Default visual is TrueColor
[1098429.509] (==) XRDPDEV(0): DPI set to (96, 96)
[1098429.509] (II) XRDPDEV(0):  mode "640x480" ok
[1098429.509] (II) XRDPDEV(0):  mode "800x600" ok
[1098429.509] (II) XRDPDEV(0): Virtual size is 800x600 (pitch 800)
[1098429.509] (**) XRDPDEV(0):  Default mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz
[1098429.509] (II) XRDPDEV(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[1098429.509] rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24
[1098429.509] rdpScreenInit: pfbMemory bytes 1920000
[1098429.509] rdpScreenInit: pfbMemory 0x7144881e5010
[1098429.509] rdpSimdInit: assigning yuv functions
[1098429.509] rdpSimdInit: cpuid ax 1 cx 0 return ax 0x00a50f00 bx 0x0a0c0800 cx 0x7ef8320b dx 0x178bfbff
[1098429.509] rdpSimdInit: sse2 amd64 yuv functions assigned
[1098429.509] (==) XRDPDEV(0): Backing store enabled
[1098429.509] rdpClientConInit: disconnect idle session after [0] sec
[1098429.509] rdpClientConInit: kill disconnected [0] timeout [0] sec
[1098429.509] rdpXvInit: depth 24
[1098429.509] rdpScreenInit: out
[1098429.509] (II) Initializing extension Generic Event Extension
[1098429.509] (II) Initializing extension SHAPE
[1098429.509] (II) Initializing extension MIT-SHM
[1098429.509] (II) Initializing extension XInputExtension
[1098429.509] (II) Initializing extension XTEST
[1098429.509] (II) Initializing extension BIG-REQUESTS
[1098429.509] (II) Initializing extension SYNC
[1098429.509] (II) Initializing extension XKEYBOARD
[1098429.509] (II) Initializing extension XC-MISC
[1098429.509] (II) Initializing extension SECURITY
[1098429.509] (II) Initializing extension XFIXES
[1098429.510] (II) Initializing extension RENDER
[1098429.510] (II) Initializing extension RANDR
[1098429.510] (II) Initializing extension COMPOSITE
[1098429.510] (II) Initializing extension DAMAGE
[1098429.510] (II) Initializing extension MIT-SCREEN-SAVER
[1098429.510] (II) Initializing extension DOUBLE-BUFFER
[1098429.510] (II) Initializing extension RECORD
[1098429.510] (II) Initializing extension Present
[1098429.510] (II) Initializing extension DRI3
[1098429.510] (II) Initializing extension X-Resource
[1098429.510] (II) Initializing extension XVideo
[1098429.510] (II) Initializing extension XVideo-MotionCompensation
[1098429.510] (II) Initializing extension SELinux
[1098429.510] (II) SELinux: Disabled on system
[1098429.510] (II) Initializing extension GLX
[1098429.510] (II) AIGLX: Screen 0 is not DRI2 capable
[1098429.527] (II) IGLX: Loaded and initialized swrast
[1098429.527] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[1098429.527] (II) Initializing extension XFree86-VidModeExtension
[1098429.527] (II) Initializing extension XFree86-DGA
[1098429.527] (II) Initializing extension XFree86-DRI
[1098429.527] (II) Initializing extension DRI2
[1098429.527] rdpCreateScreenResources:
[1098429.539] (II) Using input driver 'XRDPMOUSE' for 'xrdpMouse'
[1098429.539] (**) Option "CorePointer"
[1098429.539] (**) xrdpMouse: always reports core events
[1098429.539] rdpmousePreInit: drv 0x58a2165ebd10 info 0x58a2166d34e0, flags 0x0
[1098429.539] (II) XINPUT: Adding extended input device "xrdpMouse" (type: Mouse, id 6)
[1098429.539] rdpmouseControl: what 0
[1098429.539] rdpmouseDeviceInit:
[1098429.539] rdpmouseCtrl:
[1098429.539] rdpRegisterInputCallback: type 1 proc 0x7144888974f0
[1098429.539] (**) xrdpMouse: (accel) keeping acceleration scheme 1
[1098429.539] (**) xrdpMouse: (accel) acceleration profile 0
[1098429.539] (**) xrdpMouse: (accel) acceleration factor: 2.000
[1098429.539] (**) xrdpMouse: (accel) acceleration threshold: 4
[1098429.539] rdpmouseControl: what 1
[1098429.539] rdpmouseDeviceOn:
[1098429.539] (II) Using input driver 'XRDPKEYB' for 'xrdpKeyboard'
[1098429.539] (**) Option "CoreKeyboard"
[1098429.539] (**) xrdpKeyboard: always reports core events
[1098429.539] rdpkeybPreInit: drv 0x58a2165ec450 info 0x58a216893f50, flags 0x0
[1098429.539] (II) XINPUT: Adding extended input device "xrdpKeyboard" (type: Keyboard, id 7)
[1098429.539] rdpkeybControl: what 0
[1098429.539] rdpkeybDeviceInit:
[1098429.546] rdpkeybChangeKeyboardControl:
[1098429.546] rdpkeybChangeKeyboardControl: autoRepeat on
[1098429.546] rdpRegisterInputCallback: type 0 proc 0x7144883bba30
[1098429.546] rdpkeybControl: what 1
[1098429.546] rdpkeybDeviceOn:
[1098429.572] (II) config/udev: Adding drm device (/dev/dri/card0)
[1098429.572] (II) xfree86: Adding drm device (/dev/dri/card0)
[1098429.572] (II) Platform probe for /sys/devices/pci0000:00/0000:00:08.1/0000:08:00.0/drm/card0
[1098429.572] (EE) systemd-logind: failed to take device /dev/dri/card0: Operation not permitted
[1098429.579] rdpDeferredRandR:
[1098429.579] rdpResizeSession: width 1024 height 768
[1098429.579]   calling RRScreenSizeSet
[1098429.579] rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203
[1098429.579] rdpRRGetInfo:
[1098429.579]   screen resized to 1024x768
[1098429.580]   RRScreenSizeSet ok 1
[1098429.580] rdpResizeSession: width 800 height 600
[1098429.580]   calling RRScreenSizeSet
[1098429.580] rdpRRScreenSetSize: width 800 height 600 mmWidth 212 mmHeight 159
[1098429.580] rdpRRGetInfo:
[1098429.580]   screen resized to 800x600
[1098429.581]   RRScreenSizeSet ok 1
[1098429.581] rdpRRSetRdpOutputs: numCrtcs 0 numOutputs 0 monitorCount 0
[1098429.581] rdpRRSetRdpOutputs: update output 0 left 0 top 0 width 800 height 600
[1098429.581] rdpRRConnectOutput:
[1098429.647] rdpInDeferredRepeatCallback:
[1098429.647] rdpkeybChangeKeyboardControl:
[1098429.647] rdpkeybChangeKeyboardControl: autoRepeat off
[1098430.497] rdpRRGetInfo:
[1098430.500] rdpClientConGotConnection:
[1098430.500] rdpClientConGotConnection: g_sck_accept ok new_sck 9
[1098430.500] rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off
[1098430.500] rdpAddClientConToDev: adding first clientCon 0x58a216ad5fa0
[1098430.500] rdpClientConProcessMsgVersion: version 0 0 0 1
[1098430.500] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 800 cy 600
[1098430.500] KbdSync: toggling num lock
[1098430.500] rdpkeybChangeKeyboardControl:
[1098430.500] rdpkeybChangeKeyboardControl: autoRepeat off
[1098430.529] rdpmouseControl: what 2
[1098430.529] rdpmouseDeviceOff:
[1098430.529] rdpkeybControl: what 2
[1098430.529] rdpkeybDeviceOff:
[1098430.529] xorgxrdpDamageDestroy:
[1098430.530] rdpkeybControl: what 3
[1098430.530] rdpkeybUnInit: drv 0x58a2165ec450 info 0x58a216893f50, flags 0x0
[1098430.530] rdpUnregisterInputCallback: proc 0x7144883bba30
[1098430.530] rdpmouseControl: what 3
[1098430.530] rdpmouseUnInit: drv 0x58a2165ebd10 info 0x58a2166d34e0, flags 0x0
[1098430.530] rdpUnregisterInputCallback: proc 0x7144888974f0
[1098430.530] rdpCloseScreen:
[1098430.530] xorgxrdpDownDown:
[1098430.530] xorgxrdpDownDown: 1
[1098430.530] rdpClientConDeinit:
[1098430.530] rdpClientConDeinit: disconnecting clientCon
[1098430.530] rdpClientConDisconnect:
[1098430.530] rdpRemoveClientConFromDev: removing clientCon 0x58a216ad5fa0
[1098430.530] rdpClientConDeinit: deleting file /run/xrdp/sockdir/1000/xrdp_display_10
[1098430.530] rdpClientConDeinit: deleting file /run/xrdp/sockdir/1000/xrdp_disconnect_display_10
[1098430.531] (II) Server terminated successfully (0). Closing log file.

How to go on, to get it work?

Do you have a screen or console attached? Kiosk is not working via SSH. Maby this is specific to Proxmox and how it is setup. Which user you used while selecting Chromium as autostart option (dietpi-autostart)?

I just tested it on a regular SBC RPi4B and it’s working (after applying a known workaround Error running Chromium in kiosk mode · Issue #7923 · MichaIng/DietPi · GitHub )

I guess you would need to install a desktop in addition, like LXDE. I recommend using dietpi-software to install xrdp (software option 29)

Of course there is a display connected.
Without display it would be impossible to show console output of DietPi …
But usuallaly you are using something like vnc, x2go or xrdp to access a GUI from remote.
Local display is as always restricted to single user mode.

And yes, I’m using dietpi-autostart to configure & run chromium kiosk mode.

Installing vnc or xrdp requires a full desktop environment within dietpi. Tons of dependencies are installed and never used. This would make dietpi a fat system without any needs …
By the way. When selecting vnc or xrdp the dietpi-software setup did not allow canceling the installation. The only way to abort installaition is to ssh into dietpi and kill all installation processes :frowning:

When installing a full desktop like lxqt I’m able to run it via xrdp.
But I would like to have a system with chromium kiosk mode only.

As said, on my RPi14B this is working.So it seems something specific to the Proxmox container setup.

Personally I don’t use Proxmox. But I know @StephanStS and @HolgerTB are using it. Maybe they have played around with Kiosk already.

Found an interesting behaviour …
If LxQt is installed I can run chromium in kiosk mode without running startlxqt.

No lxqt processes running. Just Xorg

root@KazBot:~# ps -All
F S   UID     PID    PPID  C PRI  NI ADDR SZ WCHAN  TTY          TIME CMD
4 S     0       1       0  0  80   0 -  5945 do_epo ?        00:00:00 systemd
4 S     0      50       1  0  80   0 -  6620 do_epo ?        00:00:00 systemd-journal
0 S     0     130       1  0  80   0 -  1808 hrtime ?        00:00:00 cron
4 S   997     131       1  0  80   0 -  2016 do_epo ?        00:00:00 dbus-daemon
4 S     0     134       1  0  80   0 -  4665 do_epo ?        00:00:00 systemd-logind
4 S   101     156       1  0  80   0 -  5156 do_epo ?        00:00:00 systemd-network
4 S     0     253       1  0  80   0 -  1189 poll_s ?        00:00:00 dropbear
4 S     0     257       1  0  80   0 -  2681 do_wai ?        00:00:00 login
4 S     0     258       1  0  80   0 -  2677 do_wai ?        00:00:00 login
4 S     0     259       1  0  80   0 -  2035 poll_s pts/2    00:00:00 agetty
4 S     0     264     253  0  80   0 -  1189 poll_s ?        00:00:00 dropbear
4 S  1000     281       1  0  80   0 -  5626 do_epo ?        00:00:00 systemd
5 S  1000     283     281  0  80   0 -  5597 do_sig ?        00:00:00 (sd-pam)
0 S  1000     301     281  0  80   0 - 40186 poll_s ?        00:00:00 pulseaudio
4 S  1000     302     257  0  80   0 -  2607 poll_s pts/0    00:00:00 bash
0 S  1000     319     281  0  80   0 -  1982 do_epo ?        00:00:00 dbus-daemon
0 S     0     335     264  0  80   0 -  2605 do_wai pts/3    00:00:00 bash
4 S     0     421     258  0  80   0 -  2645 poll_s pts/1    00:00:00 bash
4 S  1000     663     253  0  80   0 -  1189 poll_s ?        00:00:00 dropbear
0 S  1000     672     663  0  80   0 -  2605 poll_s pts/4    00:00:00 bash
4 S     0    1032       1  0  80   0 - 17933 do_epo ?        00:00:00 backend
4 S   998    1033       1  0  80   0 - 18338 do_epo ?        00:00:00 frontend
0 S     0    1039    1032  0  80   0 -  2035 poll_s pts/5    00:00:00 agetty
1 S     0    1059       1  0  80   0 -   655 poll_s ?        00:00:00 ifplugd
4 S  1000    1142       1  0  80   0 - 66228 do_epo ?        00:00:08 Xorg
4 S  1000    1152       1  0  80   0 - 22966 poll_s ?        00:00:00 xrdp-chansrv
4 S     0    1255       1  0  80   0 - 79864 poll_s ?        00:00:00 upowerd
4 S     0    4681       1  0  80   0 -  2884 poll_s ?        00:00:00 xrdp-sesman
4 S     0    4683       1  0  80   0 -  3079 poll_s ?        00:00:00 xrdp
1 S     0    5147    4683  0  80   0 - 25287 poll_s ?        00:00:00 xrdp
4 S     0    5149    4681  0  80   0 -  3640 poll_s ?        00:00:00 xrdp-sesexec
4 S  1000    5153    5149  1  80   0 - 67782 do_epo ?        00:00:00 Xorg
4 S  1000    5162    5149  0  80   0 -  1864 do_wai ?        00:00:00 bash
4 S  1000    5163    5149  0  80   0 - 23032 poll_s ?        00:00:00 xrdp-chansrv
1 S  1000    5202    5162  0  80   0 -  2634 poll_s ?        00:00:00 ssh-agent
0 S  1000    5203    5162 19  80   0 - 12809809 poll_s ?     00:00:00 chromium
0 S  1000    5221       1  0  80   0 - 12586734 do_epo ?     00:00:00 chrome_crashpad
0 S  1000    5223       1  0  80   0 - 12584679 do_epo ?     00:00:00 chrome_crashpad
0 S  1000    5226    5203  0  80   0 - 12757428 poll_s ?     00:00:00 chromium
0 S  1000    5227    5203  0  80   0 - 12757430 poll_s ?     00:00:00 chromium
1 S  1000    5246    5226  2  80   0 - 12840815 poll_s ?     00:00:00 chromium
0 S  1000    5247    5203 13  80   0 - 12690957 futex_ ?     00:00:00 chromium
1 S  1000    5256    5227  0  80   0 - 12772165 futex_ ?     00:00:00 chromium
1 S  1000    5287    5227 54  80   0 - 365448255 futex_ ?    00:00:02 chromium
1 S  1000    5322    5227  1  80   0 - 365000150 futex_ ?    00:00:00 chromium
1 S  1000    5351    5227  0  80   0 - 364998099 futex_ ?    00:00:00 chromium
1 S  1000    5371    5227  1  80   0 - 365000117 futex_ ?    00:00:00 chromium
1 S  1000    5380    5227  2  80   0 - 365000149 futex_ ?    00:00:00 chromium
1 S  1000    5392    5227  9  80   0 - 365000259 futex_ ?    00:00:00 chromium
4 R     0    5403     335  0  80   0 -  2477 -      pts/3    00:00:00 ps

Looks like there is something missing when installing xorg & chromium only

This environment has no real screen and proxmox has also no complete hardware virtualization like a VM has, this is why it shows

Is it set to virtIO GPU?
Does it find something?

lspci | grep -i vga

If yes, then you need probably also xserver-xorg-video-qxl.

If you don’t want a full desktop environment you could go on with lightdm and openbox instead.

vga is present

# install lspci with pciutils
apt install pciutils

# check if VGA is present
root@KazBot:~# lspci | grep -i vga
08:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c9)

qxl driver is installed too, but xorg isn’t working …

Because my aim was not to use local video. I prefer RDP in first place . VNC would be ok too, but is not my first choice …

I was wondering why LxQt desktop works with xrdp but chromium not.
So I rolled back to a snapshot before installing lxqt and started again.

First I configured dietpi-autostart to console with manual login. No Xorg anymore → no error message :slight_smile:

Then I riembered that with LxQt chromium was called in normal (not kiosk) mode the first time.
So I configured .xsession in non kiosk mode too. But did not work. So I added user-data-dir.

root@KazBot:~# cat /home/dietpi/.xsession
chromium --remote-debugging-port=9222 --user-data-dir=/home/dietpi/Chromium https://kleinanzeigen.de &

With this configuration chromium starts via xrdp without any problems.
After configuring chromium i finally added --kiosk.

Looks that everything is working now …

1 Like

further discussion on GitHub as reference Dietpi Software - XRDP and TigerVNC requires wrong dependencies · Issue #7947 · MichaIng/DietPi · GitHub