system-config-lvm crashes with RuntimeError: couldn't allocate colour

Solution Verified - Updated -

Issue

  • system-config-lvm crashes with RuntimeError: couldn't allocate colour

sudo system-config-lvm
Traceback (most recent call last):
  File "/usr/sbin/system-config-lvm", line 173, in ?
    runFullGUI()
  File "/usr/sbin/system-config-lvm", line 158, in runFullGUI
    blvm = baselvm(glade_xml, app)
  File "/usr/sbin/system-config-lvm", line 108, in __init__
    self.volume_tab_view = Volume_Tab_View(glade_xml, self.lvmm, self.main_win)
  File "/usr/share/system-config-lvm/Volume_Tab_View.py", line 100, in __init__
    pr_upper = Properties_Renderer(window3, window3.window)
  File "/usr/share/system-config-lvm/Properties_Renderer.py", line 69, in \__init__
    color = gtk.gdk.colormap_get_system().alloc_color("white", 1,1)
RuntimeError: couldn't allocate colour

Environment

  • Red Hat Enterprise Linux 5

  • system-config-lvm

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content