I have done a lot of Googling and I can't make sense of all the information.
I want to remotely operate a Lubuntu 14.04 machine from another of the same type. The remote machine has no monitor attached. I have Teamviewer10 on both machines.
The problem is that with no monitor attached, the remote desktop has only 1024x768 resolution. xrandr shows LVDS1 to be connected, although it isn't, and it only allows 1024x768 resolution.
The solution appears to entail using xrandr to test resolution, and then inserting the xrandr commands somewhere to execute the commands on startup/login, and make the change permanent. It is also possible that I need to create /etc/X11/xorg.conf and set up a dummy monitor. I really do not understand the steps entailed in that, and many Googlees say it does not work anyway. Some say I need a hardware dongle (I really cannot believe that you need hardware to do something like this - it must be a common requirement to use a machine without a monitor).
I would be very grateful if somebody could tell me if I am on the right track and make these ideas more concrete. I do not really want to hear about solutions using other remote viewing software (vnc etc). I may try these ideas in the future when I have time, but right now I want to make it work using Teamviewer (because thus far I have found it to be less laggy than other software when some of the screen contains video).
Many thanks.
I'm using VNC and this command works for me:
xrandr --fb 1366x768
After a lot of trial and error, I determined the following commands on the remotely controlled machine (the headless machine) will increase the resolution of the screen seen by Teamviewer.
The commands should be executed on the the headless machine when it starts up, but if this cannot be achieved they can be executed from the remote machine using a low resolution connection. The screen can then be set to a higher resolution.
a bit late but here is how I got it to work for Teamviewer 13 (for my own reference mainly)