Cruisers Forum
 


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 01-02-2016, 09:34   #1
Registered User

Join Date: Feb 2016
Posts: 2
Opencpn via noVNC and stream gpsd

I have installed gpsd on a raspberry 2 on boat, configured to sent stream outside.
On my public server I installed openCPN inside a docker container, connected to gpsd. It works fine:

OpenCPN Cartografico | HouseNaos

but I have a problem. If the network connection between the server with GPSD and the client with opencpn stops even for a few minutes, when the network connection is restored the connection between gpsd and opencpn does not restart. To restore everything I need to restart opencpn or reconfigure the connection with gpsd inside opencpn.

thanks,
stefano
sciuipis is offline   Reply With Quote
Old 13-04-2016, 18:20   #2
Registered User

Join Date: Feb 2015
Posts: 6
Re: Opencpn via noVNC and stream gpsd

Did you try gpsd -n option ?

opencpn in a container ...Docker ? how do you access opencpn UI, via remode dektop on container ip ?
Lucodealethea is offline   Reply With Quote
Old 14-04-2016, 07:40   #3
Registered User

Join Date: Feb 2016
Posts: 2
Re: Opencpn via noVNC and stream gpsd

Yes. I started a docker container with this process:

Code:
root@ae08cef1e009:~# ps -edaf
UID        PID  PPID  C STIME TTY          TIME CMD
root         1     0  0 14:28 ?        00:00:00 /usr/bin/python /usr/bin/supervisord -c /etc/supervisor/supervisord.conf
root         9     1  0 14:28 ?        00:00:00 bash ./utils/launch.sh
user        10     1  0 14:28 ?        00:00:00 xinit -- :0 -nolisten tcp vt -noreset +extension GLX +extension RANDR +extension RENDER +extension XFIXES
root        17    10  0 14:28 ?        00:00:01 X :0 -nolisten tcp vt -noreset +extension GLX +extension RANDR +extension RENDER +extension XFIXES
root        26     9  0 14:28 ?        00:00:00 /usr/bin/python /usr/bin/websockify --web /opt/noVNC 6080 localhost:5900
user        36    10  0 14:28 ?        00:00:00 /bin/bash /home/user/.xinitrc
user        37    36  0 14:28 ?        00:00:00 openbox
root        42     1  0 14:28 ?        00:00:00 x11vnc -display :0 -forever -shared -nopw -viewonly
user        44    36  2 14:28 ?        00:00:04 opencpn -fullscreen
root        57     0  0 14:28 ?        00:00:00 bash
root        80    26  0 14:29 ?        00:00:00 /usr/bin/python /usr/bin/websockify --web /opt/noVNC 6080 localhost:5900
and configured opencpn to connect via gpsd to my boat (over openVPN). Now I try with gpsd -n but it does not work anymore.

ciao,
stefano
sciuipis is offline   Reply With Quote
Reply

Tags
enc, gps, 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
OpenCPN and GPSD jm2 OpenCPN 3 21-06-2012 13:33
OpenCPN - Fedora 14 - GPSD michaeld OpenCPN 9 30-08-2011 08:44
Patch for OpenCPN to Work on Latest gpsd (2.96) and MeeGo builds arfoll OpenCPN 0 22-07-2011 11:04
OpenCpn and GPSD and fakegps deepstar OpenCPN 1 24-04-2011 04:18
OpenCPN and gpsd 2.95 (Revision 2010-11-02T15:45:01) cray OpenCPN 12 12-02-2011 10:28

Advertise Here


All times are GMT -7. The time now is 07:03.


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.