如何使用 X 和 ssh 运行 Yast?

And*_*ehm 5 ssh opensuse x11 yast

我有一台使用 ssh -X 登录的 openSUSE 机器。我不想以 root 身份登录,但我想运行图形化的 Yast。在 ssh 会话中 sudo 启动 Yast 的控制台版本。但是,在 Gnome 或 KDE 中,可以以普通用户身份启动 Yast,然后在窗口中提供 root 密码以作为 root 运行 Yast。

我怎样才能从我的 ssh 会话中做到这一点?

Nil*_*ils 2

以“普通”用户身份登录(使用 X11-forward),然后su - -c yast2.