Page 1 of 2
SOLVED: VNC screen size
Posted: Wed Sep 25, 2013 8:11 pm
by trebor
I have successfully installed AmahiVNC. When I use Chicken of the VNC to login to my Amahi box the size of the desktop is much larger than the window making it difficult to work. I changing the screen resolution from 1000x750 to 800x600 in the /etc/sysconfig/vncservers file----and restarted the VNC server using the control panel; however, there does not appear to be any change in the desktop size (still way to big for the COTVNC window). Any suggestions on how to fix this?
Thanks!
-Robert
Re: VNC screen size
Posted: Thu Sep 26, 2013 5:12 am
by bigfoot65
You may want to try restarting VNC server manually as well to ensure it did restart. Check your VNC client as well for resolution. If you changed it on the HDA in VNC, then it should resize.
Re: VNC screen size
Posted: Thu Sep 26, 2013 5:46 am
by trebor
Thanks for the reply. Here is what I have tried:
I double checked /etc/sysconfig/vncservers
it reads:
"VNCSERVERARGS[4]="-gemetry 800x600 -nolisten tcp"
I tried:
sudo service vncserver stop
Redirecting to /bin/systemctl stop vncserver.service
Failled to issue method call: Unit vncserver.service not loaded.
sudo service vncserver start
Failed to issue method call: Unit vncserver.service failed to load: No such file or directory. See system logs and 'systemctl status vncserver.service' for details.
Am I starting/stopping VNC server manually with the correct commands? Any other suggestions?
Thanks,
-Robert
Re: VNC screen size
Posted: Thu Sep 26, 2013 5:52 am
by bigfoot65
Depends on what OS your HDA is using. I don't believe you specified; Amahi 6 on Ubuntu or Amahi 7 on Fedora 19.
Re: VNC screen size
Posted: Thu Sep 26, 2013 8:10 am
by trebor
Sorry about that. I am using Amahi 7 on Fedora 19.
Re: VNC screen size
Posted: Thu Sep 26, 2013 8:22 am
by bigfoot65
In that case, your service statements are incorrect.
Try as root user:
Code: Select all
systemctl stop vncserver@4.service
systemctl stop vncserver@4.service
Also please understand this app is in BETA status, so there may be bugs. Until it's LIVE, there is always a risk with installing/using it.
Re: VNC screen size
Posted: Thu Sep 26, 2013 3:56 pm
by trebor
I tried systemctl stop
vncserver@4.service and
systemctl start
vncserver@4.service
neither produced any change in the screen resolution of client
Re: VNC screen size
Posted: Thu Sep 26, 2013 4:05 pm
by bigfoot65
It may be an issue with the client software you are using. I have tested VNC on Amahi 7 and changed the resolution. Worked fine for me, using UltraVNC Viewer as my client software.
Re: VNC screen size
Posted: Thu Sep 26, 2013 7:55 pm
by trebor
I have tried RealVNC, Chicken of the VNC, and JollyFastVNC. All show the same issue. I am able to connect and despite changing the resolution in /etc/sysconfig/vncservers no dice. Even though I am able to connect, under servers tab under setting, it says it is stopped---it appears to be showing that it is stopped when it isn't. I have uninstalled and re-installed it, changed the vncservers file and stopped and restarted VNC with no luck. I guess I may be out of luck on this one....
Re: VNC screen size
Posted: Fri Sep 27, 2013 5:10 am
by bigfoot65
Not sure why the resolution is not changing. Might be worth checking the internet to see if this is a bug. As I mentioned, it worked fine for me.
The server being stopped in the dashboard is a bug on our end that we are trying to correct. For now you can do the following as root user:
Code: Select all
ln -sf /home/firstadminuser/.vnc/*4.pid /var/run/vncserver-4.pid
Replace firstadminuser with your acutal user name. If you check /var/run, you should then see vncserver-4.pid linked to your home directory where the VNC PID is located. If the link is RED, then the symlink is broken.