You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

DSX-Desktop 1.2.0升级至1.2.2失败求助:RHEL环境权限问题

Fixing DSX-Desktop Update via CLI on RHEL 7.4 (Thinkpad T440p)

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/bin to pinpoint exactly where the process is failing.
  • For example, if the log mentions a specific file in /usr/bin that can't be overwritten, you can manually verify its permissions (though the sudo command should handle this).

内容的提问来源于stack exchange,提问作者Tony Pearson

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 10:14:23