Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 10-02-2022, 09:31   #1
Registered User

Join Date: Feb 2022
Posts: 2
Pi 4 b - 64 bit OS OpenCPN launch failure

Hi All,

I've installed Open CPN via the flatpak installer on my Pi 4b with the 64-bit OS installed. However when I try to launch OpenCPN I get an X Window error. I am connecting to the pi via VNC but I don't think that should matter. I can launch other applications just fine.

version info:
Code:
OpenCPN       org.opencpn.OpenCPN          5.6.0-3+777652e stable
Code:
:~ $ flatpak run org.opencpn.OpenCPN

(opencpn:2): Gdk-ERROR **: 16:45:00.612: The program 'opencpn' received an X Window System error.
This probably reflects a bug in the program.
The error was '154'.
  (Details: serial 14881 error_code 154 request_code 148 (unknown) minor_code 4)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the GDK_SYNCHRONIZE environment
   variable to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Any advice or help would be greatly appreciated.
rosinbum is offline   Reply With Quote
Old 10-02-2022, 11:20   #2
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,119
Re: Pi 4 b - 64 bit OS OpenCPN launch failure

Did you use the right instruction to install the flatpak version ?

You have to install the flatpak enviroment first:

sudo apt install flatpak

then the flatpak OpenCPN

flatpak install --user https://dl.flathub.org/repo/appstrea...CPN.flatpakref

On the Pi you must have the VNC server switched on. VNC show in right upper corner.

So it works here.

then:

flatpak run org.opencpn.OpenCPN

and do the same but with update instead of run. Then the alarm sounds are also ringing.

then you see somewere an Icon to start the flatpak Opencpn.

Bram
verkerkbr is offline   Reply With Quote
Old 10-02-2022, 14:18   #3
Registered User

Join Date: Feb 2022
Posts: 2
Re: Pi 4 b - 64 bit OS OpenCPN launch failure

I re-installed everything from scratch and it's working now. I must have messed something up along the way.

thanks
rosinbum is offline   Reply With Quote
Reply

Tags
enc, opencpn


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Open CPNon Mac, 10.10, Failure to launch BandT4452 OpenCPN 5 08-06-2021 14:10
Ubuntu 32 bit vs 64 bit for OpenCPN victor15 OpenCPN 1 17-05-2019 15:48
Fridge Failure - Danfoss BD35F motor start failure Anjin Plumbing Systems and Fixtures 67 22-03-2018 05:21
For Sale: Hydraulic tilt launch trailer launch or recover boat anywhere Striker37 General Classifieds (no boats) 3 03-12-2017 10:27
Dink launch failure svmariane Seamanship & Boat Handling 2 09-01-2013 22:20

Advertise Here


All times are GMT -7. The time now is 13:53.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.