Launching xfce4-terminal with sudo systemd-run through the xfce4-terminal shows an error
This is probably a variant of: (https://bugzilla.xfce.org/show_bug.cgi?id=15931) I am starting xfce4-terminals this way:
sudo systemd-run --uid=root -E SESSION_MANAGER=${SESSION_MANAGER} \ xfce4-terminal -T "xfce4-terminal (${USER}/root#${HOSTNAME})" --disable-server --display=:0.0
In syslog, the following message appears:
systemd[1]: Started run-r833a8aa4978440cd9acb6bc80a34d3cc.service - /usr/bin/xfce4-terminal -T xfce4-terminal (mbu/root#mtx) --disable-server --display=:0.0. xfce4-terminal[3479661]: Failed to connect to session manager: Failed to connect to the session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
I want to get rid of this message, it make the situation unclear! That's because the terminal runs and does - so far - work as expected.