[HOWTO] Reduce resolution while running VNC-Server (better performance)
|
24th Jan, 2014, 07:48 PM
Post: #1
|
|||
|
|||
[HOWTO] Reduce resolution while running VNC-Server (better performance)
Hi XBian-friends,
here's is an instruction/script by me how you can get your RPi to change resolution automatically when starting/stopping the VNC-Server. Why it is needed? It isn't! - But you get a way better performance with lower resolutions if you want to do something in XBMC via VNC. Of course, you can do it even manually, but automating things is just more comfortable. Any disadvantage? As XBMC seems to need a restart after changing the RPi's resolution, XBMC will be restarted whenever you start or stop your VNC-Server. This can be a disadvantage e.g. if you want to connect via VNC, but the server isn't started yet and XBMC is currently scraping or something. But for me, it's not a real disadvantage. If someone knows how to bypass this, just shout! How to: All you have to do is creating following 3 files: /etc/default/vnc-autores Code: ### /etc/default/vnc-autores /etc/init/vnc-autores-controller.conf Code: ### /etc/init/vnc-autores-controller.conf /usr/local/bin/vnc-autores Code: #! /bin/bash and make the last one executable via: Terminal sudo chmod +x /usr/local/bin/vnc-autores Alternatively you can download the files... vnc-autores.zip (Size: 2.68 KB / Downloads: 9) That's it. If you now start the vnc-server service and the automode of vnc-autores is enabled, it will change the resolution before starting and switch it back after stopping. At any time you can also disable/enable the automode without manually editing the config file by calling: Terminal sudo vnc-autores {disable|enable} cheers josch My setup: Software: XBian version: 1.0RC3 | XBMC version: 13.2 (Gotham) | Overclock settings: High Hardware: RPi model: B | Power: DUB-H7 | SD: Tanscend Class 10 | Network: Wireless |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
[HOWTO] Reduce resolution while running VNC-Server (better performance) - josch - 24th Jan, 2014 07:48 PM
RE: [HOWTO] Reduce resolution automatically when starting VNC-Server (better performance) - mk01 - 25th Jan, 2014, 02:12 PM
RE: [HOWTO] Reduce resolution automatically when starting VNC-Server (better performance) - josch - 26th Jan, 2014, 05:24 AM
RE: [HOWTO] Reduce resolution while running VNC-Server (better performance) - josch - 27th Jan, 2014, 01:42 AM
|