Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: sed: -e expression #1, char 81: invalid reference \1 on `s' command's RHS #60

Closed
StarrKiss opened this issue Mar 31, 2019 · 1 comment

Comments

@StarrKiss
Copy link

When I run this command in the setup procedure:

sudo sed -i 's/^(#?greeter)-session\s*=\s*(.*)/greeter-session = lightdm-webkit2-greeter #\1/ #\2g' /etc/lightdm/lightdm.conf

To get lightdm set up, it gives me this error:

sed: -e expression #1, char 81: invalid reference \1 on `s' command's RHS

@StarrKiss StarrKiss changed the title error: error: sed: -e expression #1, char 81: invalid reference \1 on `s' command's RHS Mar 31, 2019
@NoiSek
Copy link
Owner

NoiSek commented Sep 15, 2020

For anyone who runs into this in the future, all this command does is set greeter-session = lightdm-webkit2-greeter in /etc/lightdm/lightdm.conf. You can do this manually yourself to achieve the same endgoal.

@NoiSek NoiSek closed this as completed Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants