ing-chtioui
Posts: 5
Joined: Thu Feb 26, 2015 3:33 pm

Unsupported authorisation protocol

Thu Apr 02, 2015 1:22 am

hey
i use putty to connect to my raspberry , i have a pyqt program that must be executed as a super user to work correctly ,
the problem is when i use the command: python program.py it work ( not correctly) but when i user the command:
sudo python program.py it show my this error
PuTTY X11 proxy: Unsupported authorisation protocol
program.py : cannot connect to X server localhost:11.0
can anyone help me :cry:

User avatar
AndyD
Posts: 2334
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: Unsupported authorisation protocol

Thu Apr 02, 2015 1:56 am

Try using gksudo you will probably need to install it

Code: Select all

sudo apt-get update
sudo apt-get install gksu

Return to “Troubleshooting”