[PD] Problem with X11 (was: Compile error on Odroid-U3)

Alexandros Drymonitis adrcki at gmail.com
Tue Sep 2 14:37:29 CEST 2014


An update to this thread. I found this thread in Odroid's forum
http://forum.odroid.com/viewtopic.php?f=79&t=5650 and followed the
suggestion of the fourth post, saying to change the 'Option "fbdev"
"/dev/fb1"' to fb0 (well it's for Debian Wheezy and my Odroid is running in
Ubuntu, but gave it a shot), and when I try to open Pd I get this:
xcb_connection_has_error() returned true
priority 6 scheduling enabled.
priority 8 scheduling enabled.
application-specific initialization failed: couldn't connect to display
"localhost:10.0"

but I don't get the "X11 connection rejected because of wrong
authentication." error any more. Then watchdog is signaling Pd without Pd
opening.
Is this any better?


On Tue, Sep 2, 2014 at 3:13 PM, Alexandros Drymonitis <adrcki at gmail.com>
wrote:

>
>
>
> On Tue, Sep 2, 2014 at 2:51 PM, IOhannes m zmoelnig <zmoelnig at iem.at>
> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA256
>>
>> On 2014-08-31 17:34, Alexandros Drymonitis wrote:
>> > I'm starting a new thread cause the problems I have with Odroid
>> > are changing. Since I installed Pd with apt-get, at first, when I
>> > was writing /usr/bin/pd, I was getting the following: priority 6
>> > scheduling enabled. priority 8 scheduling enabled.
>>
>> whenever I have problems starting Pd, I start with disabling (default)
>> options.
>> the above indicates that Pd tries to run with rt-priviliges.
>> run with "-nrt".
>>
>> > Fontconfig warning: ignoring UTF-8: not a valid region tag
>> >
>> > and Pd was hanging (this was mentioned in the previous thread).
>> >
>> > Now I get something else when I try to open Pd, which is this:
>> [...]
>> > xcb_connection_has_error() returned true
>>
>> since i have never seen this error before, i pasted it into my
>> favourite search engine (you might want to do the same).
>> the results i got seem to indicate that it is related to pulseaudio.
>>
> I am searching the errors, but get dozens of links and not sure which one
> gives answers I need. I try different things...
>
>>
>> try starting Pd without audio:
>> run with "-nosound".
>>
> Did with both -nrt and -nosound flags, but the same thing happens, only I
> didn't see watchdog signaling Pd...
>
>>
>>
>> > X11 connection rejected because of wrong authentication. X11
>> > connection rejected because of wrong authentication. X11 connection
>> > rejected because of wrong authentication. X11 connection rejected
>> > because of wrong authentication. X11 connection rejected because of
>> > wrong authentication.
>>
>> again i did a quick websearch, and found [2], which gives a nice
>> checklist (though you can ignore the last item with "X11 client
>> forwarding", as this is a) turned on explicitely with "-X" and b)
>> seems to work anyhow e.g. on udoo)
>>
> Seems to be ok, following these directions. Though, since the initial
> problem was space, I searched for the linux command to show partitions and
> found $ sudo fdisk -l, which gives the following:
> Disk /dev/mmcblk0: 7818 MB, 7818182656 bytes
> 4 heads, 16 sectors/track, 238592 cylinders, total 15269888 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x000c4046
>
>         Device Boot      Start         End      Blocks   Id  System
> /dev/mmcblk0p1            3072      266239      131584    6  FAT16
> /dev/mmcblk0p2          266240     7407615     3570688   83  Linux
>
> Disk /dev/mmcblk0rpmb: 0 MB, 524288 bytes
> 4 heads, 16 sectors/track, 16 cylinders, total 1024 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x00000000
>
> Disk /dev/mmcblk0rpmb doesn't contain a valid partition table
>
> Disk /dev/mmcblk0boot1: 4 MB, 4194304 bytes
> 4 heads, 16 sectors/track, 128 cylinders, total 8192 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x00000000
>
> Disk /dev/mmcblk0boot1 doesn't contain a valid partition table
>
> Disk /dev/mmcblk0boot0: 4 MB, 4194304 bytes
> 4 heads, 16 sectors/track, 128 cylinders, total 8192 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0x1907e61d
>
> Disk /dev/mmcblk0boot0 doesn't contain a valid partition table
>
>
> any secret hidden there?
>
>>
>> > priority 6 scheduling enabled. priority 8 scheduling enabled. X11
>> > connection rejected because of wrong authentication. X11 connection
>> > rejected because of wrong authentication. application-specific
>> > initialization failed: couldn't connect to display
>> > "localhost:10.0"
>>
>> "localhost:10.0" is the DISPLAY-setting for X11-forwarding via ssh.
>> this means: whenever you start "ssh -X ...", ssh will set the DISPLAY
>> to this value, so that all X11-applications will be forwarded to your
>> local machine.
>>
>> in any case, you should first get X11 forwarding to run properly
>> (without Pd).
>> use some simple application (like xclock or xeyes) to test whether it
>> works,
>>
> Nope, none of them. Both give this error:
>
> X11 connection rejected because of wrong authentication.
> Error: Can't open display: localhost:10.0
>
>>
>>
>> fgdmasr
>> IOhannes
>>
>> [2]
>>
>> http://www.cyberciti.biz/faq/x11-connection-rejected-because-of-wrong-authentication/
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1
>>
>> iQIcBAEBCAAGBQJUBa8tAAoJELZQGcR/ejb4+qkP/iEFOPfzmdaNZjhSGKzz1fd9
>> CatDRMPOZZOou1C8kL6FCbVPKpHGNnEIs9coYwTdTyJmXM8D08C6SiBneEJBEyFp
>> pAhdvSkFgs2xgOiVnPIUzF3wfwWoOIe+A7EglKfNkTtn25e/HWFXx4ZWrysqva0e
>> 6smgUd/+dxkfPz4+O7nnYf9DGOG74q3xYFLg9GKvr8s8x2ihL01mCfTCDOgYKYmU
>> Fy8B00l96pzkOZV+J8IqR5wZzgrUc7PLNLsYNxPboCdcIoWuKmgrwfs2Ed4BD6wb
>> 3p/19+qiOVMjcYka2kYn92sBINSCwevYsXw9W51uTdOngB2dX5ssnoY7Fj8umgGg
>> Mp8mt/KNmbSlluQxqitdT8E7HcXiec5B1W1Vp8cAWuGAVFX6fpteM+gOYxfNdS/k
>> kxNwRBf290e6m+qE/H5i/APLCSsOWyUQLB+7YHMVK3kyh6CKCV6gl2yrNCgjdqZU
>> oS46tzMCGgdDTUHVBoyWLo9AyZn/YZPqlAJocHd7Guvr2qB9sfWEMdwgb70ARg6E
>> dGP7NCIxO2sJX8+eMFdsFl+qssQg/4tcj3DvWOE8W7P0le8vN+Xbtz16+/qCSThT
>> o4rk7e1abOgznmQ7Q4nFf+uvQ9as/xk8PPqxOQyz9W9ve7kukg3uHaQ7z/q+4CSS
>> 4OzxBCUwF1ntlrkRqIuC
>> =Siou
>> -----END PGP SIGNATURE-----
>>
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140902/c796c289/attachment.html>


More information about the Pd-list mailing list