CentOS のデフォルトウィンドウマネージャといえば GNOME ですが、何らかの原因でマネージャが立ち上がらなくなってしまい、どうしても他のマネージャに変えたいけれどもどうしようもない。
そんなときには switchdesk コマンドで他のマネージャに変更できます。
まずはインストールから。
Loading “fastestmirror” plugin
Loading mirror speeds from cached hostfile
* base: rsync.atworks.co.jp
* updates: rsync.atworks.co.jp
* addons: rsync.atworks.co.jp
* extras: rsync.atworks.co.jp
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
–> Running transaction check
—> Package switchdesk.noarch 0:4.0.8-6 set to be updated
–> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
switchdesk noarch 4.0.8-6 base 15 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 15 k
Is this ok [y/N]: y
Downloading Packages:
(1/1): switchdesk-4.0.8-6 100% |=========================| 15 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: switchdesk ######################### [1/1]
Installed: switchdesk.noarch 0:4.0.8-6
Complete!
とりあえずコマンドをたたいてみる。
# switchdesk
Red Hat Linux switchdesk 4.0
Copyright (C) 1999-2004 Red Hat, Inc
Redistributable under the terms of the GNU General Public License
Please specify one of either KDE, GNOME, XFCE, FVWM or WindowMaker.
KDE, GNOME, XFCE, FVWM, WindowMaker を指定しろとのこと。
Red Hat Linux switchdesk 4.0
Copyright (C) 1999-2004 Red Hat, Inc
Redistributable under the terms of the GNU General Public License
ERROR: KDE is not installed on your machine! to install KDE, please type
yum groupinstall “KDE Software Development”
そもそも KDE が入っていないのでエラーになってしまいました。。。