I had connected my PC to network, but I dont have a monitor. I had installed openssh-server, so I could ssh to this host. Now my task was to enable vnc on ubuntu on command line.
added $XFConfigPath = "/etc/X11/xorg.conf";
set $geometry ="1680x1050";
And installed tightvncserver
sudo aptitude install tightvncserver
Fired up realvnc viewer from my windows laptop (realvnc is better in windows that tightvnc) and it came up good.