Can now run on platform without x-windows environment.