| Summary: | [abrt] system-switch-java-1.1.5-6.fc19: __init__.py:52:_init:RuntimeError: could not open display | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Paul Campbell <pcsnow> | ||||||
| Component: | system-switch-java | Assignee: | Deepak Bhole <dbhole> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 19 | CC: | dbhole, pcsnow | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | i686 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:44dad3ed2a40d9c18cbe586456d75680c77129a9 | ||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2013-08-21 19:10:51 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
Created attachment 788656 [details]
File: backtrace
Created attachment 788657 [details]
File: environ
Did you start it from command-line? If so, try running 'xhost +' as the logged in user first. [root@dell pwc]# xhost + access control disabled, clients can connect from any host [root@dell pwc]# What happens if you try to run system-switch-java after running the xhost + command? Same error? xhost +dell dell being added to access control list Fixed : Close User Error ( I wondered why I was getting this error in other situations too. I wonder why I have gotten this error in past releases. I do notice that my term prompt often show localhost inspite of maxing ip address static and put the address in /etc/hosts and using hostname dell. For some reason, it seems to revert to localhost after reboot. Something for me to work on. Thank You ) No problem, glad the workaround works! |
Description of problem: Clicked from Applications Menu Administration-JavaToolkit Do I have a problem with my DISPLAY ? Version-Release number of selected component: system-switch-java-1.1.5-6.fc19 Additional info: reporter: libreport-2.1.6 cmdline: python /usr/sbin/system-switch-java dso_list: pygtk2-2.24.0-7.fc19.i686 executable: /usr/sbin/system-switch-java kernel: 3.10.7-200.fc19.i686.PAE runlevel: N 5 type: Python uid: 0 Truncated backtrace: __init__.py:52:_init:RuntimeError: could not open display Traceback (most recent call last): File "/usr/sbin/system-switch-java", line 89, in <module> main() File "/usr/sbin/system-switch-java", line 57, in main show_dialog(show_gui, NO_JAVA_MESSAGE) File "/usr/sbin/system-switch-java", line 81, in show_dialog from switch_java_gui import mainDialog File "/usr/share/system-switch-java/switch_java_gui.py", line 19, in <module> import gtk File "/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 64, in <module> _init() File "/usr/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py", line 52, in _init _gtk.init_check() RuntimeError: could not open display Local variables in innermost frame: sys: <module 'sys' (built-in)> sys_path: ['/usr/sbin', '/usr/lib/python27.zip', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/lib/python2.7/site-packages', '/usr/lib/python2.7/site-packages/gtk-2.0', '/usr/share/system-switch-java/']