sakaki- / gentoo-on-rpi-64bit

Bootable 64-bit Gentoo image for the Raspberry Pi4B, 3B & 3B+, with Linux 5.4, OpenRC, Xfce4, VC4/V3D, camera and h/w codec support, weekly-autobuild binhost
GNU General Public License v3.0
918 stars 126 forks source link

pyconfig_gen won't launch under tigervnc session #163

Open jpo- opened 4 years ago

jpo- commented 4 years ago

Using rpi as a headless machine with tigervnc. I've followed the instructions to setup tigervnc, but when I try to launch pyconfig_gen as root I receive the following error:

# pyconfig_gen
No protocol specified
qt.qpa.xcb: could not connect to display :1.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: minimal, offscreen, xcb.

Aborted
jpo- commented 4 years ago

The issue appears to be that the .Xauthority isn't being exported. I think that the VNC wiki page should be updated to include instructions to export the XAUTHORITY environment variable. Potentially by adding instructions to include it in the users .bashrc file like this:

$ echo "export XAUTHORITY=~/.Xauthority" >> .bashrc

I'm happy to update the wiki page to add the instruction if that is helpful. Thanks!

sakaki- commented 4 years ago

Hi @jpo-

yes, please feel free to update the wiki page, and thanks for the heads up on this point!

Best, sakaki

jpo- commented 4 years ago

Hi @sakaki-

Thanks! I've updated the wiki page. I need to look into the issue a bit further though as while I can now launch sudo pyconfig_gen from the terminal, it still doesn't launch from the xfce settings menu.

Best, jpo-

sakaki- commented 4 years ago

30 Oct 2020: sadly, due legal obligations arising from a recent change in my 'real world' job, I must announce I am standing down as maintainer of this project with immediate effect. For the meantime, I will leave the repo up (for historical interest, and since the images may be of use still in certain applications); however, there will be no further updates to the underlying binhost etc., nor will I be accepting / actioning further pull requests or bug reports from this point. Email requests for support will also have to be politely declined, so, please treat this as an effective EOL notice.

For further details, please see my post here.

Many thanks for your interest in this project!

With sincere apologies, sakaki ><