VNCServer did not start after configuring in Ubuntu.

May 25, 2015 13.2k views
Linux Commands

I have a new load of Ubuntu Server 15.04 running on an HP Proliant G5 DL360. I am trying to make this a media server and wanted to be able to run a GUI based control console for Serviio. I followed your steps in your tutorial and at the end of step three ran: "sudo service vncserver start" and got the following: "Failed to start vncserver.service: Unit vncserver.service failed to load: No such file or directory."
I didn't get any error messages while performing the steps and the file vncserver is in /etc/inti.d. I copied and pasted most of the bash scripting so there would be no chance of typo's.

Any advice?

4 comments
  • are you sure its not already running?

    From a terminal, try (not using sudo):

    vncserver 
    
  • "Sigh!" I am sorry to have wasted your time. When I typed the vncserver command I got "NEW X DESKTOP IS UBUNTU:1" So it is running and I was able to log in using the TightVNC viewer. This is my first real attempt at a Linux server. I have built and deployed several Windows 2K3 & 2K8 machines for the government, but this one is for my home, so I can't see paying $800+ for the OS, when all I have to do is teach myself Linux all over again, plus some administrator tools.

    Thanks again, and I will attempt to be less of a newb next time.

    Cheers

    Rod

  • Don't beat yourself up too badly, it has been worked on by several folks who made it better. You can find them in the comments in /usr/bin/vncserver

  • Nonsense with the sorry. That worked for me.

1 Answer

This question was answered by @rodhutchinson:

"Sigh!" I am sorry to have wasted your time. When I typed the vncserver command I got "NEW X DESKTOP IS UBUNTU:1" So it is running and I was able to log in using the TightVNC viewer. This is my first real attempt at a Linux server. I have built and deployed several Windows 2K3 & 2K8 machines for the government, but this one is for my home, so I can't see paying $800+ for the OS, when all I have to do is teach myself Linux all over again, plus some administrator tools.

Thanks again, and I will attempt to be less of a newb next time.

Cheers

Rod

You can see the comment here.

Have another answer? Share your knowledge.