Set the size of the desktop with vncserver
After installing anf runing
vncserver on Ubuntu, I use the VNC Viewer to connect VNC successful. But the size of window is to small. it is not convenient to view files or browse a websize.
vncserver option of
-geometry widthxheight Specify the size of the desktop to be created. Default is 1024x768. Can be specified as an array or scalar for geometry.
The default desktop size is 1024x768, which can be customized, such as:
- Specify the size of the desktop as 1366x768
vncserver -geometry 1366x768
- Specify the size of desktop 1 as 1440x900
vncserver :1 -geometry 1440x900