On 4/10/22 7:39 pm, Greg Wooledge wrote:
Change the sshd_config to allow direct root logins. Then do ssh -X r...@debian.box.If you're the paranoid type, or if the Debian system is exposed to the public Internet, then make sure you only permit root logins when using pubkey authentication, not password. Then set up an RSA pubkey for your direct root login.
To use the display without ssh root login. ssh as normal user to host. Then echo $DISPLAY su -export DISPLAY=localhost:10 (or whatever your logged in user DISPLAY is set to)
xauth add $(xauth -f ~<your user name>/.Xauthority list | tail -1) xhost -- Jeremy
OpenPGP_signature
Description: OpenPGP digital signature