On Sun, 12 Feb 2017 13:56:52 +0100 Thomas Wagner <wagner-thomas@gmx.at> wrote:
On 2017-02-12 12:52, Dave Howorth wrote:
How about setting the DISPLAY environment variable as part of the command sudo executes? Or using the -display argument to xterm? I suspect :0.0 will work as the display value. Thanks for the hint, but it doens't change anything.
sudo -u a_user xterm -display :0.0 works for me, whilst sudo -u a_user xterm does not. If you provide a -display argument to xterm, I don't see how it would then report that the display is not set. Are you sure it reports exactly the same error? PS please don't copy me on your reply. I read the list. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org