Hello,
Trying to run a programme on the Pi from my win 7 machine using tightvnc,
no problems with tightvnc, works fine.
The programme I'm trying to run needs root privileges or sudo.
I can run the programme on the Pi with no problems from a root or LX terminal.
If I log in from my win 7 machine and run the programme from a root terminal its fine,
if I try sudo ./myprog from an LX terminal,
I get the following error:-
pi@mypi ~/qt4/io1 $ sudo ./io1
Client is not authorized to connect to Serverio1: cannot connect to X server :1
pi@mypi ~/qt4/io1 $
Is this a privilege problem, is there a way to run this programme from
my win 7 machine as a normal user using sudo ./myprog.
Thanks for any help offered.
Regards
