Linux - Debian Variant - Can't start server.

Hi

I can't get REAL VNC Server started on my Linux box.

Where I type in the following:

sudo systemctl start vncserver-x11-serviced.service

I get the following:

System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

Anyone have any ideas how I can get around the problem?

 

0

Comments

1 comment
  • Okay, I've sussed this out.

    This command work:    sudo systemctl enable vncserver-x11-serviced.service  

    This command fails:     sudo systemctl start vncserver-x11-serviced.service

    Ignore it. 

    In theory the service will start up at boot time.  But just in case, do the following.

    Assuming, being a Linux user, that you have added a line to your /etc/rc.local script that points to a login / startup script somewhere in your home user folder, then add the following lines to the your said, login / startup script.

    That should ensure it starts up

    if pgrep -x vncserver-x11-s >/dev/null
    then
        echo "VNC Service vncserver-x11-serviced is Running..."
    else
        echo "VNC Service vncserver-x11-serviced is NOT Running..."
        echo "Starting VNC Service vncserver-x11-serviced..."
        /usr/bin/vncserver-x11-serviced
    fi

     

     

     

     

     

    0
    Comment actions Permalink

Please sign in to leave a comment.

Didn't find what you were looking for?

New post