Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save Configuration #78

Closed
TheCook2 opened this issue Jan 1, 2017 · 3 comments
Closed

Save Configuration #78

TheCook2 opened this issue Jan 1, 2017 · 3 comments

Comments

@TheCook2
Copy link

TheCook2 commented Jan 1, 2017

Happy New Year!!!!!!

I have been trying to get VNC working with my pi and I have really been messing with everything. I would like to do a clean install. BUT FIRST I would like to save the configuration/schedules etc of sprinklers_pi.

Is there a set of files or anything I can move to another computer and reload after a full build?

While where at it, as a secondary question that has nothing to do with sprinklers_pi... has anyone managed to get VNC to work on a pi? I can't get any VNC client to start talking to it from my Linux Mint machine. I always get something like this:

TheCook@MyBox ~ $ xvnc4viewer

VNC Viewer Free Edition 4.1.1 for X - built Feb 25 2015 22:57:51
Copyright (C) 2002-2005 RealVNC Ltd.
See http://www.realvnc.com for information on VNC.
Server: 10.1.1.34

Sun Jan 1 14:21:40 2017
CConn: connected to host 10.1.1.34 port 5900
CConnection: Server supports RFB protocol version 5.0
CConnection: Using RFB protocol version 3.8
CConnection: No matching security types
main: No matching security types

Why is RFB protocol version sooooooo old? I'll try and ask the question on a Mint forum too.

@nhorvath
Copy link
Collaborator

nhorvath commented Jan 1, 2017

I think I can help with both questions...
The files should be in /usr/local/etc/sprinklers_pi if you used all the default install options. You can just tar that dir and as along as you have the same version on the new box you should be able to just drop that in and start it up.

I use the x11vnc server (apt-get install x11vnc) and run with this cmd: sudo /usr/bin/x11vnc -xkb -auth guess -rfbauth /root/.vncpasswd -o /var/log/x11vnc.log -forever -bg
I can't remember how I generated the passwd file but google should be able to help. Make sure you don't have any other vnc still running on 5900.

I connect fine from my windows machine with tightvnc client.

@TheCook2
Copy link
Author

TheCook2 commented Jan 1, 2017 via email

@TheCook2
Copy link
Author

TheCook2 commented Jan 2, 2017

Hey it works now... outstanding. I rebuilt the pi and it is happy to work.

Mon Jan  2 16:44:48 2017
 CConn:       connected to host 10.1.1.34 port 5900

Mon Jan  2 16:44:49 2017
 CConnection: Server supports RFB protocol version 3.6
 CConnection: Using RFB protocol version 3.3
Password: 
Mon Jan  2 16:44:54 2017
 TXImage:     Using default colormap and visual, TrueColor, depth 24.
 CConn:       Using pixel format depth 6 (8bpp) rgb222
 CConn:       Using ZRLE encoding

@TheCook2 TheCook2 closed this as completed Jan 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants