Is there anyway to make noVNC screen resolution self-adption?

3,368 views
Skip to first unread message

Xiucai Hualingson

unread,
Apr 9, 2017, 11:05:41 PM4/9/17
to noVNC
Hi,

    All.
    I am using noVNC in my private cloud(libvirt-based) now.
    Because of kinds of client, one screen resolution on hypervisor side can not serve them well.
    I have tried to find some methods to make noVNC screen resolution self-adaption, but get no idea so far.
    Could you give me any suggestions?
    Thanks a log.

Regards!
Xiucai.

sam...@cendio.com

unread,
Apr 10, 2017, 2:20:52 AM4/10/17
to noVNC
Did you try the 'resize' scaling mode in noVNC? We already have support for the ExtendedDesktopSize encoding, seems like your server doesn't. What VNC server do you use?

Xiucai Hualingson

unread,
Jul 20, 2017, 1:38:53 AM7/20/17
to noVNC
ps aux |grep vnc

/usr/bin/Xvnc :1 -desktop spc11:1 (root) -auth /root/.Xauthority -geometry 1024x768 -rfbwait 30000 -rfbauth /root/.vnc/passwd -rfbport 5901 -fp catalogue:/etc/X11/fontpath.d -pn

Xvnc -help

Xvnc TigerVNC 1.3.1 - built Nov 16 2016 13:38:44
Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 11702000, The X.Org Foundation


在 2017年4月10日星期一 UTC+8下午2:20:52,sam...@cendio.com写道:

sam...@cendio.com

unread,
Sep 4, 2017, 8:04:16 AM9/4/17
to noVNC
That should work fine, are you using vnc_lite.html or vnc.html?
Reply all
Reply to author
Forward
0 new messages