Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #62533
| Date | 2013-12-22 10:06 -0700 |
|---|---|
| From | Michael Torrie <torriem@gmail.com> |
| Subject | Re: [OT] vnc-problem with idle running as sudo on raspberry pi |
| References | <b0b2ea81-0051-4e59-9b91-67cd9decbcab@googlegroups.com> <6fc90651-e42f-444d-a6de-2ca030cc9110@googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.4493.1387732035.18130.python-list@python.org> (permalink) |
On 12/22/2013 06:27 AM, Jean Dubois wrote: > I was wrong writing idle_as_root worked this way. As a matter of fact, > this method also does not work as expected, as can be seen from this > message: > > X11 connection rejected because of wrong authentication. > > New 'X' desktop is raspberrypi:1 > > Starting applications specified in /home/pi/.vnc/xstartup > Log file is /home/pi/.vnc/raspberrypi:1.log > > Starting TightVNC server for pi In future, I suspect you'll need to take questions like this that don't really have anything to do with Python to a Raspberry Pi forum or e-mail list. Or a general Linux list. Short answer: Edit /etc/sudoers and add this line somewhere in it (probably near other lines that look similar): Defaults env_keep += "DISPLAY XAUTHORITY" If that doesn't work, then you'll have to talk to folks running the Rasbian on their Pi. Sometimes XAUTHORITY isn't set.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
vnc-problem with idle running as sudo on raspberry pi Jean Dubois <jeandubois314@gmail.com> - 2013-12-22 05:02 -0800
Re: vnc-problem with idle running as sudo on raspberry pi Jean Dubois <jeandubois314@gmail.com> - 2013-12-22 05:27 -0800
Re: [OT] vnc-problem with idle running as sudo on raspberry pi Michael Torrie <torriem@gmail.com> - 2013-12-22 10:06 -0700
Re: [OT] vnc-problem with idle running as sudo on raspberry pi Jean Dubois <jeandubois314@gmail.com> - 2013-12-23 06:06 -0800
Re: [OT] vnc-problem with idle running as sudo on raspberry pi Michael Torrie <torriem@gmail.com> - 2013-12-23 08:29 -0700
Re: [OT] vnc-problem with idle running as sudo on raspberry pi Jean Dubois <jeandubois314@gmail.com> - 2013-12-23 09:02 -0800
csiph-web