Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I can't manage to start VNC® Server 5.0.4 (r103666) at boot time on Lubuntu x64bit (Ubuntu with LXDE WM). Before used RealVNC 4 and putting

@x0vncserver -nowin

to /etc/xdg/lxsession/Lubuntu/autostart was enough, but in RealVNC 5 "x0vncserver" not available

Tried to put such script in /etc/xdg/lxsession/Lubuntu/autostart not working

    sleep 10
    vncserver-x11 && vncserverui
    exit 0

But if i start this script directly in terminal it works. Also it doesn't work in cron

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.