Two problems with VNC

(1) I can connect to IP:1 or IP:5901
Is ist possible to connect to the Server console

(2) If VNC client is closed any task I started also stops
Is there a way to disconnect the client but still keep the session running?
like Remote Desktop on Windows