# Ubuntu – How to set new screen resolution for a headless server (using teamviewer 10 )

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 1024×768 resolution. xrandr shows LVDS1 to be connected, although it isn't, and it only allows 1024×768 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