Recent Story Comments http://www.abdevelopment.ca/blog/start-vnc-server-ubuntu-boot/feed en Logout not working ... http://www.abdevelopment.ca/blog/start-vnc-server-ubuntu-boot#comment-3721 <p>Thanks for your tuto. I tried on ubuntu server 14.04 and kde (kubuntu-desktop).<br /> It's working fine using windows client tightvnc viewer except that when I logout (Leave - Log Out) the screen becomes (and remains) black. Only solution connect with ssh and do killall -u ...<br /> What's wrong ?</p> Wed, 06 Aug 2014 12:57:41 +0000 tweety comment 3721 at http://www.abdevelopment.ca Thanks for your tuto. I http://www.abdevelopment.ca/blog/start-vnc-server-ubuntu-boot#comment-3720 <p>Thanks for your tuto. I tried on ubuntu server 14.04 and kde (kubuntu-desktop).<br /> It's working fine using windows client tightvnc viewer except that when I logout (Leave - Log Out) the screen becomes (and remains) black. Only solution connect with ssh and do killall -u ...<br /> What's wrong ?</p> Wed, 06 Aug 2014 12:56:15 +0000 tweety comment 3720 at http://www.abdevelopment.ca Login problems http://www.abdevelopment.ca/blog/start-vnc-server-ubuntu-boot#comment-3554 <p>I followed the tutorial, and ran all the needed commands.</p> <p>I ran update-rc.d vncserver defaults, then went back to the vncserver script in init.d and changed display to 0, saved, and rebooted.</p> <p>Once it was booted, I tried connecting using VNC Viewer. When I tried to connect, the connection was refused. So, I went to the server itself, and it was at the login screen. I logged in, but the screen went black for about a second, then came back at the login screen.</p> <p>I can no longer log in, and therefore cannot really do anything to the server anymore.</p> <p>How can I fix this?</p> Sat, 07 Dec 2013 18:21:52 +0000 Lee Neighoff comment 3554 at http://www.abdevelopment.ca Login problems http://www.abdevelopment.ca/blog/start-vnc-server-ubuntu-boot#comment-3553 <p>I followed the tutorial, and ran all the needed commands.</p> <p>I ran update-rc.d vncserver defaults, then went back to the vncserver script in init.d and changed display to 0, saved, and rebooted.</p> <p>Once it was booted, I tried connecting using VNC Viewer. When I tried to connect, the connection was refused. So, I went to the server itself, and it was at the login screen. I logged in, but the screen went black for about a second, then came back at the login screen.</p> <p>I can no longer log in, and therefore cannot really do anything to the server anymore.</p> <p>How can I fix this?</p> Sat, 07 Dec 2013 18:20:54 +0000 Lee Neighoff comment 3553 at http://www.abdevelopment.ca I wish I didn't have to do this kind of stuff http://www.abdevelopment.ca/blog/start-vnc-server-ubuntu-boot#comment-3538 <p>When I install tightvncserver from the Ubuntu 13.04 repository, why isn't it already set up as a "proper server", (starting automatically at clean boot or reboot), obviating the need for your article? I mean what is the point of a server that you have to launch yourself? - especially since you have to use ssh (a proper server that does launch automatically) to do it. Is it because the Ubuntu developers are a bunch of amateurs ?</p> <p>My Apache2 box uses LXDE desktop, and doesn't have /usr/X11R6/bin/ , so what do I put in PATH="$PATH:..." ? </p> <p>Do I have to change Line 3 to:<br /> # Provides: tightvncserver</p> Sat, 23 Nov 2013 05:44:32 +0000 Dave Kimble comment 3538 at http://www.abdevelopment.ca thank you for share it's done http://www.abdevelopment.ca/blog/start-vnc-server-ubuntu-boot#comment-959 <p>thank you for share<br /> it's done</p> Tue, 30 Oct 2012 06:43:13 +0000 leaf comment 959 at http://www.abdevelopment.ca VNC server start at boot http://www.abdevelopment.ca/blog/start-vnc-server-ubuntu-boot#comment-958 <p>Thank you! Thanks, and thanks again! This is the quickest and best solution for getting the server up and running at boot. I wish I had found it earlier.</p> Tue, 30 Oct 2012 02:58:02 +0000 rillg comment 958 at http://www.abdevelopment.ca still having a useless grey vnc client !!!! http://www.abdevelopment.ca/blog/start-vnc-server-ubuntu-boot#comment-836 <p>I tried to follow these instructions in order to configure "Ultravnc viewer" on a wondows vista system (with an intel integrated graphics card with 32bits color/ 1280x800 / 59HTZ) in order to manage an ubuntu 10.04 64bits system (the desktop amd64 bits install from the main ubuntu repository).</p> <p>went through all the steps but I still have a grey screen on ultravnc viewer which blocks me from using the tool??</p> <p>tried to install other tools (clients) such as VNC viewer and tightvnc viewer ,but they all end up with a grey interface!!!<br /> I tried different settings " geometry 800x600/1280x1024/1024x768" ,but still stuck with this grey screen!!</p> <p>Any suggestions please??</p> Thu, 06 Sep 2012 15:43:50 +0000 sun comment 836 at http://www.abdevelopment.ca starting thightvncserver in Raspberry PI Debian zqueeze. http://www.abdevelopment.ca/blog/start-vnc-server-ubuntu-boot#comment-788 <p>I didn't have to do all those steps exposed in this headlines, </p> <p>What it did the job for me was:</p> <p><strong>sudo nano /etc/rc.local</strong></p> <p>And add this line somewhere in the middle or beginning:</p> <p><strong>su -c "/usr/bin/tightvncserver -geometry 1280x1024" username</strong></p> <p>Before I had included other options/parameters in that line and I was getting black icons on the screen, but with only -geometry option did the trick and it work great!</p> Mon, 16 Jul 2012 11:30:13 +0000 rocketero comment 788 at http://www.abdevelopment.ca nice http://www.abdevelopment.ca/blog/start-vnc-server-ubuntu-boot#comment-766 <p>only want to say well done article</p> Fri, 08 Jun 2012 15:19:46 +0000 Sandra23 comment 766 at http://www.abdevelopment.ca Authentication Issues http://www.abdevelopment.ca/blog/start-vnc-server-ubuntu-boot#comment-727 <p>It all seems to work, but when I try and use Synaptic (as an example) it doesn't load the auth prompt, presumably it's trying with a text prompt (it does when I run synaptic-pkexec from the terminal)</p> <p>I'm guessing that this is a security feature to prevent su from dropping to whoever, but is there a way around this? or am I doing something wrong?</p> Tue, 29 May 2012 19:04:10 +0000 JD comment 727 at http://www.abdevelopment.ca Thank you http://www.abdevelopment.ca/blog/start-vnc-server-ubuntu-boot#comment-668 <p>Thank you, Thank you, Thank you</p> Thu, 19 Apr 2012 16:00:12 +0000 Anonymous comment 668 at http://www.abdevelopment.ca Too right! http://www.abdevelopment.ca/blog/start-vnc-server-ubuntu-boot#comment-656 <p>Let's see… in OS X all I have to do is select the server I want from the Shared area of the Finder window (for local-network systems), click the 'Share Screen' button and enter my login credentials. Works first time, every time in my experience.</p> <p>This kind of arcane masochism is why I left Linux as a day-to-day desktop after 10+ years of use and evangelism. 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 way as much as possible so you can accomplish the mission you set out to. 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 <em>fewer</em> people are using it as a desktop system now than 5 years ago, and fewer still will be in 5 years' time unless Ubuntu and friends get out of their navels and start innovating again. When anyone asks me about putting a Linux desktop on an existing PC, I recommend openSUSE, Fedora and Mint. It's been two years since anybody asked me about Ubuntu… and getting people off Windows was my bread-and-butter business until very recently.</p> Sat, 14 Apr 2012 07:20:23 +0000 Jeff Dickey comment 656 at http://www.abdevelopment.ca Debian 6.0 http://www.abdevelopment.ca/blog/start-vnc-server-ubuntu-boot#comment-640 <p>Your article is great ! Thank you !<br /> For those who might to try this under Debian 6.0 Squeeze some rework of the script is needed :</p> <p>change the header to look like this</p> <p>#!/bin/sh -e<br /> ### BEGIN INIT INFO<br /> # Provides: vncserver<br /> # Required-Start: $all<br /> # Required-Stop:<br /> # Default-Start: 2 3 4 5<br /> # Default-Stop: 0 1 6<br /> ### END INIT INFO</p> <p>Do not use update-rc.d but insserv</p> Thu, 05 Apr 2012 13:11:34 +0000 F4FXL comment 640 at http://www.abdevelopment.ca Only getting a black screen with X pointer http://www.abdevelopment.ca/blog/start-vnc-server-ubuntu-boot#comment-625 <p>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 :/</p> <p>Any solutions ?</p> Thu, 29 Mar 2012 10:38:14 +0000 Sameer Manas comment 625 at http://www.abdevelopment.ca