Show activity on this post. You could use su [YourUserName] -c /usr/bin/vncserver to run the vncserver as user, not as root. Another point: In your script, there's no difference between starting and stopping the VNC server. Usually, a init script would use different cases to start/stop the service: case "$1" in start) # code to start the ...
I found these instructions by searching Google for "ubuntu launch vnc server on startup". Install the VNC server. Launch vncserverfor the first time to set up a password. Add the following file as /etc/init.d/vncserver(be sure to modify the USER, GEOMETRY, NAME, etc. to your liking). sudo chmod +x /etc/init.d/vncserver
10.04.2012 · To have vnc to start at boot up, you will need to. install a vnc server software (here we will be using x11vnc) configure a startup script (used to start the vnc service) Step 1 - install x11vnc server. from a command line, type. sudo apt-get install x11vnc. To add security, you should set a pwd.
Install the VNC server. · Launch vncserver for the first time to set up a password. · Add the following file as /etc/init.d/vncserver (be sure to modify the USER, ...
I found these instructions by searching Google for "ubuntu launch vnc server on startup". Install the VNC server. Launch vncserver for the first time to set up a password.; Add the following file as /etc/init.d/vncserver (be sure to modify the USER, GEOMETRY, NAME, etc. to your liking).; sudo chmod +x /etc/init.d/vncserver
Apr 11, 2012 · install a vnc server software (here we will be using x11vnc) configure a startup script (used to start the vnc service) Step 1 - install x11vnc server from a command line, type sudo apt-get install x11vnc To add security, you should set a pwd sudo x11vnc -storepasswd Step 2 - Configure your startup script if your ubuntu version is lower 15.04,
Having installed VNC to enable us to administer Ubuntu Server remotely using a GUI (Graphical User Interface) we now need to make sure VNC is launched at boot time. We can either launch a Putty session and re-type the vncserver -geometry 1280×1024 -depth 24 command after each reboot of the server or we can get the server to issue this command automatically at boot time.
First, install the TightVNC server sudo apt-get install tightvncserver . · Set up the VNC server for the user you wish to log in as. · Copy the following into / ...
Add VNC to rc.local Perhaps the simplest way of ensuring the VNC session is re-created on boot is to add the “vncserver -geom…..” command to a file called rc.local. Simply type the following commands to do this: sudo vim /etc/rc.local and type your Ubuntu password if prompted. This will open the file called rc.local which lives in the /etc folder.
I found these instructions by searching Google for " ubuntu launch vnc server on startup ". Install the VNC server. Launch vncserver for the first time to set up a password. Add the following file as /etc/init.d/vncserver (be sure to modify the USER, GEOMETRY, NAME, etc. to your liking). sudo chmod +x /etc/init.d/vncserver
15.11.2015 · The easiest solution I have found is RealVNC server: download, and install. (and buy a license if you need advanced features ). Everything can be configured through command line if needed, otherwise it can be configured through GUI as shown below. add RealVNC server to startup: Run RealVNC server: From the RealVNC client, you can connect using ...
I installed the Ubuntu desktop on a Ubuntu 9.10 VPS server and am able to connect to the server using TightVNC. However, the VNC server on this VPS can only be started by logging in through SSH and typing the following command: vncserver :1 -geometry 800x600 -depth 16 -pixelformat rgb565 If I run this command on startup or as a schedule task ...
Ubuntu Server: How to run VNC on startup · Add VNC to rc.local · Write a script to launch VNC · Assign the VNC script to a runlevel · Create a cron job to run the ...