GUIDE: To get RDP Access to PI Standard Image Install of QLC+
Posted: Fri Mar 17, 2017 2:59 pm
Hi all,
I have the Pi Box secreted away and not accessible with a monitor. I can use the web interface and some other jiggery-pokery to actually start the shows and get them working in the room. But being able to setup new lighting presets and such like required direct access which is not possible; I needed access the full UI remotely just for setup on new presets. NB: I doubt it has the performance for "run time", but seems fine for configuring. So I scoured the forums here and elsewhere on the web for an easy fix and could just find fragments.
So as a total Linux n00b I powered on through and thought I would share my experiences and SUCCESS!!
I am starting from the "Full software image" for the PI freshly downloaded from here: currently - QLC+ on the Raspberry Pi v20161227
Perhaps Massimo can add these bits into a future installer... or at least a script for those that want it.
I first had to get DNS working to get packages to install. You may not have this issue; try pinging http://www.google.com and if you get a proper response you can miss this bit. It is maybe just a side effect of my network and will not affect everyone else. Just detailed here for completeness.
and added the line to the otherwise pretty blank file:
These just add Google's DNS servers... hardly the most efficient fix (not local), but good enough for this.
Then installation could begin properly:
At this point I could fire up RDP on my windows PC (built in to Windows 7+) and connect to the command line. Trying to start QLC+ will fail as that uses QT5 and that needs some additional libraries to work. After trial and error these are installed by :
I guess these can all be put into one line i.e.:
Then from that RDP command line above I quit the copy of QLC+ running at reboot by killing it's task before running from the command line:
And it worked... it takes a while - and I did see an error appear... but it did kick into life after 10-15 seconds.
I have the Pi Box secreted away and not accessible with a monitor. I can use the web interface and some other jiggery-pokery to actually start the shows and get them working in the room. But being able to setup new lighting presets and such like required direct access which is not possible; I needed access the full UI remotely just for setup on new presets. NB: I doubt it has the performance for "run time", but seems fine for configuring. So I scoured the forums here and elsewhere on the web for an easy fix and could just find fragments.
So as a total Linux n00b I powered on through and thought I would share my experiences and SUCCESS!!
I am starting from the "Full software image" for the PI freshly downloaded from here: currently - QLC+ on the Raspberry Pi v20161227
Perhaps Massimo can add these bits into a future installer... or at least a script for those that want it.
I first had to get DNS working to get packages to install. You may not have this issue; try pinging http://www.google.com and if you get a proper response you can miss this bit. It is maybe just a side effect of my network and will not affect everyone else. Just detailed here for completeness.
Code: Select all
sudo vi /etc/dhcpcd.conf
Code: Select all
static domain_name_servers=8.8.8.8 8.8.4.4
Then installation could begin properly:
Code: Select all
sudo apt-get update
sudo apt-get install xrdp
Code: Select all
sudo apt-get install libxcb-render-util0
sudo apt-get install libxcb-image0
sudo apt-get install libxcb-icccm4
sudo apt-get install libxcb-randr0
sudo apt-get install libxcb-xkb1
sudo apt-get install libxcb-keysyms1
sudo apt-get install libxkbcommon-x11-0
sudo apt-get install libxcb-xfixes0
sudo apt-get install libxcb-xinerama0
Code: Select all
sudo apt-get install xrdp libxcb-render-util0 libxcb-image0 libxcb-icccm4 libxcb-randr0 libxcb-xkb1 libxcb-keysyms1 libxkbcommon-x11-0 libxcb-xfixes0 libxcb-xinerama0
Code: Select all
sudo /usr/bin/qlcplus -platform xcb --web --operate --open /root/.qlcplus/autostart.qxw