> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs-staging.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 重新启动 Weston

要在关闭 Weston 进程后手动重新启动 Weston 服务器，请执行以下操作：

<Note>
  您必须启用 SSH 才能连接到目标设备。有关说明，请参阅[使用 SSH 登录](https://dragonwingdocs.qualcomm.com/Key-Documents/Flash-Guide/how-to-sign-in-with-ssh)。
</Note>

1. 要确定 Weston 进程的 ID，请运行以下命令：

   > ```text theme={null}
   > mount -o remount,rw /
   > ```

   > ```text theme={null}
   > ps -A | grep weston
   > ```

   示例输出：

   ```text theme={null}
   824 ?        00:00:12 weston
   1090 ?        00:00:00 weston-keyboard
   1092 ?        00:00:01 weston-desktop-
   ```

   记下输出中的 Weston 进程 ID，以便在下一步中使用。

2. 要终止 Weston 进程，请运行以下命令：

   <Note>如果 modetest 应用程序已在运行，可以跳过以下命令。</Note>

   > ```text theme={null}
   > kill <PID>
   > ```

   将 `<PID>` 替换为上一步中确定的进程 ID。例如，根据示例输出：`kill 824 1090 1092`。

3. 要重新启动 Weston 服务器，请运行以下命令：

   > ```text theme={null}
   > mount -o remount,rw /
   > ```

   > ```text theme={null}
   > systemctl start weston.service
   > ```
