Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

[HOWTO] Reduce resolution while running VNC-Server (better performance)
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
[HOWTO] Reduce resolution while running VNC-Server (better performance)
25th Jan, 2014, 02:12 PM
Post: #2
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: [HOWTO] Reduce resolution automatically when starting VNC-Server (better performance)
(24th Jan, 2014 07:48 PM)josch Wrote:  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. You could even just don't include the resolution-switch
script in your VNC-Server config and call it manually only when you want to.

@josch

good point (with changing resolution) and even better implementation (using same script and minimum "extra" scripting)

just two additions: - try moving pre-start and post-stop to completely new job. the job will start on starting vnc-server (starting means - vnc won't go main exec until all jobs with "starting vnc" are finished).
this from simple reason that with updates config files distributed by .deb files are preserving user changes, but binaries, scripts and others not. so once we issue new version, your script updates would be reverted.

when you update the start/stop logic and you move user settings outside (for instance /etc/default/vnc), i will add the code to vnc-server distribution deb file (if you allow of course Smile )

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


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

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 6th Jun, 2025, 11:52 AM Powered By MyBB, © 2002-2025 MyBB Group.