Red Hat Bugzilla – Bug 813297
Got Traceback with changed hostname
Last modified: 2015-04-23 19:57:19 EDT
Description of problem:
Version-Release number of selected component (if applicable):
Rhel6.3 with following subscription-manager rpm .
Steps to Repro :
Login to client console .
Change hostname using following command
Now launch subscription-manager-gui using subscription-manager-gui command.
Expected Result :
Command should successfully executed , and it should open subscription-manager gui
Actual Result :
Got Following traceback.
[root@test1 ~]# hostname test2
[root@test1 ~]# subscription-manager-gui
/usr/sbin/subscription-manager-gui:31: DeprecationWarning: The dbus_bindings module is not public API and will go away soon.
Most uses of dbus_bindings are applications catching the exception
dbus.dbus_bindings.DBusException. You should use dbus.DBusException
instead (this is compatible with all dbus-python versions since 0.40.2).
If you need additional public API, please contact the maintainers via
No protocol specified
Traceback (most recent call last):
File "/usr/sbin/subscription-manager-gui", line 32, in <module>
File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 64, in <module>
File "/usr/lib64/python2.6/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init
RuntimeError: could not open display
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.
I now see a a can not display error, which is resolved by logging out nad back in. Calling this fixed.
# subscription-manager version
server type: Red Hat Subscription Management
subscription management server: 0.8.29-1
=== Original hostname ===
=== Changing hostname ===
# hostname test2
=== Checking Hostname ===
=== Launching GUI ===
X11 connection rejected because of wrong authentication.
Unable to open a display
=== Exiting ssh ===
=== Logging back in ===
Last login: Fri Oct 11 11:24:08 2013 from dhcp129-238.rdu.redhat.com
=== Checking hostname ===
=== Launching GUI ===
GUI launches successfully
This is an acceptable behavior
This request was resolved in Red Hat Enterprise Linux 7.0.
Contact your manager or support representative in case you have further questions about the request.