0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

openssh-clientsを消去するとGUIが使えなくなった。

Last updated at Posted at 2025-02-22

概要

openssh-clientsを消去したときに、GUIが使えなくなった。Server with GUIをインストールし直すことで解消した。

環境

PC:dynabook (intel CORE i5 7th Gen)
OS:Almalinux 9.5

状況

古いPCにssh接続できなかった際、OpenSSH のバージョンのリセットを試そうとした。そこで、openssh-clients を削除したところ、削除の実行中に画面が落ちてそのままGUIが使えなくなった。

対応

  1. tty に切り替え
    Ctrl + Alt + F3 で tty に切り替えた。
    これで、一応コマンドを実行できるようになった。
    (参考:tty)
    https://qiita.com/Kernel_OGSun/items/bdccbe8bc4092f33b43e


  2. Server with GUI を インストール
$ sudo dnf groupinstall "Server with GUI"

でServer with GUIをインストールした。openssh-clientsを消去したため、これをインストールすれば良いかと思ったが、それでは効果がなかった。



3. 再起動
この状態でrebootすると、無事復活した。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?