Author Topic: Autostart vnc11server on LXDE  (Read 3041 times)

Offline Chris0706

  • Jr. Member
  • **
  • Posts: 52
  • Karma: +1/-0
    • View Profile
Autostart vnc11server on LXDE
« on: May 09, 2014, 12:25:17 pm »
1. Set default password:
Code: [Select]
vncserver

2. Create "startvnc.sh" in /home/cubieez/

Code: [Select]
#! /bin/sh
x11vnc -forever -display :0

3. Create "VNC Autostart" in /etc/xdg/autostart

Code: [Select]
[Desktop Entry]
Name=VNC Autostart
Exec=/home/cubie/startvnc.sh
Type=Application
Terminal=true

Should start automatically at boot up!

Offline actkk2000

  • Hero Member
  • *****
  • Posts: 570
  • Karma: +1/-11
    • View Profile
Re: Autostart vnc11server on LXDE
« Reply #1 on: May 09, 2014, 05:56:09 pm »
Thank you!  :D

Offline hossein

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Autostart vnc11server on LXDE
« Reply #2 on: March 20, 2015, 04:13:42 pm »
hi
will be a problem if i do those setting as a root user?

Offline Trook

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Autostart vnc11server on LXDE
« Reply #3 on: January 13, 2017, 01:25:57 am »
hi
will be a problem if i do those setting as a root user?

Good question, I thought I'd wait for an answer to this before I try it so I don't mess things up.