Re: gdm enabling Xorg to listening on tcp



On Wed, 2016-06-29 at 10:26 -0400, Ray Strode wrote:
Hi,

On Wed, Jun 29, 2016 at 8:20 AM, Stephen Adler <
adler stephenadler com> wrote:
You have a mechanism to turn off the use of the Xorg command line
option "-nolisten tcp" by setting "DisallowTCP=false" in the
[security]
section of the <etc>/gdm/custom.conf file. The Xorg server now has
"tcp
listening" turned off by default and if you wish to enable it, you
need
to add the command line option "-listen tcp". How does one enable
listening on tcp withing the configuration framework of GDM? May I
suggest adding "AllowTCP=true" to the [security] section of the gdm
custom configuration file? Or is there another method of
configuring
gdm so that when it starts the Xorg server it passed along "-listen
tcp" as one of the command line options?
So GDM automatically figures out whether to add -nolisten tcp or
-listen tcp depending on what X server is installed when GDM is
built.

See:

https://bugzilla.gnome.org/show_bug.cgi?id=750026

and

https://git.gnome.org/browse/gdm/commit/?id=3f59fa0da5168451898db63e5
1e312ce894af0c1

You probably just need to make sure you have your xserver devel
package installed at
GDM build time.

--Ray


thanks, I just double checked on my fedora 24 installation, and it
doesn't seem to do what's advertised.

with DisallowTCP=false commented out, you get the "-nolisten tcp"
command line option passed to Xorg server. (Xorg version 1.18.3)

[adler localhost ~]$ ps ax | grep -i Xorg
  1030 ?        Ss     0:00 /usr/bin/abrt-dump-journal-xorg -fxtD
  1707 tty2     S+     0:02 /usr/libexec/Xorg vt2 -displayfd 3 -auth
/run/user/1000/gdm/Xauthority -nolisten tcp -background none -noreset 
-keeptty -verbose 3
  3137 pts/0    S+     0:00 grep --color=auto -i Xorg

When DisallowTCP=false is uncommented out, (i.e. enabled) I get the
following


[adler localhost ~]$ ps ax | grep -i Xorg
  1020 ?        Ss     0:00 /usr/bin/abrt-dump-journal-xorg -fxtD
  1637 tty2     S+     0:00 /usr/libexec/Xorg vt2 -displayfd 3 -auth
/run/user/1000/gdm/Xauthority -background none -noreset -keeptty 
-verbose 3
  2271 pts/0    S+     0:00 grep --color=auto -i Xorg

Notice the "-nolisten tcp" is missing, but it's not replaced by a "
-listen tcp".

Who do I report this too? Fedora or gnome?

Cheers. Steve.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]