lmkatrack.blogg.se

Raspberry pi nomachine
Raspberry pi nomachine












raspberry pi nomachine

Sudo xauth -f ~xuser/.Xauthority extract - $DISPLAY | xauth merge. If not you can copy the token from the logged in user to your ssh user using: export DISPLAY=:0.0 Permission is usually handled via tokens stored in $HOME/.Xauthority so if you are using ssh as the same user that is logged into the desktop then just setting DISPLAY will be sufficient.

raspberry pi nomachine

The local display will most likely be DISPLAY=:0.0 and you can configure this for your Tkinter application. How you do this depends on your system but if you want to display on the local display it needs to be running a desktop session and you need permission (typically via xauth) to connect to that display. In X Windows you can specify a local or remote display using the DISPLAY environment variable or -display parameter. Tkinter is an X Window System application and needs an X Display to show itself on.














Raspberry pi nomachine