Score:1

systemctl chrome-remote-desktop without superuser

de flag

Some time ago to enable chrome remote desktop it was necessary to insert the user in the chrome-remote-desktop group to prevent the user from having to be a super user to enable the service

Now the user needs to have super users permission to enable the execution of bin/systemctl

I'm trying unsuccessfully to allow any user to enable chrome-remote-desktop without the authentication box indicated in the photo below appearing.

I tried to edit /etc/sudoers ALL=NOPASSWD: /bin/systemctl with no success either so the login box doesn't appear anymore and also through the linux terminal

enter image description here

NOTE: the operating system accessed is a ubuntu 18.04

mchid avatar
bo flag
Off the top of my head, doesn't `systemctl --user` run the service under the current user instead of root? e.g., `systemctl --user start chrome-remote-desktop` Have you already tried this?
Rafael avatar
de flag
Hi @mcid the return is "Failed to start chrome-remote-desktop.service: Unit chrome-remote-desktop.service not found". But I would need to be able to get this authentication box off when the user enables remote access
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.