Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vncserver -geometry 1920x1080
- sudo apt update
- sudo apt install lubuntu-desktop
- sudo apt install x11vnc
- #install app for autostart xorg server
- sudo apt install nodm
- #edit nodm config file (sudo vim /etc/default/nodm or sudo nano /etc/default/nodm) and set NODM_ENABLED=true NODM_USER=ubuntu
- sudo reboot
- DISPLAY=:0 nodejs app.js #app that takes screenshots
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get install ubuntu-desktop gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal xfce4 vnc4server
- #!/bin/sh
- # Uncomment the following two lines for normal desktop:
- unset SESSION_MANAGER
- # exec /etc/X11/xinit/xinitrc
- unset DBUS_SESSION_BUS_ADDRESS
- startxfce4 &
- [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
- [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
- xsetroot -solid grey
- vncconfig -iconic &
- gnome-panel &
- gnome-settings-daemon &
- metacity &
- nautilus &
- gnome-terminal &
Add Comment
Please, Sign In to add comment