Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not start with IPv6 disabled #432

Closed
Natureshadow opened this issue Oct 7, 2016 · 3 comments
Closed

Does not start with IPv6 disabled #432

Natureshadow opened this issue Oct 7, 2016 · 3 comments
Labels

Comments

@Natureshadow
Copy link
Contributor

Disabling IPv6 completely (using ipv6.disable=1) on the Linux command line) leads to xrdp not being able to start.

See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=839266 for more details and logs!

@metalefty metalefty added the IPv6 label Oct 7, 2016
@metalefty
Copy link
Member

Is the debian package compiled with --with-ipv6 option?

@metalefty
Copy link
Member

It is true. Compiled with --enable-ipv6 option.

@metalefty
Copy link
Member

Reproduced on CentOS 7.

  1. Edit /etc/default/grub
  2. Append "ipv6.disable=1" to GRUB_CMDLINE_LINUX
  3. # grub2-mkconfig -o /boot/grub2/grub.cfg
  4. Reboot
  5. Edit X11RDP-RH-Matic.sh like following diff
  6. $ ./X11RDP-RH-Matic.sh --branch devel --nox11rdp
  7. # systemctl start xrdp
  8. # tail -f /var/log/xrdp.log
diff --git a/X11RDP-RH-Matic.sh b/X11RDP-RH-Matic.sh
index 8e8b09d..fc39628 100755
--- a/X11RDP-RH-Matic.sh
+++ b/X11RDP-RH-Matic.sh
@@ -47,7 +47,7 @@ TARGETS="xrdp x11rdp"
 META_DEPENDS="rpm-build rpmdevtools"
 FETCH_DEPENDS="ca-certificates git wget"
 EXTRA_SOURCE="xrdp.init xrdp.sysconfig xrdp.logrotate xrdp-pam-auth.patch buildx_patch.diff x11_file_list.patch sesman.ini.master.patch sesman.ini.devel.patch"
-XRDP_CONFIGURE_ARGS="--enable-fuse --enable-jpeg --disable-static"
+XRDP_CONFIGURE_ARGS="--enable-fuse --enable-jpeg --disable-static --enable-ipv6"

 # flags
 PARALLELMAKE=true   # increase make jobs
[20161012-17:47:57] [INFO ] starting xrdp with pid 2244
[20161012-17:47:57] [ERROR] xrdp_listen_main_loop: listen error, possible port already in use

metalefty added a commit to metalefty/xrdp that referenced this issue Oct 28, 2016
The system to run xrdp does not necessarily support IPv6 even though
it is compiled with IPv6.

Fixes neutrinolabs#432.
metalefty added a commit to metalefty/xrdp that referenced this issue Nov 4, 2016
The system to run xrdp does not necessarily support IPv6 even though
it is compiled with IPv6.

Fixes neutrinolabs#432.
metalefty added a commit to metalefty/xrdp that referenced this issue Nov 8, 2016
The system to run xrdp does not necessarily support IPv6 even though
it is compiled with IPv6.

Fixes neutrinolabs#432.
metalefty added a commit to metalefty/xrdp that referenced this issue Nov 9, 2016
The system to run xrdp does not necessarily support IPv6 even though
it is compiled with IPv6.

Fixes neutrinolabs#432.
metalefty added a commit to metalefty/xrdp that referenced this issue Nov 22, 2016
The system to run xrdp does not necessarily support IPv6 even though
it is compiled with IPv6.

Fixes neutrinolabs#432.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants