LinuxRudy5.8.0-59-通用#66~20.04.1-Ubuntu清华6月17日11:14:10 UTC 2021 x86_64 GNU/Linux
据我所知: lsb_release -a
LSB版本: core-11.1.0ubuntu2-noarch:printing-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch分发服务器ID::Ubuntu20.04.2LTS发行版: 20.04代码:焦点
嗨社区,
只是想知道是否有一个完整的xrdp手册,而不是man /xrdp.ini/sesman等等?XRDP服务正在监听tcp6,我不知道是谁让它这么做的。侦听端口是0.0.0.0上的默认3389
tcp6 0 0 ::1:3350 :::* LISTEN 60627/xrdp-sesman
tcp6 0 0 :::3389 :::* LISTEN 60638/xrdp
另一方面,它正在收听0.0.0.0: 3389。这些是有联系的吗?netstat侦听IPv6 6:3389还是xrdp状态侦听0.0.0.0 3389?
systemctl status xrdp
● xrdp.service - xrdp daemon
Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2021-06-30 21:30:44 EDT; 14h ago
Docs: man:xrdp(8)
man:xrdp.ini(5)
Main PID: 60638 (xrdp)
Tasks: 1 (limit: 6920)
Memory: 1.6M
CGroup: /system.slice/xrdp.service
└─60638 /usr/sbin/xrdp
Jun 30 21:30:43 rudy xrdp[60637]: (60637)(139653515220800)[INFO ] address [0.0.0.0] port [3389] mode 1
Jun 30 21:30:43 rudy xrdp[60637]: (60637)(139653515220800)[INFO ] listening to port 3389 on 0.0.0.0
Jun 30 21:30:43 rudy xrdp[60637]: (60637)(139653515220800)[INFO ] xrdp_listen_pp done
Jun 30 21:30:43 rudy xrdp[60637]: (60637)(139653515220800)[DEBUG] Closed socket 7 (AF_INET6 :: port 3389)
Jun 30 21:30:43 rudy systemd[1]: xrdp.service: Can't open PID file /run/xrdp/xrdp.pid (yet?) after start: Operation not permitted
Jun 30 21:30:44 rudy systemd[1]: Started xrdp daemon.
Jun 30 21:30:45 rudy xrdp[60638]: (60638)(139653515220800)[INFO ] starting xrdp with pid 60638
Jun 30 21:30:45 rudy xrdp[60638]: (60638)(139653515220800)[INFO ] address [0.0.0.0] port [3389] mode 1
Jun 30 21:30:45 rudy xrdp[60638]: (60638)(139653515220800)[INFO ] listening to port 3389 on 0.0.0.0
Jun 30 21:30:45 rudy xrdp[60638]: (60638)(139653515220800)[INFO ] xrdp_listen_pp done
下面的xrdp选项可以更改哪些conf文件,语法是什么?xrdp -v
xrdp 0.9.12
A Remote Desktop Protocol Server.
Copyright (C) 2004-2018 Jay Sorg, Neutrino Labs, and all contributors.
See https://github.com/neutrinolabs/xrdp for more information.
Configure options:
--enable-ipv6
--enable-jpeg
--enable-fuse
--enable-rfxcodec
--enable-opus
--enable-painter
--enable-vsock
--build=x86_64-linux-gnu
--prefix=/usr
--includedir=${prefix}/include
--mandir=${prefix}/share/man
--infodir=${prefix}/share/info
--sysconfdir=/etc
--localstatedir=/var
--disable-silent-rules
--libdir=${prefix}/lib/x86_64-linux-gnu
--libexecdir=${prefix}/lib/x86_64-linux-gnu
--disable-maintainer-mode
--disable-dependency-tracking
--with-socketdir=/run/xrdp/sockdir
build_alias=x86_64-linux-gnu
CFLAGS=-g -O2 -fdebug-prefix-map=/build/xrdp-GJgww4/xrdp-0.9.12=. -fstack-protector-strong -Wformat -Werror=format-security
LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -Wl,--as-needed
CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2
PKG_CONFIG_PATH=/build/xrdp-GJgww4/xrdp-0.9.12/pkgconfig
Compiled with OpenSSL 1.1.1f 31 Mar 2020
在系统范围内启用了IPv6:
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
发布于 2022-03-27 11:08:46
只需使用带有-c
选项的安装程序脚本即可。以非根用户的身份执行这些步骤-
wget https://www.c-nergy.be/downloads/xRDP/xrdp-installer-1.3.zip
unzip xrdp-installer-1.3.zip
chmod +x xrdp-installer-1.3.sh
./xrdp-installer-1.3.sh -c
这将在默认情况下禁用ipv6进行编译。
有关详细信息和更多选项,请查看此https://c-nergy.be/blog/?p=17175或https://www.c-nergy.be/products.html的最新版本。
https://askubuntu.com/questions/1349366
复制相似问题