LoginSignup
0
0

rocky linux GUI 導入

Last updated at Posted at 2024-06-09

レポジトリ「EPEL」をセット
$ sudo dnf install epel-release
$ sudo dnf --enablerepo=epel group

デスクトップパッケージをインストール
$ sudo dnf groupinstall "Server with GUI"

起動時に自動的にGUIになるように設定
$ sudo echo "exec /usr/bin/xfce4-session" >> ~/.xinitrc
$ sudo systemctl set-default graphical

確認はcat ~/.xinitrc

ibus-anthyをインストール
$ sudo dnf install -y ibus-anthy

GUIで起動後
起動時のGUI言語を日本語に変えていく

$ echo 'export LANG=ja_JP.UTF-8' >> ~/.bashrc

日本語入力を出来るようにする
$ ibus-setup
入力したらInput Methodのタブを選択して、Addボタンでjapanese-Anthyを追加する
その後に本体設定のキーボードにAnthyを追加する

そして再起動すると日本語入力が可能となっている

sudo reboot で再起動

GUIログイン時にアカウントを選択出来てroot 管理者権限で入ることも出来る
su -
これで素早くrootに移動できるからもう一度設定する
その場合ユーザごとに言語設定をする必要があるため再設定をやる

0
0
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
0