diff options
author | Thomas Van Iseghem <[email protected]> | 2023-01-25 21:51:12 +0100 |
---|---|---|
committer | Thomas Van Iseghem <[email protected]> | 2023-01-25 21:51:12 +0100 |
commit | e76059f0bed9e842ecd66879587ddc4ff8ec2dd1 (patch) | |
tree | fa48e8132bdb2239089e9b59714971c32ac55b8d | |
parent | 3010347a1b9b9f8fed1775a9a5b99011fd48fea2 (diff) | |
download | OpenCortex-e76059f0bed9e842ecd66879587ddc4ff8ec2dd1.tar.gz OpenCortex-e76059f0bed9e842ecd66879587ddc4ff8ec2dd1.zip |
Added VNC binaries and documentation
-rw-r--r-- | External VNC/S90qc_vnc | 36 | ||||
-rwxr-xr-x | External VNC/libvncserver.so.1 | bin | 0 -> 246507 bytes | |||
-rwxr-xr-x | External VNC/qc_vnc | bin | 0 -> 31687 bytes | |||
-rw-r--r-- | README.md | 33 |
4 files changed, 65 insertions, 4 deletions
diff --git a/External VNC/S90qc_vnc b/External VNC/S90qc_vnc new file mode 100644 index 0000000..c4221f4 --- /dev/null +++ b/External VNC/S90qc_vnc @@ -0,0 +1,36 @@ +#!/bin/sh +# +# qc_vnc Starts qc_vnc. +# + +start() { + echo -n "Starting qc_vnc: " + bin/qc_vnc + echo "OK" +} +stop() { + echo -n "Stopping qc_vnc: " + killall qc_vnc + echo "OK" +} +restart() { + stop + start +} + +case "$1" in + start) + start + ;; + stop) + stop + ;; + restart|reload) + restart + ;; + *) + echo "Usage: $0 {start|stop|restart}" + exit 1 +esac + +exit $? diff --git a/External VNC/libvncserver.so.1 b/External VNC/libvncserver.so.1 Binary files differnew file mode 100755 index 0000000..b6b2050 --- /dev/null +++ b/External VNC/libvncserver.so.1 diff --git a/External VNC/qc_vnc b/External VNC/qc_vnc Binary files differnew file mode 100755 index 0000000..25103bc --- /dev/null +++ b/External VNC/qc_vnc @@ -14,6 +14,7 @@ Unforunately it seems we got of on the wrong foot, for context I (Thomas) got ba *If you can still read this note, I wasn't contacted yet.* + ## What is already possible (or in better terms discovered) Before I start of listing everything that is discovered, I want to make clear that this is currently a 2 man project and we're doing our best to do as much as possible in the time we've got available. A lot of things are still in progress but every day new things get discovered. There is a lot to look at and not everything can be done at the same time. we'll try to prioritise but roadblocks will be hit. @@ -22,7 +23,7 @@ Before I start of listing everything that is discovered, I want to make clear th - Gaining persistent access over a network connection. -- Building an RDP solution to use the native CorOS UI live on your pc. [TBA] +- Building an RDP solution to use the native CorOS UI live on your pc. - Renaming the built in amps, pedals, etc. to whatever you like. (reboot required for changes to take effect) @@ -249,9 +250,33 @@ Finally reboot your QC, now you should have all models (except captures) renamed ![IMG20221218151130](https://user-images.githubusercontent.com/55881698/208303182-8554e62c-96a9-41f2-be0d-1f1f4f564506.jpg) -# Accessing your backup +# External editor (VNC) -Your backup is available as a compressed archive under `/media/p4/downloaded_backup.tar.gz` -It only contains your personal files such as captures, presets, ... It does not contain any system files, so it can't be used as a complete system restore backup. +Since we've figured out how to cross-compile our own binaries, we were able to compile a VNC solution for the Quad Cortex. + +The VNC server we compiled is based on [this project](https://github.com/ponty/framebuffer-vncserver). We had to modify the source code a bit to make it work with the touchscreen. But besides that, it is identical. This patch was necesarry because the touchscreen doesn't report it's width and height in a propper way. + +*[Installer and auto-run on boot will be added later]* + +*For now you can use it the manual way* + +## Installation + +In the `External VNC` folder you will find the files `qc_vnc` and `libvncserver.so.1`. Move these to the following locations on the QC: + +- **qc_vnc:** `/bin` +- **libvncserver.so.1**: `/lib` +That's it. You can now start the server! + +## Usage + +```console +qc_vnc -f /dev/fb0 -t /dev/input/event0 +``` + +# Accessing your backup + +Your backup is available as a compressed archive under `/media/p4/downloaded_backup.tar.gz` +It only contains your personal files such as captures, presets, ... It does not contain any system files, so it can't be modify
\ No newline at end of file |