Bug#785495: gdm3: handle new Xorg "-nolisten tcp" default
Linux - Junior Polegato
linux at juniorpolegato.com.br
Tue Oct 20 11:40:09 UTC 2015
Hi!
Now, with gdm3-3.18.0-2 package and wayland support, I do new patch:
$ mkdir gdm3_listen_tcp
$ cd gdm3_listen_tcp
$ su -c 'apt-get install quilt'
$ apt-get source gdm3
$ cd gdm3-3.18.0
$ export QUILT_PATCHES=debian/patches
$ quilt new 97_listen_tcp.patch
$ quilt add daemon/gdm-server.c daemon/gdm-x-session.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/!allow_remote_connections/allow_remote_connections/' \
daemon/gdm-x-session.c
$ sed -i 's/-nolisten/-listen/' daemon/gdm-server.c
$ sed -i 's/-nolisten/-listen/' daemon/gdm-x-session.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'
Regards,
Junior Polegato
More information about the pkg-gnome-maintainers
mailing list