Re: [PD] [rpi] X11 forwarding woes

2013-01-29 Thread Andy Farnell
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
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [rpi] X11 forwarding woes

2013-01-29 Thread Charles Goyard
Hi,

Andy Farnell wrote:
 Otherwise, open the X using xhost and export
 a display setting.

I forgot about that one. Thanks for the reminder.

I miss the rsh/rlogin good old days :).

-- 
Charlot

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] [rpi] X11 forwarding woes

2013-01-28 Thread Charles Goyard
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

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [rpi] X11 forwarding woes

2013-01-28 Thread Antoine Villeret
hi,

strange, X11 forwarding works fine for me on Raspbian
which distro are you using ?

+
a

--
do it yourself
http://antoine.villeret.free.fr


2013/1/28 Charles Goyard c...@fsck.fr

 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

 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] [rpi] X11 forwarding woes

2013-01-28 Thread Charles Goyard
Hi,

archlinux on my pc, and raspbian on the pi.

Note that others programs behave well.

Antoine Villeret wrote:
 strange, X11 forwarding works fine for me on Raspbian
 which distro are you using ?

___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list