So, the problem is as follows: To quote emg from raspberry pi forums, I've installed x11vnc and set it up like this:
- sudo apt-get install x11vnc
- x11vnc -storepasswd
create autostart entry
- cd .config
- mkdir autostart
- cd autostart
- nano x11vnc.desktop
- paste following text:
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=X11VNC
Comment=
Exec=x11vnc -forever -usepw -display :0 -ultrafilexfer
StartupNotify=false
Terminal=false
Hidden=false
After doing that, vnc finally works and displays what is on the main display. However, when I'm running it without HDMI cable connected, it sets itself to an awkward 656x416 resolution.
How can I force another resolution to be used when HDMI is not connected?