Hi,
I’m using the LITE version of Raspberry PI OS. ( so without desktop environment and other stuff, but unfortunately not systemd free… )
When I use this raspberry locally I don’t need a desktop, but remotely I might…
I’ve found an interesting link:
https://www.xmodulo.com/remote-control-raspberry-pi.html
see Method Three: X11 Forwarding for Desktop over SSH
I see that xinit is not installed by default with LITE ( and it make sense ) so do you think if I install it, and follow the rest of instruction it will work ?
If I understand well the mechanism I do not need to install a desktop environment on the server ( the rpi ) but only on the client right ?
Or do you know a better way do achieve this ?
What exactly is it your trying to use the raspberry pi for? A better solution might just be a web UI if you just need to adjust a few things/check on it every now and then remotely. You can just use your browser to go to its IP and have a UI there.
Seconding this. The last time I use raspberry pi it was the first version and it could barely do x windows; trying to push everything to remote x and through ssh might make it unusable, but it will still technically work.
In your shoes: I would use something like cockpit and it comes with most distos by default. It uses your local browser to administer your rpi and can also give you a shell or virtual terminal.
If you insist on forwarding x over ssh, then be sure to enable compression. (I didn’t see it in the article that you linked).