DSX-Desktop 1.2.0升级至1.2.2失败求助:RHEL环境权限问题
Hey Tony, let's get that DSX-Desktop update sorted out. Since the GUI update fails because /usr/bin is owned by root, running the update via CLI with sudo is the right approach. Here's how to do it step by step:
Step 1: Close any running DSX-Desktop instances
First, make sure the DSX-Desktop GUI isn't running—having it open might cause conflicts during the update. You can either:
- Quit it normally from the GUI menu, or
- Run this command in your terminal:
pkill dsx-desktop
Step 2: Locate the DSX-Desktop update script/CLI tool
DSX-Desktop typically stores its binaries in /opt (common for third-party Linux desktop apps). Run one of these commands to find the update executable:
# Look for a direct update command which dsx-update # Or search the /opt directory for DSX-related scripts find /opt -name "*dsx*update*" -type f
You should get a path like /opt/dsx-desktop/bin/dsx-update or similar.
Step 3: Run the update with sudo
Once you have the update script path, execute it with root privileges using sudo:
sudo /path/to/dsx-update
Replace /path/to/dsx-update with the actual path you found in Step 2.
Alternative: Run DSX-Desktop GUI with sudo (if CLI update doesn't exist)
If you can't find a dedicated CLI update tool, you can launch the DSX-Desktop GUI with root permissions to let the built-in updater work:
sudo -E dsx-desktop
The -E flag preserves your user environment variables, which helps avoid display issues when running GUI apps as root. Once the GUI opens, click the "Linux update" option again—it should now have permission to write to /usr/bin.
Troubleshooting with DSX-Desktop.log
If you run into errors, check your DSX-Desktop.log file for specific details:
- Search for keywords like
permission denied,update failed, or/usr/binto pinpoint exactly where the process is failing. - For example, if the log mentions a specific file in
/usr/binthat can't be overwritten, you can manually verify its permissions (though the sudo command should handle this).
内容的提问来源于stack exchange,提问作者Tony Pearson

