Home > How To > How To Run Vnc On Startup Ubuntu 12.04

How To Run Vnc On Startup Ubuntu 12.04

As desktop environment I installed the package "gnome-core". Create a new file named vncserver, save it in /etc/init.d/vncserver ### BEGIN INIT INFO # Provides: vncserver # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 Nice catch. I edited /usr/share/applications/vino-preferences.desktop as follows: # OnlyShowIn=Unity; Exec=bash -c 'vino-preferences;/usr/lib/vino/vino-server&zenity --info --text="Accès par Internet: `curl http://ipecho.net/plain`:5900"' Before work, I ask my friends to run Remote Desktop Preferences and to tick Sharing http://smartnewsolutions.com/how-to/processes-run-on-startup.html

After connecting you will be greeted with a terminal emulator window. more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science Windows Open PuTTY and navigate under the SSH menu to Tunnels. NAME="my-vnc-server" OPTIONS="-name ${NAME} -depth ${DEPTH} -geometry ${GEOMETRY} :${DISPLAY}" . /lib/lsb/init-functions case "$1" in start) log_action_begin_msg "Starting vncserver for user '${USER}' on localhost:${DISPLAY}" su ${USER} -c "/usr/bin/vncserver ${OPTIONS}" ;; stop) log_action_begin_msg "Stoping

Has anyone got an idea how to fix this? Note the path to X11 might need adjusting. –H2ONaCl Jun 8 '12 at 13:21 TigerVNC installs /etc/init.d/vncserver which starts all vncservers configured in /etc/sysconfig/vncservers –Kashyap Jul 28 '14 at Thanks for your input! reply yep.

I Submitted by tweety (not verified) on Wed, 08/06/2014 - 07:56. Submitted by Nick Santos (not verified) on Thu, 02/16/2012 - 11:18. If your time and sanity are worth anything at all to you, you start looking for ways to make the tools you use to do your work get out of the Edit: Broken link fixed.

I removed the & and it still shows the grey screen with three check boxes. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. To set tightvncserver to only allow local connections, include the -localhost option. http://www.abdevelopment.ca/blog/start-vnc-server-ubuntu-boot Test by rebooting your Linode and attempting to connect to the VNC server.

Using -noxdamage with x11vnc can prevent this. It was this post that got me through it!! Cheers reply Awesome Submitted by blackcompe (not verified) on Wed, 01/25/2012 - 00:34. Reasoning: ownership of ~/.vnc and ~/.Xauthority was root:root.

Of course, I might just feel this way because I just spent the whole bleeding day trying to get TightVNC on Ubuntu and Windows to cooperate with one another. https://www.linode.com/docs/applications/remote-desktop/using-vnc-to-operate-a-desktop-on-ubuntu-12-04 vncserver should only ask for a password if one doesn't exist. This works perfectly, except that once Im into the desktop, it seems to think I have a German or french keyboard, instead of a british. Or it's merely an ordinary mistake?

You will be prompted to enter the password you specified in Step 4 of the previous section. his comment is here This sounds like the bug you are running into: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476727 https://bugs.launchpad.net/ubuntu/+source/vino/+bug/112955/comments/55 http://dertompson.com/2010/02/09/tightvnc-messes-up-keyboard-layout-afte... Ss 10:01 0:00 sshd: myusername [p myusername 6554 0.0 0.0 11384 1872 ? I have tried the following: 1) Removing the -e parameter and "sudo /etc/init.d/vncserver start" returns: "/bin/sh: Can't open". 2) Changing to "/bin/bash -e" returns "/bin/bash: Illegal option -" 3) Changing to

Certainly, good programming practice suggests to put the code common to all users into one file, and source it from all others. Is it because the Ubuntu developers are a bunch of amateurs ? Thanks! this contact form Hey guys i followed these steps but all i get is a Black screen with a X shaped pointer that can be moved by mouse :/ Any solutions ?

reply Was getting the help screen Submitted by Brian (not verified) on Tue, 11/01/2011 - 13:51. Yes on 8.10 I only have symlinks in these locations /etc/rc0.d/K20vncserver1 -> ../init.d/vncserver /etc/rc1.d/K20vncserver1 -> ../init.d/vncserver /etc/rc6.d/K20vncserver1 -> ../init.d/vncserver /etc/rcS.d/S20vncserver1 -> ../init.d/vncserver reply Well that's the problem. My solution: 1 - Go to the desktop sharing and allow it to sharing and put a good password. (click off to allow permissions) 2 - Go to the Screen and

I simple copy and pasted from the guide to an ssh session on a remote desktop, fixed the user name & screen number.

Installing a Desktop and VNC on your Linode Before you begin it’s good practice to make sure your system is up to date: 1 2sudo apt-get update sudo apt-get upgrade Ubuntu Thank you for this! reply # Default-Start: S ? (S as in Sam?) Submitted by Mark Mathews (not verified) on Tue, 02/15/2011 - 13:25. Submitted by andrew on Sat, 10/03/2009 - 08:39.

reply One step closer Submitted by Tim (not verified) on Sun, 03/15/2009 - 22:24. This adds the appropriate symlinks to the vncserver script so that it is sent the start and stop commands at the appropriate time. Thanks, this helped get me going me when vino started crashing in Ubuntu 11.10 One thing - there is a typo sudo -i && cat > /etc/init.d/vncserve && exit should be http://smartnewsolutions.com/how-to/how-to-disable-msn-on-startup.html Download and install:wget https://bintray.com/artifact/download/tigervnc/stable/ubuntu-14.04LTS/amd64/tigervncserver_1.6.0-3ubuntu1_amd64.deb sudo dpkg -i tigervncserver_1.6.0-3ubuntu1_amd64.deb sudo apt-get -f installIts syntax is very similar to tightvncserver, start it as your user with:vncserver :1And stop it with:vncserver -kill :1See manvncserver

Either create the symlinks manually, or re-run the update-rc.d command to create them. After installing and opening the viewer, connect to the localhost through your VNC client : You will be warned that the connection is unencrypted, however if you have followed the steps To get started, we will install a VNC server on Ubuntu 12.10 x64 Server droplet. Andrew, Thanks for these useful instructions which seem to work find for Debian/Ubuntu, but they need a little bit of tweaking to work with RedHar or Ubuntu (see my blog post

I do not know how many hours I saved following your instructions. Enter the password that we created using the vncserver command: We now have GUI access to our server. What we really want is for it to run after base services have been started. ubuntu vnc vncserver share|improve this question edited May 5 '12 at 21:51 slhck 129k38332371 asked May 31 '10 at 2:34 Zero 208126 Have you tried to figure out why

However a number of admin tasks do not work as the "X-Authorisation" file cannot be found. The solution is great! tried to install other tools (clients) such as VNC viewer and tightvnc viewer ,but they all end up with a grey interface!!! And thanks, by the way, for writing this up - it got me 95% of the way there.

I didn't need to fix anything. Digging coal to fire a furnace on which you forge blades with which to shave your yak is the historically pandemic Linux experience, and that's why proportionally fewer people are using reply Good grief! reply thank you for share it's done Submitted by leaf (not verified) on Tue, 10/30/2012 - 01:43.