[Slackbuilds-users] lxdm tcp_listen=1 does not work

Qun-Ying zhu.qunying at gmail.com
Wed Nov 9 02:00:45 UTC 2016


Hi,

Sorry for sending an empty email previously.

For the lxdm's option tcp_listen=1 no longer works, as X.org now
defaults not to listen on TCP connection, and needs explicitly option
to turn it on.  I attached the lxdm-tcp.diff to add the necessary
function to make it work with new current X.org server.

-- 
Qun-Ying
-------------- next part --------------
Binary files lxdm-0.5.3/src/.lxdm.c.un~ and lxdm-new/src/.lxdm.c.un~ differ
diff -urN lxdm-0.5.3/src/lxdm.c lxdm-new/src/lxdm.c
--- lxdm-0.5.3/src/lxdm.c	2015-11-23 03:15:52.000000000 -0800
+++ lxdm-new/src/lxdm.c	2016-09-30 17:59:09.206381282 -0700
@@ -488,6 +488,9 @@
 	{
 		arg[arc++] = g_strdup("-nolisten");
 		arg[arc++] = g_strdup("tcp");
+	} else {
+		arg[arc++] = g_strdup("-listen");
+		arg[arc++] = g_strdup("tcp");
 	}
 	if(!novtswitch)
 	{


More information about the SlackBuilds-users mailing list