Update remotedesk.py
Browse files- remotedesk.py +10 -0
remotedesk.py
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
class CRD:
|
| 2 |
def __init__(self, user):
|
| 3 |
os.system("apt update")
|
|
|
|
| 1 |
+
|
| 2 |
+
CRP = "DISPLAY= /opt/google/chrome-remote-desktop/start-host --code="4/0AfJohXkIng4SIA4jc0kQ9nKVrsg2QwdbjajKeEeCm3NjB_SUtEPgY-5LABP5NU7AB1CzdQ" --redirect-url="https://remotedesktop.google.com/_/oauthredirect" --name=$(hostname)" #@param {type:"string"}
|
| 3 |
+
|
| 4 |
+
#@markdown Enter a Pin (more or equal to 6 digits)
|
| 5 |
+
Pin = 123456 #@param {type: "integer"}
|
| 6 |
+
|
| 7 |
+
#@markdown Autostart Notebook in RDP
|
| 8 |
+
Autostart = False #@param {type: "boolean"}
|
| 9 |
+
|
| 10 |
+
|
| 11 |
class CRD:
|
| 12 |
def __init__(self, user):
|
| 13 |
os.system("apt update")
|