I am trying to run idle with root privileges so as to use the RPi.GPIO module.
The RPi 2 is headless and I am using TightVNC Server. I get the error
Client is not authorized to connect to ServerTraceback
From googling I have discovered that this is a conflict with VNC but I have not been able to find a solution.
Strangely I somehow managed to resolve this problem when using the old Model B but I stupidly did not make a note of how.
Can anybody help?
~/.bashrc
. Not sure though. :( :(