demotomohiro / remocolab

remocolab is a Python module to allow remote access to Google Colaboratory using SSH or TurboVNC.
MIT License
317 stars 230 forks source link

no root support in desktop environment #8

Closed rayanfer32 closed 4 years ago

rayanfer32 commented 4 years ago

cannot login as root user in xfce .. i cannot access Gdrive folders in thunar file browser after mounting

found a thread here http://en.freelander.es/2011/05/21/xfce-root-login/ > Open a terminal and, as root, edit the file /etc/pam.d/gdm3. Comment out the line that says: “auth required pam_succeed_if.so user != root quiet success”

demotomohiro commented 4 years ago

I cannot run TurboVNC as root user. You can become root on console using su command and you can do ls or cd to the mounted gdrive.

rayanfer32 commented 4 years ago

yea but is it possible to run turbovnc as root...

demotomohiro commented 4 years ago

When I tried to run TurboVNC server as root on google colab, it show error. I think there is a security reason behind why TurboVNC server or xfce doesn't run as root.

rayanfer32 commented 4 years ago

for temporary fix use sudo thunar it works