[OT] vnc-problem with idle running as sudo on raspberry pi

Jean Dubois jeandubois314 at gmail.com
Mon Dec 23 12:02:15 EST 2013


Op maandag 23 december 2013 16:29:09 UTC+1 schreef Michael Torrie:
> On 12/23/2013 07:06 AM, Jean Dubois wrote:
> > I thought this would be something python-people are familiar with, after
> > all idle is a Python IDE and running it as a root sometimes is necessary.
>
> On most desktop distros like Fedora, sudo idle would indeed work.
>
> The fact that it's not working on your pi, means it must be specific to
> the distro that your pi is running.  And by the way you never mentioned
> what distro this is.
>
> > Anyway,
> > I tried out your suggestion but it didn't work, however googling the line
> > you suggested brought me close to a solution:
>
> The solution likely lies in understanding how MIT-Cookie's work with X11
> and how to use xauth.
>
In fact no need for that, changing sudo /usr/bin/idle to gksu /usr/bin/idle
is all is needed to make this work.

kind regards,
jean



More information about the Python-list mailing list