Bug 1306815 - xterm/xhost is not working when we upgrade from 7.0 to 7.2. [NEEDINFO]
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: 2020-12-15 07:40 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:
hdegoede: needinfo? (sai.abhi10)


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.


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