Last active
          April 15, 2022 02:03 
        
      - 
      
- 
        Save lattice0/1ecd3f4554924ac104b205513551150b to your computer and use it in GitHub Desktop. 
    x11vnc vnc
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # First run setup | |
| [email protected] && ssh $HOST "sed -i 's/[#WaylandEnable=false]/[WaylandEnable=false]/' [/etc/gdm3/custom.conf] && sudo -S apt-get update && sudo -S apt-get install -y x11vnc && sudo reboot" | |
| # Connect and forward ports | |
| [email protected] && ssh $HOST -L 5900:localhost:5900 -L5901:localhost:5901 -L5902:localhost:5902 -L5903:localhost:5903 "x11vnc -listen localhost" | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment