batocera-linux / batocera.linux

batocera.linux
https://batocera.org
Other
2.02k stars 523 forks source link

Restart/start of emulationstation from SSH terminal do not work on pi5 #11146

Open msrecko opened 8 months ago

msrecko commented 8 months ago

Batocera build version

39 2024/02/28 05:35

Your architecture

Raspberry Pi5

Your Graphic Processor Unit(s) (GPU)

VideoCore VII GPU

Issue description

Hi, batocera v39 beta pi5, from Feb 23 and Feb 28, emulationstation restart/start from SH terminal do not work.

From terminal this: is working (stops emulation station) - /etc/init.d/S31emulationstation stop not working (do not start emulationstation) - /etc/init.d/S31emulationstation start not working (do not restart emulationstation) - batocera-es-swissknife --restart

Tnx.

Detailed reproduction steps

Burn clean image on USB, and boot from SDcard.

Details of any attempts to fix this yourself

No response

Details of any modifications you have made to Batocera.

No

Logs and data

00:00:00.000 [INFO] [sway/main.c:334] Sway version 1.8.1 00:00:00.000 [INFO] [sway/main.c:335] wlroots version 0.16.2 00:00:00.001 [INFO] [sway/main.c:120] Linux BATOCERA 6.1.73 #1 SMP Wed Feb 28 05:09:57 Europe 2024 aarch64 GNU/Linux 00:00:00.002 [INFO] [sway/main.c:136] Contents of /etc/os-release: 00:00:00.002 [INFO] [sway/main.c:120] NAME=Buildroot 00:00:00.002 [INFO] [sway/main.c:120] VERSION=2019.11-21787-gacccd5ffe6 00:00:00.002 [INFO] [sway/main.c:120] ID=buildroot 00:00:00.002 [INFO] [sway/main.c:120] VERSION_ID=2023.05.1 00:00:00.002 [INFO] [sway/main.c:120] PRETTY_NAME="Buildroot 2023.05.1" 00:00:00.002 [INFO] [sway/main.c:108] LD_LIBRARY_PATH= 00:00:00.003 [INFO] [sway/main.c:108] LD_PRELOAD= 00:00:00.003 [INFO] [sway/main.c:108] PATH=/bin:/sbin:/usr/bin:/usr/sbin 00:00:00.003 [INFO] [sway/main.c:108] SWAYSOCK=/var/run/sway-ipc.0.sock 00:00:00.003 [INFO] [sway/main.c:155] Running sway as root user 00:00:00.003 [INFO] [sway/main.c:377] Starting sway version 1.8.1 00:00:00.003 [DEBUG] [sway/server.c:67] Initializing Wayland server 00:00:00.003 [INFO] [wlr] [backend/wayland/backend.c:537] Creating wayland backend 00:00:00.004 [ERROR] [wlr] [backend/wayland/backend.c:555] Could not connect to remote display: No such file or directory 00:00:00.004 [ERROR] [sway/server.c:73] Unable to create backend [root@BATOCERA /userdata/system]# /etc/init.d/S31emulationstation stop [root@BATOCERA /userdata/system]# batocera-es-swissknife --restart [root@BATOCERA /userdata/system]# startx -bash: startx: command not found

dmanlfc commented 8 months ago

can you explain why you need this? also startx is for Xorg not Wayland.

msrecko commented 7 months ago

I want to have option to stop and to start emulationstation properly from SSH. On example, when mianually put some stuff in batocera.conf, emuletionstation should be stopped.

Thnak you, for replay.

n2qz commented 1 month ago

This is also affecting other boards - I encountered the same on rpi4.