On Ubuntu when I login using Tight VNC Viewer client it shows me two sessions.
What I want is as soon as I start VNC server(using
vncserver -geometry 1600x900 it should automatically login into specific session.
EDIT: My Ubuntu has 8GB RAM. Daily during 12pm there occurs peak processing which takes up too much of memory. So during this 1 hour I don't want VNC Server/Firefox to take up any memory. After 1PM VNC Server should automatically startup thru Cron, that should start Firefox which has some Extensions which will execute some tasks. So VNC Server will be killed at 11:55am next day to free the memory. But when it starts next time at 1pm it does not run Firefox because it stops and asks me to select which session I want to login and when I select a session then only it logs in and starts Firefox