ccgx:ccgx_vnc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ccgx:ccgx_vnc [2015-01-22 20:45] – [Notes] mvader | ccgx:ccgx_vnc [2017-12-08 14:15] (current) – removed mvader | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Remote access a CCGX via VNC ====== | ||
- | **WARNING**: | ||
- | |||
- | ===== Introduction to VNC ===== | ||
- | VNC is a desktop sharing protocol, commonly used to remotely log into a computer. Similar to for example Microsoft Remote Desktop and Teamviewer. It can also be used to remotely view and use a CCGX, from a desktop computer, but also from a phone or tablet! See for example below screenshot. | ||
- | |||
- | {{ : | ||
- | |||
- | ===== Prerequisites ===== | ||
- | First, carefully read above warning, and only continue if you know what you are doing. | ||
- | |||
- | Then, you need to have root access to the CCGX ssh shell. Ask for us the login details at mvader@victronenergy.com. | ||
- | |||
- | Enable the SSH server by enabling Remote Support. The Remote support setting is in Settings -> General. | ||
- | |||
- | Connect to the CCGX with a ssh client, for Windows we recommend putty.exe, available at http:// | ||
- | |||
- | ===== Setting up the VNC server ===== | ||
- | 1. Update the package repository | ||
- | |||
- | opgk update | ||
- | | ||
- | 2. Install the vnc server | ||
- | |||
- | opkg install qt4-embedded-plugin-gfxdriver-gfxvnc | ||
- | | ||
- | 3. Go to the directory containing the gui run script | ||
- | |||
- | cd / | ||
- | | ||
- | 4. Add " | ||
- | |||
- | nano ./run | ||
- | | ||
- | A basic text editor will open. Make the changes, and use ctrl-x to save and exit the file. Note that nano can be tricky when trying to change long lines. To see if you did it right, run: | ||
- | |||
- | cat ./run | ||
- | | ||
- | The contents should be: | ||
- | |||
- | #!/bin/sh | ||
- | exec 2>&1 | ||
- | exec envdir ./env softlimit -d 2000000 -s 1000000 -a 100000000 / | ||
- | |||
- | 4. Restart the gui | ||
- | |||
- | svc -t . | ||
- | | ||
- | All done! If the gui does not start up any more, double check that you successfully made the changes to the run script. The output of the gui log is in / | ||
- | | ||
- | cat / | ||
- | |||
- | ===== Notes ===== | ||
- | * Above changes will disappear every time that the CCGX is updated | ||
- | * A typical viewer to use on your laptop is available at https:// | ||
- | * With above changes, you have opened port 5900 for anyone. There is ZERO security. Never do this on a CCGX that is publically connected to internet. | ||
- | * In case something went wrong, and you want to restore the gui script to the original version, run < | ||
- | ===== DISQUS ===== | ||
- | ~~DISQUS~~ |
ccgx/ccgx_vnc.1421955930.txt.gz · Last modified: by mvader