Running ride as different (non-root) user with sudo on Debian 10 and Mint 20.1 causes an abort
- Dominant language
- JavaScript
- Stars
- 233
- Forks
- 35
- Avg merge
- 4m
- Merged PRs (30d)
- 2
Description
### Describe the issue you are having
On a terminal, running ride as a different user with sudo:
```sh
$ sudo useradd -m testuser
$ sudo -u testuser ride
```
causes the error:
```
No protocol specified
The futex facility returned an unexpected error code.
Aborted
```
### Did you connect to an already running interpreter or start the interpreter from RIDE?
N/A
### How do you reproduce the issue?
See above. Any pre-existing non-root user will seemingly cause the error.
### Paste the contents of Help → About (Shift+F1)
```
IDE:
Version: 4.4.3533
Platform: Linux x86_64
Date: 2021-05-27 13:00:00 +0200
Git commit: df8ff379faa5fbca6eb96dcc91b1e7d02874460c
Preferences:{
"kbdLocale":"en_GB"
}
Interpreter:
Version: 18.0.39712
Platform: Linux-64
Edition: Unicode/64
Date: Dec 11 2020 at 01:07:55
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the failure from a terminal with `sudo -u testuser ride` after creating `testuser` on Debian 10 or Mint 20.1, and capture the `No protocol specified` and futex errors. Trace the application startup path from this invocation; done means RIDE launches successfully as a non-root user without aborting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, linux
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100