Guest User

Untitled

a guest
Jan 21st, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. vncserver -geometry 1920x1080
  2.  
  3. sudo apt update
  4. sudo apt install lubuntu-desktop
  5. sudo apt install x11vnc
  6. #install app for autostart xorg server
  7. sudo apt install nodm
  8. #edit nodm config file (sudo vim /etc/default/nodm or sudo nano /etc/default/nodm) and set NODM_ENABLED=true NODM_USER=ubuntu
  9. sudo reboot
  10. DISPLAY=:0 nodejs app.js #app that takes screenshots
  11.  
  12. sudo apt-get update
  13. sudo apt-get upgrade
  14. sudo apt-get install ubuntu-desktop gnome-panel gnome-settings-daemon metacity nautilus gnome-terminal xfce4 vnc4server
  15.  
  16. #!/bin/sh
  17. # Uncomment the following two lines for normal desktop:
  18. unset SESSION_MANAGER
  19. # exec /etc/X11/xinit/xinitrc
  20. unset DBUS_SESSION_BUS_ADDRESS
  21. startxfce4 &
  22. [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
  23. [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
  24. xsetroot -solid grey
  25. vncconfig -iconic &
  26. gnome-panel &
  27. gnome-settings-daemon &
  28. metacity &
  29. nautilus &
  30. gnome-terminal &
Add Comment
Please, Sign In to add comment