summarylogtreecommitdiffstats
path: root/chrome-remote-desktop.install
diff options
context:
space:
mode:
authorDave Blair2015-10-07 20:11:16 +0200
committerDave Blair2015-10-07 20:11:16 +0200
commitcce0619e651c4affd64b070a23ec2b423e6a1e0b (patch)
tree10bc5bf68b45e8360a397a332ea343fa26fd4e19 /chrome-remote-desktop.install
parent370a0e33624fff753d3c37e25aa61f5b2c065803 (diff)
downloadaur-cce0619e651c4affd64b070a23ec2b423e6a1e0b.tar.gz
More options added to crd, other errors removed, hopefully not too many added
Diffstat (limited to 'chrome-remote-desktop.install')
-rw-r--r--chrome-remote-desktop.install24
1 files changed, 13 insertions, 11 deletions
diff --git a/chrome-remote-desktop.install b/chrome-remote-desktop.install
index 77b7fb15b435..ff9cf5675b46 100644
--- a/chrome-remote-desktop.install
+++ b/chrome-remote-desktop.install
@@ -1,19 +1,21 @@
post_install() {
- # Create chrome-remote-desktop group, adds $USER
- [[ $(cat /etc/group) == *chrome-remote-desktop* ]] || groupadd --gid $GID chrome-remote-desktop
+ # Create chrome-remote-desktop group
+ [[ $(cat /etc/group) == *chrome-remote-desktop* ]] || groupadd chrome-remote-desktop
+ echo "Set up CRD by issuing the command:"
+ echo "crd --setup"
+ echo "as a normal user."
echo ""
- echo "Please create ~/.config/chrome-remote-desktop folder manually, if it doesn't exist, or else you can't use CRD."
- echo "The needed files are created by the Chrome app, inside the chrome-remote-desktop folder, after Enabling Remote Connections."
- echo "To {enable,start} the service use systemctl --user {enable,start} chrome-remote-desktop"
+ echo "After that, enable access to CRD in your chrome or chromium browser."
echo ""
- echo "You may need to create a ~/.chrome-remote-desktop-session file with commands to start your session"
+ echo "To {enable,start} the service, issue the command:"
+ echo "systemctl --user {enable,start} chrome-remote-desktop"
+ echo "This only really makes sense for servers."
echo ""
- echo "You can also start the chrome remote desktop server by executing the command:"
- echo ""
- echo " $ crd"
- echo ""
- echo "as a normal user. This will add the directory, session file, add you as a user and everything on the first run."
+ echo "You can also start the chrome remote desktop server by issuing the command:"
+ echo "crd"
+ echo "as a normal user. "
+ echo "This will prompt you to set up your CRD if it hasn't been set up already."
echo ""
echo "Go to https://support.google.com/chrome/answer/1649523 for more information."
}