Enable VNC connection for each O.S. user at boot – Ubuntu

Many times you need to enable VNC connections in your unix server by default at boot time. In RHEL it’s quite easy but in Ubuntu it’s quite tricky, that’s why I’m pulishing this entry.

First of all, we install vncserver:


and let’s edit ~/.vnc/xstartup for each of our O.S. users with the following script:


Then, edit a config file in which we specify VNC screen resolution for each user:


And we fill it, one array entry for each user:


And finally we must create an startup script under  /etc/init.d/vncserver:


Filling it with:


Once finished, we just neeed to add it to startup services:

Enjoy!

No comments yet.

Leave a Reply

Enable VNC connection for each O.S. user at boot – Ubuntu

Many times you need to enable VNC connections in your unix server by default at boot time. In RHEL it’s quite easy but in Ubuntu it’s quite tricky, that’s why I’m pulishing this entry.

First of all, we install vncserver:


and let’s edit ~/.vnc/xstartup for each of our O.S. users with the following script:


Then, edit a config file in which we specify VNC screen resolution for each user:


And we fill it, one array entry for each user:


And finally we must create an startup script under  /etc/init.d/vncserver:


Filling it with:


Once finished, we just neeed to add it to startup services:

Enjoy!

No comments yet.

Leave a Reply

Enable VNC connection for each O.S. user at boot – Ubuntu

Many times you need to enable VNC connections in your unix server by default at boot time. In RHEL it’s quite easy but in Ubuntu it’s quite tricky, that’s why I’m pulishing this entry.

First of all, we install vncserver:


and let’s edit ~/.vnc/xstartup for each of our O.S. users with the following script:


Then, edit a config file in which we specify VNC screen resolution for each user:


And we fill it, one array entry for each user:


And finally we must create an startup script under  /etc/init.d/vncserver:


Filling it with:


Once finished, we just neeed to add it to startup services:

Enjoy!

No comments yet.

Leave a Reply