- yum install -y system-config-lvm xauth
After installing those by using yum, I was able to get system-lvm-config-lvm to display back to my desktop. Unfortunately, it had the following warning/error messages:
debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384This was solved by installing the PackageKit-gtk-module and libcanberra-gtk2 packages:
debug1: client_request_x11: request from ::1 59816
debug1: channel 1: new [x11]
debug1: confirm x11
Gtk-Message: Failed to load module "pk-gtk-module": libpk-gtk-module.so: cannot open shared object file: No such file or directory
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
yum install PackageKit-gtk-module libcanberra-gtk2Once I started system-config-lvm, some dbus-related errors were reported. This was solved by installing dbus-x11:
yum install -y dbus-x11Now I can manage LVM with the comfort of the GUI.
Note: All of the above yum commands can be run in the following single command:
yum install -y system-config-lvm xauth PackageKit-gtk-module libcanberra-gtk2 dbus-x11
After following the above steps on an AWS EC2 instance, I got the following error:
process 10209: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
D-Bus not built with -rdynamic so unable to print a backtrace
This was solved by running the following command:
dbus-uuidgen --ensureThe /var/lib/dbus/machine-id file now exists and I can run the system-config-lvm command.