RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1306815 - xterm/xhost is not working when we upgrade from 7.0 to 7.2.
Summary: xterm/xhost is not working when we upgrade from 7.0 to 7.2.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: xorg-x11-xauth
Version: 7.2
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Karol Herbst
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-11 18:59 UTC by Abhi
Modified: 2023-09-14 03:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-15 07:40:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Abhi 2016-02-11 18:59:04 UTC
Description of problem:
xterm/xhost is not working when we upgrade from 7.0 to 7.2.

Version-Release number of selected component (if applicable):
xorg-x11-xauth-1.0.9-1.el7.x86_64
xorg-x11-server-Xorg-1.17.2-10.el7.x86_64
xorg-x11-server-common-1.17.2-10.el7.x86_64


How reproducible:
Upgrade server from 7.0 to 7.2

Steps to Reproduce:
1.Patch the os (rhel 7) 
2.Upon patching the xorg* rpms will be on 1.17 verison.
3. Test with xterm or xclock

For step 3 need to do the following before testing:
#export DISPLAY=localhost:10.0

/etc/hosts
127.0.0.1   localhost localhost.localdomain 

/etc/ssh/sshd_config
X11Forwarding yes

Actual results:


Expected results:


Additional info:

Comment 2 Hans de Goede 2016-02-11 19:06:42 UTC
The reproduction instructions seem to be incomplete, can you please provide clear step by step reproduction instructions for your problem, and also include any error messages and the expected result.

Comment 3 Abhi 2016-02-11 19:24:32 UTC
Here are the detailed steps:

1. Built a server with rhel 7.0.
2. /host/xclock was working.
2. After couple of months i.e 1 st week of Jan, i have updated the os with latest patches.

##############
[root@hostname ~]# cat /etc/*release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.2 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="7.2"
PRETTY_NAME="Red Hat Enterprise Linux"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.2:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.2
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.2"
Red Hat Enterprise Linux Server release 7.2 (Maipo)
Red Hat Enterprise Linux Server release 7.2 (Maipo)
[root@hostname ~]#
####################

3. Upon patching the xhost/xclock stopped working.

Comment 4 Hans de Goede 2016-02-12 18:59:37 UTC
I still need better reproduction instructions. Please describe step by step what you are doing, without skipping any steps, here is an incomplete list of unanswered questions:

1) How are you logging in to the system?
2) Are you using xhost to change permissions?
3) If you are using xhost to change permissions, then I take it that you are using 2 sessions, one where you are using xhost to open things u[ and another where you are starting a program ?
4) Please provide a list of the all commanfs you enter in both sessions starting with how you log in to both session?
4) Why did you need to manually set "export DISPLAY=localhost:10.0" back when things were still working  ?
(normally DISPLAY will get set correctly automatically)
5) How is "/etc/ssh/sshd_config X11Forwarding yes" relevant to your case ?
6) If you're using ssh forwarding why are you also using "xhost" to set permissions ?
7) etc.

Comment 6 RHEL Program Management 2020-12-15 07:40:03 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.

Comment 7 Red Hat Bugzilla 2023-09-14 03:17:39 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


Note You need to log in before you can comment on or make changes to this bug.