Install VNC Server - TightVNC

From Embedded Workshop
Revision as of 22:33, 7 January 2019 by JMerkle (talk | contribs) (Created page with " $ sudo apt-get update $ sudo apt-get install tightvncserver Run the following to create the password(s) for your vnc service $ vncserver Stop the service $ vncserver -ki...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
$ sudo apt-get update
$ sudo apt-get install tightvncserver

Run the following to create the password(s) for your vnc service

$ vncserver

Stop the service

$ vncserver -kill :1

Edit xstartup to configure and run your window manager (I'm using LXQT)

$ sudo nano ~/.vnc/xstartup
  1. !/bin/sh

xrdb $HOME/.Xresources xsetroot -solid grey

  1. x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
  2. x-window-manager &
  3. Fix to make GNOME work

export XKL_XMODMAP_DISABLE=1

  1. /etc/X11/Xsession

/usr/bin/startlxqt