(solved) Anybody who gets the vncserver working at startup in RC 2.0? (quad)

Discussion in 'UDOO QUAD' started by lazy_mosquito, May 1, 2016.

  1. lazy_mosquito

    lazy_mosquito New Member

    Joined:
    Jun 28, 2015
    Messages:
    14
    Likes Received:
    0
    HI,
    The problems keeps popping up: When i try to start vnc-server automatically at start-up via init.d or rc.local i got in both cases a grey desktop with no icons and no startmenu. When i start the vnc server manually when i log on to the desktop it works flawless. Problem is that i want to install the udoo as a headless device with no keyboard or display connected. So i need the vncserver to start up automatically at boot time so i am able to log in remote. i tried as wel starting up as root and as normal user. both gave the same problems.

    i am running udoo quad with udoobuntu 2 RC 2.0

    any hints are welcome.

    Pieter
     
  2. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    For the Neo with udubuntu 2 rc2 vnc server is preinstalled and started automatically. Perhaps you don't have to change anything and just logon to your Quad.

    Verstuurd vanaf mijn XT1039 met Tapatalk
     
  3. lazy_mosquito

    lazy_mosquito New Member

    Joined:
    Jun 28, 2015
    Messages:
    14
    Likes Received:
    0
    Nope It is not installed on the quad version by default.
    I had to add a /etc/init.d/vncserver script.
    see answer on link http://www.abdevelopment.ca/blog/start-vnc-server-ubuntu-boot
    i changed things:
    the line: PATH="$PATH:/usr/X11R6/bin/" to PATH="$PATH:/usr/bin/"
    and the name of the user to my username.

    but i changed my .vnc/xstartup script to:

    #!/bin/sh

    xrdb $HOME/.Xresources
    xsetroot -solid grey
    export XKL_XMODMAP_DISABLE=1
    /usr/bin/lxsession -s Lubuntu -e LXDE

    Now i get a proper vnc session on every reboot.
     
  4. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
  5. lazy_mosquito

    lazy_mosquito New Member

    Joined:
    Jun 28, 2015
    Messages:
    14
    Likes Received:
    0
    thats the one i used and vnc is indeed installed by default but the vncserver wasn't starting at boot.
     
  6. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Hi guys,
    on UDOObuntu 2 for UDOO QUAD vnc server is installed by default. The server installed by default is x11vnc and starts at boot by default. Have you tried with the latest UDOObuntu 2 for the QUAD?
     

Share This Page