Update README.md

Made instructions alpine specific.
This commit is contained in:
edschuy95 2025-09-02 15:50:59 +00:00
parent 98f1a6db6d
commit 962dd2eb5a

View file

@ -18,22 +18,7 @@ Install alpine pre-reqs:
apk add bash bash-completion gcompat apk add bash bash-completion gcompat
``` ```
Download script with this url: `https://raw.githubusercontent.com/netvolt/LinuxRMM-Script/main/rmmagent-linux.sh` Download script with this url: `https://sources.gtsvr.net/edschuy95/LinuxRMM-Alpine-Script/raw/branch/main/rmmagent-linux.sh`
For Ubuntu systems try: 'wget https://raw.githubusercontent.com/netvolt/LinuxRMM-Script/main/rmmagent-linux.sh'
Make executable after downloading with: 'sudo chmod +x rmmagent-linux.sh'
### Fix Blank Screen for Ubuntu Workstations (Ubuntu 16+)
Ubuntu uses the Wayland display manager instead of the regular X11 server. This causes MeshCentral to show a blank screen, preventing login, viewing, or controlling the client.
Using the command lines below should solve the problem:
```
sudo sed -i '/WaylandEnable/s/^#//g' /etc/gdm3/custom.conf
sudo systemctl restart gdm
```
This will cause your screen to go blank for a second. You will be able to use remote desktop afterwards.
> If you encounter a 'file not found' error, you are likely using Ubuntu 19 or earlier. On these machines, the config file will be located on /etc/gdm/custom.conf. Modify the command above accordingly. <
Please note that remote desktop features are only installed when you used the workstation agent. You may need to reinstall your mesh agent.
## Automatically Detect System Architecture ## Automatically Detect System Architecture
@ -54,7 +39,7 @@ This ensures the script adapts to different system types automatically without n
To install the agent, launch the script with this argument: To install the agent, launch the script with this argument:
```bash ```bash
./rmmagent-linux.sh install 'Mesh agent' 'API URL' 'Client ID' 'Site ID' 'Auth Key' 'Agent Type' bash ./rmmagent-linux.sh install 'Mesh agent' 'API URL' 'Client ID' 'Site ID' 'Auth Key' 'Agent Type'
``` ```
The compiling can be quite long, don't panic and wait few minutes... USE THE 'SINGLE QUOTES' IN ALL FIELDS! The compiling can be quite long, don't panic and wait few minutes... USE THE 'SINGLE QUOTES' IN ALL FIELDS!