0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

IBM Cloud VSI RHEL VMにGNOMEデスクトップインストール

Posted at

目的

  • IBM CloudのVSIでRHEL区画を作成するとminimalインストールのためGNOMEデスクトップが使えない
  • ソフトウェアのインストーラ起動やlocalhostでのブラウザ起動のためGNOMEデスクトップを使用したい

導入手順

  • GNOMEインストール
# dnf groupinstall GNOME 
  • 日本語入力のインストール
# dnf install libkkc-data ibus-kkc
出力例
[root@rhel-001 ~]# dnf install libkkc-data ibus-kkc
Updating Subscription Management repositories.
Last metadata expiration check: 1:39:47 ago on Wed 12 Apr 2023 08:39:16 PM EDT.
Dependencies resolved.
================================================================================
 Package     Arch   Version              Repository                        Size
================================================================================
Installing:
 ibus-kkc    x86_64 1.5.22-9.el8         rhel-8-for-x86_64-appstream-rpms  86 k
 libkkc-data x86_64 1:0.2.7-12.el8       rhel-8-for-x86_64-appstream-rpms  14 M
Installing dependencies:
 libgee      x86_64 0.20.1-1.el8         rhel-8-for-x86_64-appstream-rpms 284 k
 libkkc      x86_64 0.3.5-12.el8         rhel-8-for-x86_64-appstream-rpms 232 k
 libkkc-common
             noarch 0.3.5-12.el8         rhel-8-for-x86_64-appstream-rpms  67 k
 marisa      x86_64 0.2.4-36.el8         rhel-8-for-x86_64-appstream-rpms  86 k
 skkdic      noarch 20170102-4.T1100.el8 rhel-8-for-x86_64-appstream-rpms 7.4 M

Transaction Summary
================================================================================
Install  7 Packages

Total download size: 22 M
Installed size: 57 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): ibus-kkc-1.5.22-9.el8.x86_64.rpm         195 kB/s |  86 kB     00:00
(2/7): marisa-0.2.4-36.el8.x86_64.rpm           178 kB/s |  86 kB     00:00
(3/7): libkkc-0.3.5-12.el8.x86_64.rpm           463 kB/s | 232 kB     00:00
(4/7): libgee-0.20.1-1.el8.x86_64.rpm           1.6 MB/s | 284 kB     00:00
(5/7): skkdic-20170102-4.T1100.el8.noarch.rpm    23 MB/s | 7.4 MB     00:00
(6/7): libkkc-data-0.2.7-12.el8.x86_64.rpm       33 MB/s |  14 MB     00:00
(7/7): libkkc-common-0.3.5-12.el8.noarch.rpm    259 kB/s |  67 kB     00:00
--------------------------------------------------------------------------------
Total                                            24 MB/s |  22 MB     00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                        1/1
  Installing       : libgee-0.20.1-1.el8.x86_64                             1/7
  Installing       : libkkc-common-0.3.5-12.el8.noarch                      2/7
  Installing       : skkdic-20170102-4.T1100.el8.noarch                     3/7
  Installing       : libkkc-data-1:0.2.7-12.el8.x86_64                      4/7
  Installing       : marisa-0.2.4-36.el8.x86_64                             5/7
  Running scriptlet: marisa-0.2.4-36.el8.x86_64                             5/7
  Installing       : libkkc-0.3.5-12.el8.x86_64                             6/7
  Running scriptlet: libkkc-0.3.5-12.el8.x86_64                             6/7
  Installing       : ibus-kkc-1.5.22-9.el8.x86_64                           7/7
  Running scriptlet: ibus-kkc-1.5.22-9.el8.x86_64                           7/7
  Verifying        : ibus-kkc-1.5.22-9.el8.x86_64                           1/7
  Verifying        : libkkc-0.3.5-12.el8.x86_64                             2/7
  Verifying        : marisa-0.2.4-36.el8.x86_64                             3/7
  Verifying        : libkkc-data-1:0.2.7-12.el8.x86_64                      4/7
  Verifying        : skkdic-20170102-4.T1100.el8.noarch                     5/7
  Verifying        : libgee-0.20.1-1.el8.x86_64                             6/7
  Verifying        : libkkc-common-0.3.5-12.el8.noarch                      7/7
Installed products updated.

Installed:
  ibus-kkc-1.5.22-9.el8.x86_64            libgee-0.20.1-1.el8.x86_64
  libkkc-0.3.5-12.el8.x86_64              libkkc-common-0.3.5-12.el8.noarch
  libkkc-data-1:0.2.7-12.el8.x86_64       marisa-0.2.4-36.el8.x86_64
  skkdic-20170102-4.T1100.el8.noarch

Complete!
[root@rhel-001 ~]#
  • 初期起動をデスクトップ環境に変更
# systemctl set-default graphical.target
出力例
[root@rhel-001 ~]# systemctl set-default graphical.target
Removed /etc/systemd/system/default.target.
Created symlink /etc/systemd/system/default.target → /usr/lib/systemd/system/graphical.target.
[root@rhel-001 ~]#
  • 再起動
# reboot
  • VNCコンソールを起動して確認
    • アクション -> VNCコンソールを開く
      1.jpg
  • ログインしデスクトップが表示されれば成功
    2.jpg
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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?