Bug 2221816 - "DisallowTCP=false" option is not being used by /etc/gdm/custom.conf file
Summary: "DisallowTCP=false" option is not being used by /etc/gdm/custom.conf file
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: gdm
Version: 8.6
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Ray Strode [halfline]
QA Contact: Michal Odehnal
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-10 21:37 UTC by Larissa
Modified: 2023-07-14 20:12 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-161960 0 None None None 2023-07-10 21:41:00 UTC

Description Larissa 2023-07-10 21:37:32 UTC
Description of problem:

Was supposed to be fixed in https://bugzilla.redhat.com/show_bug.cgi?id=2029202 but the issue is still occurring.

This is after upgrading gdm:

==>yum install gdm
Last metadata expiration check: 1:20:15 ago on Mon 10 Jul 2023 08:00:48 PM UTC.
Package gdm-1:40.0-23.el8_6.1.x86_64 is already installed.
Dependencies resolved.
===============================================================================================================
 Package             Architecture           Version                        Repository                     Size
===============================================================================================================
Upgrading:
 gdm                 x86_64                 1:40.0-27.el8                 INFORMAL                 881 k

Transaction Summary
===============================================================================================================
Upgrade  1 Package

Total size: 881 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                       1/1 
  Running scriptlet: gdm-1:40.0-27.el8.x86_64                                                              1/1 
  Running scriptlet: gdm-1:40.0-27.el8.x86_64                                                              1/2 
  Upgrading        : gdm-1:40.0-27.el8.x86_64                                                              1/2 
  Running scriptlet: gdm-1:40.0-27.el8.x86_64                                                              1/2 
  Running scriptlet: gdm-1:40.0-23.el8_6.1.x86_64                                                          2/2 
  Cleanup          : gdm-1:40.0-23.el8_6.1.x86_64                                                          2/2 
  Running scriptlet: gdm-1:40.0-23.el8_6.1.x86_64                                                          2/2 
  Verifying        : gdm-1:40.0-27.el8.x86_64                                                              1/2 
  Verifying        : gdm-1:40.0-23.el8_6.1.x86_64                                                          2/2 

Upgraded:
  gdm-1:40.0-27.el8.x86_64                                                                                     

Complete!
Version-Release number of selected component (if applicable):


How reproducible:

run "ps lf -C Xorg" 
"-nolisten tcp" should not be there

Actual results:

==>ps lf -C Xorg
***
/usr/libexec/Xorg vt1 -displayfd 3 -auth /run/user/42/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -novtswitch -verbose 3

Expected results:

==>ps lf -C Xorg
***
/usr/libexec/Xorg vt1 -displayfd 3 -auth /run/user/42/gdm/Xauthority -background none -noreset -keeptty -novtswitch -verbose 3


Additional info: N/A

Comment 1 Michal Odehnal 2023-07-11 07:19:58 UTC
Hello, did you make sure to restart the gdm or rebooting after the gdm update? Can you please post the contents of your /etc/gdm/custom.conf file? I am currently unable to reproduce on my local machine. But I will test it on a new installation of 8.6 to double check.

Comment 2 Michal Odehnal 2023-07-11 08:08:35 UTC
So the new installation of rhel-8.6 is also without any issue. The gdm version on install was gdm-40.0-23.el8_6.1.x86_64 I tested the issue with this version. I also updated like you to the gdm-1:40.0-27.el8.x86_64 and tested the issue again and it works as expected for me.

Comment 3 Larissa 2023-07-12 20:37:23 UTC
I did reboot my machine after upgrading gdm. Here are the contents of /etc/gdm/custom.conf:

# GDM configuration

[daemon]
# force gdm login screen to use Xorg
WaylandEnable=false

[security]
# enable Xserver listening on TCP ports
DisallowTCP=false

[xdmcp]

[chooser]

[debug]

Comment 4 Ray Strode [halfline] 2023-07-13 12:42:10 UTC
Thank you for your report. The issue is not immediately reproducible in-house, so there's some aspect of the bug that's somehow related to your specific configuration or package set.

Do you have an open support ticket on https://access.redhat.com/ ? If so, can you post a link to it here? If not, can you open one and post a link to this bug report there?

As part of going through Red Hat support, you'll be asked for collect things (like a sosreport, GDM debug logs, etc) that will be helpful in diagnosing your problem.

I notice your repository is called INFORMAL and not one of the Red Hat Enterprise Linux base channels. To be clear, the gdm package installed isn't a local rebuild, right? This is a red hat provided build ? I ask, because the behavior you describe could happen if the package was built without, or with an old version of xorg-x11-server-devel, I think.

Thank you for your continued cooperation. Hopefully we can get to the bottom of the problem you are seeing!

Comment 5 Larissa 2023-07-14 20:12:49 UTC
Hello, I can get the case and sos report to you by next Wednesday. When I install the version that came with the red hat provided build, it installs gdm-40.0-23.el8_6.1.x86_64. After rebooting, I still get the same result:

==>ps lf -C Xorg
***
/usr/libexec/Xorg vt1 -displayfd 3 -auth /run/user/42/gdm/Xauthority -nolisten tcp -background none -noreset -keeptty -novtswitch -verbose 3


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