Advertisement
Guest User

Untitled

a guest
Mar 24th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. #/etc/pam.d/chrome-remote-desktop
  2.  
  3. auth required pam_unix.so
  4. account required pam_unix.so
  5. password required pam_unix.so
  6. session required pam_unix.so
  7.  
  8.  
  9. #/opt/google/chrome-remote-desktop/chrome-remote-desktop
  10.  
  11. DEFAULT_SIZES = "1366x768,1920x1080"
  12. DEFAULT_SIZE_NO_RANDR = "1366x768"
  13.  
  14. FIRST_X_DISPLAY_NUMBER = 0
  15.  
  16. # while os.path.exists(X_LOCK_FILE_TEMPLATE % display):
  17. # display += 1
  18.  
  19. def launch_session(self, x_args):
  20. self._init_child_env()
  21. self._setup_pulseaudio()
  22. self._setup_gnubby()
  23. #self._launch_x_server(x_args)
  24. #self._launch_x_session()
  25. display = self.get_unused_display_number()
  26. self.child_env["DISPLAY"] = ":%d" % display
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement