Page 1 of 1

How can I Change VNC resolution on boot up

Posted: Sat Jan 26, 2013 2:53 am
by Lightshow
I have set vnc to run on boot up and I can access the computer just fine but on certain programs I run I get a $DISPLAY error. I can fix this by by opening a second port with smaller geometry….
Ex:
vncserver :2 -geometry 800×480

…..is there a way to go into my boot up code for port 1 and fix it on boot up?

Re: How can I Change VNC resolution on boot up

Posted: Tue Feb 05, 2013 4:32 pm
by -rst-
If it's not too late... and I am not 100% sure, but could you not just stop the 1st instance and restart with the correct geometry?

Code: Select all

vncserver -kill :1
vncserver :1 -geometry 800×480