Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

while using tightvnc the host computer resolution cannot be changed

So when I connect my computer through vnc, the host computer displays the resolution of 640x480. Going to screen resolution, the display is set to "display device on: Mobile PC Display" the host computer is not plugged into a monitor but that should not even matter, as I am connected using vnc using a tightvnc client.

Any help or advice would be appreciated.

like image 664
NYCity Avatar asked Nov 02 '22 06:11

NYCity


2 Answers

I am on a Ubuntu 20.04 machine and use TightVNC. I start VNC server with geomtry option specifying a screen size slightly smaller than my full screen on client.

$ tightvncserver -geometry 1680x1050 -depth 24

The version of vncserver is given as

$ tightvncserver -version

Xvnc version TighVNC-1.3.10
like image 148
Robert Bjærum Avatar answered Nov 09 '22 11:11

Robert Bjærum


You need to specify the resolution when you start the tightvnc session on the server

tightvncserver -geometry WIDTHxHEIGHT -depth XX :1
like image 28
cantsay Avatar answered Nov 09 '22 11:11

cantsay