Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4916

Raspberry Pi OS • Running GTK Eto.Forms apps under sudo

$
0
0
On X11
I can run my apps as normal or sudo and the keyboard input works

On Wayland
I can run my apps as normal
But if I run as sudo, the keyboard input does not work

Have notices the following errors in the log when running on Wayland under sudo
error: XDG_RUNTIME_DIR is invalid or not set in the environment.

How do I setup the sudo user so that it works correctly under Wayland?

Statistics: Posted by ProjectMayu — Tue Mar 19, 2024 1:01 am



Viewing all articles
Browse latest Browse all 4916

Trending Articles