Root cannot open a display owned by another user. Logging in as user1 and then running a forwarded X application as user2 will fail unless user2 can write to the same display.
As for ssh, I think -X is deprecated in favour of -Y for many reasons Also, why use ssh? Unless you are exposing the RPi directly to the internet (It is a COW installed system, not a RO live system so could be compromised), then why bother? The encrytion overhead is quite a drag on bandwidth. At least turn the cipher to a lightweight one like Blowfish. Otherwise, open the X using xhost and export a display setting. cheers, Andy On Mon, Jan 28, 2013 at 03:26:01PM +0100, Charles Goyard wrote: > Hi list, > > just starting using pd on the rpi. It works well, but there's something > strange with X11 forwarding. > > Doing: > ssh -X 192.168.1.52 > pd > > fails with : > X Error of failed request: BadAccess (attempt to access private > resource denied) > Major opcode of failed request: 18 (X_ChangeProperty) > > Doing: > ssh -Y 192.168.1.52 > pd > > works. > > Doing: > ssh -Y 192.168.1.52 > sudo pd > > fails with : > debug2: X11 connection uses different authentication protocol. > X11 connection rejected because of wrong authentication. > Application initialization failed: couldn't connect to display > "localhost:10.0" > > > So far I'm not that concerned with real-time priority, but what's my problem ? > I found some clues on the internet but they were not helpful. > > Commands like xterm and wish and exported to my display as needed. > > Thanks for any idea. > > Charles > > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
