Bug 1574434
| Summary: | sealert -s / -S tracebacks when display is set to VNC server | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Milos Malik <mmalik> |
| Component: | setroubleshoot | Assignee: | Vit Mojzis <vmojzis> |
| Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | CC: | lvrabec, mmalik, plautrba, vmojzis |
| Target Milestone: | rc | Keywords: | AutoVerified, Triaged |
| Target Release: | 8.3 | Flags: | pm-rhel:
mirror+
|
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1484754 | Environment: | |
| Last Closed: | 2020-11-04 03:19:38 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1682463 | ||
| Bug Blocks: | |||
|
Description
Milos Malik
2018-05-03 10:35:59 UTC
I can't reproduce this problem anymore: # rpm -q setroubleshoot tigervnc-server gtk3 setroubleshoot-3.3.20-2.el8.x86_64 tigervnc-server-1.9.0-11.el8.x86_64 gtk3-3.22.30-5.el8.x86_64 # vncserver You will require a password to access your desktops. Password: Verify: Would you like to enter a view-only password (y/n)? n A view-only password is not used xauth: file /root/.Xauthority does not exist New 'ci-vm-10-0-137-242.hosted.upshift.rdu2.redhat.com:1 (root)' desktop is ci-vm-10-0-137-242.hosted.upshift.rdu2.redhat.com:1 Creating default startup script /root/.vnc/xstartup Creating default config /root/.vnc/config Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/ci-vm-10-0-137-242.hosted.upshift.rdu2.redhat.com:1.log [root@ci-vm-10-0-137-242 ~]# export DISPLAY=:1 [root@ci-vm-10-0-137-242 ~]# sealert -s & [1] 5840 (setroubleshoot:5840): Gtk-WARNING **: 08:30:18.859: Could not load a pixbuf from /org/gtk/libgtk/theme/Adwaita/assets/bullet-symbolic.svg. This may indicate that pixbuf loaders or the mime database could not be found. [root@ci-vm-10-0-137-242 ~]# ps ax | grep sealert 5840 pts/0 S 0:00 /usr/libexec/platform-python -Es /usr/bin/sealert -s Milos, please confirm. If DISPLAY is set to ":1" then I see the same thing as you do. If DISPLAY is set to "<machine-name>:1" then the output matches comment#0. The output of "uname -n" is used as <machine-name>. [root@ci-vm-10-0-138-215 ~]# export DISPLAY=ci-vm-10-0-138-215.hosted.upshift.rdu2.redhat.com:1 [root@ci-vm-10-0-138-215 ~]# xterm -e 'sleep 1' ... xterm: Xt error: Can't open display: %s [root@ci-vm-10-0-138-215 ~]# export DISPLAY=:1 [root@ci-vm-10-0-138-215 ~]# xterm -e 'sleep 1' [root@ci-vm-10-0-138-215 ~]# Given that `xterm` behaves in the same manner is the report related to the fact that `sealert` can't get information about DISPLAY="<machine-name>:1"? Or is the problem that there's a traceback? If the former it's not setroubleshoot problem and we need to find the correct component. I agree. We need to find the correct component. Maybe desktop QE guys can help us. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (setroubleshoot bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:4725 |