Permission error while configure Chrome Remote Desktop to use Xfce by default

by Kiran RS   Last Updated August 22, 2019 10:02 AM

I'm trying to setting up Chrome Remote Desktop on my VM instance (Debian GNU/Linux, 9 (stretch), amd64) on Google cloud. I tried to install Xfce as desktop environment. I installed Xfce component successfully with these command.

sudo DEBIAN_FRONTEND=noninteractive \
    apt install --assume-yes xfce4 desktop-base

But I'm getting permission error even using sudo with this command.

echo "exec /usr/bin/xfce4-session" > /etc/chrome-remote-desktop-session

So, I'm stucked in the middle of the proccess. Here is the screenshot of the terminal. terminal screenshot

Also I tried with Cinnamon but same permission error is showing in the same command.

sudo echo "exec /usr/bin/cinnamon-session-cinnamon2d" > /etc/chrome-remote-desktop-session

Related Questions

How to diagnose a vnc-crashing problem?

Updated November 30, 2015 21:01 PM

How to go about diagnosing a vnc-crashing problem?

Updated December 08, 2015 22:01 PM

Making remote desktop available over internet

Updated May 09, 2017 07:02 AM

A lot of errors in xfce after connecting to VNC

Updated May 27, 2017 00:02 AM

XFCE4 chrome hidden window

Updated April 16, 2018 20:02 PM