Bug#785495: gdm3: handle new Xorg "-nolisten tcp" default

Junior Polegato linux at juniorpolegato.com.br
Thu Jun 25 18:05:30 UTC 2015


Package: gdm3
Followup-For: Bug #785495

Dear Maintainer,

Hi! I do this and works fine:

$ mkdir gdm3_listen_tcp
$ cd gdm3_listen_tcp
$ su -c 'apt-get install quilt'
$ apt-get source gdm3
$ cd gdm3-3.14.1
$ export QUILT_PATCHES=debian/patches
$ quilt new 97_listen_tcp.patch
$ quilt add daemon/gdm-server.c
$ sed -i 's/server->priv->disable_tcp && ! query_in_arglist/!
server->priv->disable_tcp || query_in_arglist/' daemon/gdm-server.c
$ sed -i 's/-nolisten/-listen/' daemon/gdm-server.c
$ quilt refresh
$ su -c 'apt-get build-dep gdm3'
$ su -c 'apt-get install devscripts'
$ dch -i "Add listen tcp support"
$ debuild -uc -us
$ cd ..
$ su -c 'dpkg -i *.deb'

Then I finish my Gnome session, login again and now works perfect:

$ ps -axf|grep Xorg
22853 tty7     Ssl+   1:40  \_ /usr/bin/Xorg :0 -novtswitch -background none
-noreset -verbose 3 -auth /var/run/gdm3/auth-for-Debian-gdm-BoxRGa/database
-seat seat0 -listen tcp vt7



-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (500, 'oldstable'), (65, 'unstable'), (60, 'stable'), (55, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=pt_BR.utf8, LC_CTYPE=pt_BR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gdm3 depends on:
ii  accountsservice                       0.6.40-2
ii  adduser                               3.113+nmu3
ii  blackbox [x-window-manager]           0.70.1-29
ii  dconf-cli                             0.24.0-2
ii  dconf-gsettings-backend               0.24.0-2
ii  debconf [debconf-2.0]                 1.5.56
ii  e16 [x-window-manager]                1.0.0-4
ii  e17 [x-window-manager]                0.17.6-1
ii  fluxbox [x-window-manager]            1.3.5-2
ii  flwm [x-window-manager]               1.02+cvs20080422-11
ii  fvwm [x-window-manager]               1:2.6.5.ds-4
ii  fvwm-crystal [x-window-manager]       3.3.1+dfsg-1
ii  gir1.2-gdm3                           3.14.1-8.1
ii  gnome-session [x-session-manager]     3.16.0-1
ii  gnome-session-bin                     3.16.0-1
ii  gnome-settings-daemon                 3.16.2-3
ii  gnome-shell                           3.14.4-1
ii  gnome-terminal [x-terminal-emulator]  3.16.2-1
ii  gsettings-desktop-schemas             3.16.1-1
ii  libaccountsservice0                   0.6.40-2
ii  libaudit1                             1:2.4.2-1
ii  libc6                                 2.19-18
ii  libcanberra-gtk3-0                    0.30-2.1
ii  libcanberra0                          0.30-2.1
ii  libgdk-pixbuf2.0-0                    2.31.4-2
ii  libgdm1                               3.14.1-8.1
ii  libglib2.0-0                          2.44.1-1
ii  libglib2.0-bin                        2.44.1-1
ii  libgtk-3-0                            3.16.4-2
ii  libpam-modules                        1.1.8-3.1
ii  libpam-runtime                        1.1.8-3.1
ii  libpam-systemd                        215-18
ii  libpam0g                              1.1.8-3.1
ii  librsvg2-common                       2.40.9-2
ii  libselinux1                           2.3-2+b1
ii  libsystemd0                           215-18
ii  libwrap0                              7.6.q-25
ii  libx11-6                              2:1.6.3-1
ii  libxau6                               1:1.0.8-1
ii  libxdmcp6                             1:1.1.2-1
ii  libxrandr2                            2:1.4.2-1+b1
ii  lsb-base                              4.1+Debian13+nmu1
ii  metacity [x-window-manager]           1:3.14.3-1
ii  mutter [x-window-manager]             3.14.4-2+b1
ii  openbox [x-window-manager]            3.5.2-8
ii  policykit-1                           0.105-8
ii  twm [x-window-manager]                1:1.0.9-1
ii  ucf                                   3.0030
ii  wmaker [x-window-manager]             0.95.6-1.1
ii  x11-common                            1:7.7+9
ii  x11-xserver-utils                     7.7+4
ii  xfce4-session [x-session-manager]     4.12.1-3
ii  xfwm4 [x-window-manager]              4.12.3-1
ii  xterm [x-terminal-emulator]           318-2

Versions of packages gdm3 recommends:
ii  at-spi2-core               2.16.0-1
ii  desktop-base               8.0.2
ii  gnome-icon-theme           3.12.0-1
ii  gnome-icon-theme-symbolic  3.12.0-1
ii  x11-xkb-utils              7.7+2
ii  xserver-xephyr             2:1.17.1-2
ii  xserver-xorg               1:7.7+9
ii  zenity                     3.16.2-1

Versions of packages gdm3 suggests:
ii  gnome-orca            3.16.2-1
ii  libpam-gnome-keyring  3.16.0-2

-- Configuration Files:
/etc/gdm3/daemon.conf changed:
[daemon]
[security]
DisallowTCP = false
[xdmcp]
[greeter]
[chooser]
[debug]


-- debconf information:
  gdm3/daemon_name: /usr/sbin/gdm3
* shared/default-x-display-manager: gdm3



More information about the pkg-gnome-maintainers mailing list