Install Chrome Remote Desktop on Google Collab
This script was forked from alok676875 RDP repo (/~https://github.com/alok676875/RDP/) with more detail about user credentials and more useful information provided.
Paste this to new collab notes and execute:
! wget https://raw.githubusercontent.com/b4iterdev/chrome-remote-desktop-install-script-ggcolab/main/CRD.sh &> /dev/null
! chmod +x CRD.sh
! ./CRD.sh
This will create a new username b4iterdev with password:b4iter,then install xfce and chrome remote desktop server
You might want to change b4iterdev's password using "passwd" (without quotes and sudo)
You can also change root user password using "sudo passwd" (without quotes)
And you now have a free VPS (lol)
You can keep your session running by creating a new code block (Ctrl+ M B) and put:
while True:pass
and execute on the same notes.
function ClickConnect(){
console.log("Working");
document.querySelector("colab-toolbar-button#connect").click()
}
setInterval(ClickConnect,60000)