0

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
Kiran RS
  • 103
  • 7

1 Answers1

1

I faced the same issue when I was setting up Chrome Remote Desktop on a VM instance. However, as Google documentation states:

You might see a Permission Denied error for the update-initramfs process during installation. This is normal, and you can ignore the error.

In this situation, just proceed to the next step and it should work for you.

Deniss T.
  • 255
  • 1
  • 8
  • Hello, thanks for your answer. But in the documentation, this statement regarding on the first step,I believe. – Kiran RS Aug 22 '19 at 15:48
  • Hello Kiran, In order to replicate the issue, I have followed the [article](https://cloud.google.com/solutions/chrome-desktop-remote-on-compute-engine#installing_an_x_windows_system_desktop_environment) again and confirm that the error occurs during the 2nd step, after running: `echo "exec /usr/bin/xfce4-session" > /etc/chrome-remote-desktop-session` However, after continuing with the next steps, I was able complete the setup successfully. Please proceed to the next step of the tutorial. – Deniss T. Aug 23 '19 at 07:53