Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. 1.install
  2. sudo apt-get update
  3. sudo apt-get install xorg lxde-core tightvncserver
  4.  
  5. 2.setup
  6. set up a VNC password:
  7. vncserver
  8.  
  9. config the xstartup:
  10. nano ~/.vnc/xstartup
  11.  
  12. Remove the # before #x-window-manager &
  13. Add the line lxterminal &
  14. Add the line /usr/bin/lxsession -s LXDE &
  15.  
  16. final content following:
  17.  
  18. #!/bin/sh
  19.  
  20. xrdb $HOME/.Xresources
  21. xsetroot -solid grey
  22. #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
  23. x-window-manager &
  24. lxterminal &
  25. /usr/bin/lxsession -s LXDE &
  26. # Fix to make GNOME work
  27. export XKL_XMODMAP_DISABLE=1
  28. /etc/X11/Xsession
  29.  
  30. 3.Restart
  31.  
  32. vncserver -kill :1
  33. vncserver :1 -geometry 1024x768 -depth 16 -pixelformat rgb565
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement