我最近从一家 VPS 公司获得了一台 Ubuntu 22 虚拟服务器,我通过本教程安装了它,以便更轻松地连接。请参考我安装Xrdp的文章,其他教程中也有同样的方法。请帮忙,我不知道该怎么办
我无法通过 Windows 10 的 xrdp 中的 root 用户登录。如果我尝试通过任何其他用户登录,我可以登录,但我无法通过 root 用户登录。
这是我的sesman.ini
配置文件:
;; See `man 5 sesman.ini` for details
[Globals]
ListenAddress=127.0.0.1
ListenPort=3350
EnableUserWindowManager=true
; Give in relative path to user's home directory
UserWindowManager=startwm.sh
; Give in full path or relative path to /etc/xrdp
DefaultWindowManager=startwm.sh
; Give in full path or relative path to /etc/xrdp
ReconnectScript=reconnectwm.sh
[Security]
AllowRootLogin=true
MaxLoginRetry=4
TerminalServerUsers=tsusers
TerminalServerAdmins=tsadmins
; When AlwaysGroupCheck=true access will be permitted
; if the group TerminalServerUsers is not defined.
AlwaysGroupCheck=false
; When RestrictOutboundClipboard=true clipboard from the
; server is not pushed to the client.
RestrictOutboundClipboard=false
[Sessions]
;; X11DisplayOffset - x11 display number offset
; Type: integer
; Default: 10
X11DisplayOffset=10
;; MaxSessions - maximum number of connections to an xrdp server
; Type: integer
; Default: 0
MaxSessions=50
;; KillDisconnected - kill disconnected sessions
; Type: boolean
; Default: false
; if 1, true, or yes, kill session after 60 seconds
KillDisconnected=false
;; DisconnectedTimeLimit - when to kill idle sessions
; Type: integer
; Default: 0
; if not zero, the seconds before a disconnected session is killed
; min 60 seconds
DisconnectedTimeLimit=0
;; IdleTimeLimit (specify in second) - wait before disconnect idle sessions
; Type: integer
; Default: 0
; Set to 0 to disable idle disconnection.
IdleTimeLimit=0
;; Policy - session allocation policy
; Type: enum [ "Default" | "UBD" | "UBI" | "UBC" | "UBDI" | "UBDC" ]
; Default: Xrdp:<User,BitPerPixel> and Xvnc:<User,BitPerPixel,DisplaySize>
; "UBD" session per <User,BitPerPixel,DisplaySize>
; "UBI" session per <User,BitPerPixel,IPAddr>
; "UBC" session per <User,BitPerPixel,Connection>
; "UBDI" session per <User,BitPerPixel,DisplaySize,IPAddr>
; "UBDC" session per <User,BitPerPixel,DisplaySize,Connection>
Policy=Default
[Logging]
LogFile=xrdp-sesman.log
LogLevel=DEBUG
EnableSyslog=1
SyslogLevel=DEBUG
;
; Session definitions - startup command-line parameters for each session type
;
[Xorg]
; Specify the path of non-suid Xorg executable. It might differ depending
; on your distribution and version. The typical path is shown as follows:
;
; Fedora 26 or later : param=/usr/libexec/Xorg
; Debian 9 or later : param=/usr/lib/xorg/Xorg
; Ubuntu 16.04 or later : param=/usr/lib/xorg/Xorg
; Arch Linux : param=/usr/lib/xorg-server/Xorg
; CentOS 7 : param=/usr/bin/Xorg or param=Xorg
;
param=/usr/lib/xorg/Xorg
; Leave the rest paramaters as-is unless you understand what will happen.
param=-config
param=xrdp/xorg.conf
param=-noreset
param=-nolisten
param=tcp
param=-logfile
param=.xorgxrdp.%s.log
[Xvnc]
param=Xvnc
param=-bs
param=-nolisten
param=tcp
param=-localhost
param=-dpi
param=96
[Chansrv]
; drive redirection, defaults to xrdp_client if not set
FuseMountName=thinclient_drives
; this value allows only the user to acess their own mapped drives.
; Make this more permissive (e.g. 022) if required.
FileUmask=077
[SessionVariables]
PULSE_SCRIPT=/etc/xrdp/pulse/default.pa
----------------------------------------------------------------**below is my xrdp.ini config file**--------------------------------------------------------------
[Globals]
; xrdp.ini file version number
ini_version=1
; fork a new process for each incoming connection
fork=true
; ports to listen on, number alone means listen on all interfaces
; 0.0.0.0 or :: if ipv6 is configured
; space between multiple occurrences
;
; Examples:
; port=3389
; port=unix://./tmp/xrdp.socket
; port=tcp://.:3389 127.0.0.1:3389
; port=tcp://:3389 *:3389
; port=tcp://<any ipv4 format addr>:3389 192.168.1.1:3389
; port=tcp6://.:3389 ::1:3389
; port=tcp6://:3389 *:3389
; port=tcp6://{<any ipv6 format addr>}:3389 {FC00:0:0:0:0:0:0:1}:3389
; port=vsock://<cid>:<port>
port=3389
; 'port' above should be connected to with vsock instead of tcp
; use this only with number alone in port above
; prefer use vsock://<cid>:<port> above
use_vsock=false
; regulate if the listening socket use socket option tcp_nodelay
; no buffering will be performed in the TCP stack
tcp_nodelay=true
; regulate if the listening socket use socket option keepalive
; if the network connection disappear without close messages the connection will be closed
tcp_keepalive=true
; set tcp send/recv buffer (for experts)
#tcp_send_buffer_bytes=32768
#tcp_recv_buffer_bytes=32768
; security layer can be 'tls', 'rdp' or 'negotiate'
; for client compatible layer
security_layer=negotiate
; minimum security level allowed for client for classic RDP encryption
; use tls_ciphers to configure TLS encryption
; can be 'none', 'low', 'medium', 'high', 'fips'
crypt_level=none
; X.509 certificate and private key
; openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem -days 365
; note this needs the user xrdp to be a member of the ssl-cert group, do with e.g.
;$ sudo adduser xrdp ssl-cert
certificate=
key_file=
; set SSL protocols
; can be comma separated list of 'SSLv3', 'TLSv1', 'TLSv1.1', 'TLSv1.2', 'TLSv1.3'
ssl_protocols=TLSv1.2, TLSv1.3
; set TLS cipher suites
#tls_ciphers=HIGH
; Section name to use for automatic login if the client sends username
; and password. If empty, the domain name sent by the client is used.
; If empty and no domain name is given, the first suitable section in
; this file will be used.
autorun=
allow_channels=true
allow_multimon=true
bitmap_cache=true
bitmap_compression=true
bulk_compression=true
#hidelogwindow=true
max_bpp=32
new_cursors=true
; fastpath - can be 'input', 'output', 'both', 'none'
use_fastpath=both
; when true, userid/password *must* be passed on cmd line
#require_credentials=true
; You can set the PAM error text in a gateway setup (MAX 256 chars)
#pamerrortxt=change your password according to policy at http://url
;
; colors used by windows in RGB format
;
blue=009cb5
grey=dedede
#black=000000
#dark_grey=808080
#blue=08246b
#dark_blue=08246b
#white=ffffff
#red=ff0000
#green=00ff00
#background=626c72
;
; configure login screen
;
; Login Screen Window Title
#ls_title=My Login Title
; top level window background color in RGB format
ls_top_window_bg_color=009cb5
; width and height of login screen
ls_width=350
ls_height=430
; login screen background color in RGB format
ls_bg_color=dedede
; optional background image filename (bmp format).
#ls_background_image=
; logo
; full path to bmp-file or file in shared folder
ls_logo_filename=
ls_logo_x_pos=55
ls_logo_y_pos=50
; for positioning labels such as username, password etc
ls_label_x_pos=30
ls_label_width=65
; for positioning text and combo boxes next to above labels
ls_input_x_pos=110
ls_input_width=210
; y pos for first label and combo box
ls_input_y_pos=220
; OK button
ls_btn_ok_x_pos=142
ls_btn_ok_y_pos=370
ls_btn_ok_width=85
ls_btn_ok_height=30
; Cancel button
ls_btn_cancel_x_pos=237
ls_btn_cancel_y_pos=370
ls_btn_cancel_width=85
ls_btn_cancel_height=30
[Logging]
LogFile=xrdp.log
LogLevel=DEBUG
EnableSyslog=true
SyslogLevel=DEBUG
; LogLevel and SysLogLevel could by any of: core, error, warning, info or debug
[Channels]
; Channel names not listed here will be blocked by XRDP.
; You can block any channel by setting its value to false.
; IMPORTANT! All channels are not supported in all use
; cases even if you set all values to true.
; You can override these settings on each session type
; These settings are only used if allow_channels=true
rdpdr=true
rdpsnd=true
drdynvc=true
cliprdr=true
rail=true
xrdpvr=true
tcutils=true
; for debugging xrdp, in section xrdp1, change port=-1 to this:
#port=/tmp/.xrdp/xrdp_display_10
; for debugging xrdp, add following line to section xrdp1
#chansrvport=/tmp/.xrdp/xrdp_chansrv_socket_7210
;
; Session types
;
; Some session types such as Xorg, X11rdp and Xvnc start a display server.
; Startup command-line parameters for the display server are configured
; in sesman.ini. See and configure also sesman.ini.
[Xorg]
name=Xorg
lib=libxup.so
username=ask
password=ask
ip=127.0.0.1
port=-1
code=20
[Xvnc]
name=Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=-1
#xserverbpp=24
#delay_ms=2000
[vnc-any]
name=vnc-any
lib=libvnc.so
ip=ask
port=ask5900
username=na
password=ask
#pamusername=asksame
#pampassword=asksame
#pamsessionmng=127.0.0.1
#delay_ms=2000
[neutrinordp-any]
name=neutrinordp-any
lib=libxrdpneutrinordp.so
ip=ask
port=ask3389
username=ask
password=ask
; You can override the common channel settings for each session type
#channel.rdpdr=true
#channel.rdpsnd=true
#channel.drdynvc=true
#channel.cliprdr=true
#channel.rail=true
#channel.xrdpvr=true
如果配置中有任何问题,请告诉我。
我正在尝试使用 Windows 10 远程桌面连接连接到我的 Ubuntu VPS(8 核 CPU,24gb 内存)。我按照这里的说明进行操作:
https://linuxize.com/post/how-to-install-xrdp-on-ubuntu-18-04/
几乎不可能做任何事情。它太慢了,几乎需要 15 秒才能发生一些事情,比如在控制台中输入或打开浏览器。我在这里经历了许多类似问题的线程,但没有任何成功。
我也尝试了最新的 Ubuntu 版本,但没有成功。
我的 Linux 知识非常有限,因此希望能得到一些帮助。
知道接下来我可以尝试什么吗?
我想知道如何在 Windows Hyper-V 中为 Ubuntu 20.04 设置 xRDP?Ubuntu 18.04 的教程似乎不起作用。我正在使用我下载的 ISO。
这些是我使用的教程。他们基本上都在说同样的话......
我试图从 Windows 设置对我的 Ubuntu 机器的远程访问并遵循这里的建议:https ://www.tweaking4all.com/software/linux-software/use-xrdp-remote-access-ubuntu-14-04/
但是,在我应该编辑 startwm.sh 并包含 xfce 文本的步骤中,我错误地替换了文件的全部内容。我不确定这是否是原因,但我不再能够打开许多应用程序。然而,我设法打开了一个终端实例,我需要原始 startwm.sh 的内容,以便我可以替换并希望恢复系统。有人能指出我在哪里可以找到吗?
sh 文件位置:/etc/xrdp/startwm.sh
sh文件内容:
#!/bin/sh
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG LANGUAGE
fi
startxfce4
我对 Ubuntu 很陌生,我今天刚刚安装了 Ubuntu 20.04 LTS 并尝试设置 XRDP,以便我可以从 Windows 远程进入我的 Ubuntu 机器,我执行了以下步骤:
sudo apt install xrdp
然后我尝试了所有这些,但一次只尝试了一个
sudo apt-get install kde-full
sudo apt-get install kde-desktop
sudo apt-get install kde-standard
sudo apt-get install kde-plasma-desktop
echo "startkde" > ~/.xsession
sudo systemctl restart xrdp
当我尝试连接时,我从 xrdp 获得登录屏幕,然后选择 xorg 并输入我的用户名和密码。但随后 RDP 会话立即结束
有人可以帮我设置 XRDP 并找出可能是什么问题吗?我受不了 gnome 桌面。我想要 KDE 和 XRDP。
谢谢
我在 Ubuntu 20.04 Desktop 上使用了 netplan,并使用了一个 yaml 文件,就像这个网站上的文件一样:
https://webby.land/2018/04/27/bridging-under-ubuntu-18-04/
但是,我的主机现在没有ip?我该如何解决这个问题?我仍然可以 ping 出并接收连接,但我不能使用 xrdp,因为我不知道使用什么 IP 来连接。
在 Ubuntu 16.04.6 LTS Xenial 机器上,我像这样设置 xRDP:
sudo apt-get update
sudo apt-get install -y xrdp mate-core mate-desktop-environment mate-notification-daemon
sudo sed -i.bak '/fi/a #xrdp 多用户配置\n mate-session \n' /etc/xrdp/startwm.sh
sudo ufw 允许 3389
sudo shutdown -r now从 MS-Win10 连接看起来可以按预期工作:
- 输入登录名和密码信息后,我得到这个屏幕:
- 几秒钟后,我断开了连接。
文件.xsession-errors如下所示:
Xlib: extension "GLX" missing on display ":0".
Xlib: extension "GLX" missing on display ":0".
openConnection: connect: No such file or directory
cannot connect to brltty at :0
upstart: upstart-event-bridge pre-start process (42575) terminated with status 1
upstart: gnome-session (Unity) main process (42704) terminated with status 1
upstart: unity-settings-daemon main process (42696) killed by TERM signal
upstart: Disconnected from notified D-Bus bus
upstart: logrotate main process (42549) killed by TERM signal
upstart: update-notifier-release main process (42601) killed by TERM signal
upstart: bamfdaemon main process (42698) killed by TERM signal
upstart: unity7 pre-start process (42699) terminated with status 143
upstart: indicator-messages main process (42773) killed by TERM signal
upstart: indicator-bluetooth main process (42774) killed by TERM signal
upstart: indicator-power main process (42775) killed by TERM signal
upstart: indicator-datetime main process (42776) killed by TERM signal
upstart: indicator-keyboard main process (42779) killed by TERM signal
upstart: indicator-session main process (42784) killed by TERM signal
upstart: indicator-sound main process (42782) killed by TERM signal
Xsession: X session started for at mardi 10 mars 2020, 10:16:44 (UTC+0100)
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 109 (X_ChangeHosts)
Value in failed request: 0x5
Serial number of failed request: 6
Current serial number in output stream: 8
localuser:bob being added to access control list
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 109 (X_ChangeHosts)
Value in failed request: 0x5
Serial number of failed request: 6
Current serial number in output stream: 8
openConnection: connect: No such file or directory
cannot connect to brltty at :0
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256
gnome-session-binary[1937]: WARNING: software acceleration check failed: Child process exited with code 1
gnome-session-binary[1937]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Xsession: X session started for at mardi 10 mars 2020, 10:17:02 (UTC+0100)
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 109 (X_ChangeHosts)
Value in failed request: 0x5
Serial number of failed request: 6
Current serial number in output stream: 8
localuser:bob being added to access control list
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 109 (X_ChangeHosts)
Value in failed request: 0x5
Serial number of failed request: 6
Current serial number in output stream: 8
openConnection: connect: No such file or directory
cannot connect to brltty at :0
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256
gnome-session-is-accelerated: No composite extension.
gnome-session-check-accelerated: Helper exited with code 256
gnome-session-binary[2057]: WARNING: software acceleration check failed: Child process exited with code 1
gnome-session-binary[2057]: CRITICAL: We failed, but the fail whale is dead. Sorry....
请问我该如何解决这个问题?
我希望有人能帮我解决这个问题。我在这里遵循本教程:https ://linuxize.com/post/how-to-install-xrdp-on-ubuntu-18-04/
当我安装 VirtualBox 后重新启动时,我不再能够登录到 xfce。一旦我填写了我的用户并通过,它将进入黑屏,然后启动会话。
我有一个 .xorgxrdp 日志,如下所示:
[ 6781.396]
X.Org X Server 1.19.6
Release Date: 2017-12-20
[ 6781.396] X Protocol Version 11, Revision 0
[ 6781.396] Build Operating System: Linux 4.4.0-148-generic x86_64 Ubuntu
[ 6781.396] Current Operating System: Linux ubuntu 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019 x86_64
[ 6781.396] Kernel command line: BOOT_IMAGE=/vmlinuz-4.15.0-66-generic root=UUID=dafa7756-435e-418d-9fcd-34a73706a321 ro nomodeset quiet splash vt.handoff=1
[ 6781.396] Build Date: 03 June 2019 08:10:35AM
[ 6781.396] xorg-server 2:1.19.6-1ubuntu4.3 (For technical support please see http://www.ubuntu.com/support)
[ 6781.396] Current version of pixman: 0.34.0
[ 6781.396] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 6781.396] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 6781.396] (++) Log file: ".xorgxrdp.17.log", Time: Mon Nov 11 21:30:39 2019
[ 6781.396] (++) Using config file: "/etc/X11/xrdp/xorg.conf"
[ 6781.396] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 6781.396] (==) ServerLayout "X11 Server"
[ 6781.396] (**) |-->Screen "Screen (xrdpdev)" (0)
[ 6781.396] (**) | |-->Monitor "Monitor"
[ 6781.397] (**) | |-->Device "Video Card (xrdpdev)"
[ 6781.397] (**) |-->Input Device "xrdpMouse"
[ 6781.397] (**) |-->Input Device "xrdpKeyboard"
[ 6781.397] (**) Option "DontVTSwitch" "on"
[ 6781.397] (**) Option "AutoAddDevices" "off"
[ 6781.397] (**) Not automatically adding devices
[ 6781.397] (==) Automatically enabling devices
[ 6781.397] (==) Automatically adding GPU devices
[ 6781.397] (==) Automatically binding GPU devices
[ 6781.397] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 6781.397] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 6781.397] Entry deleted from font path.
[ 6781.397] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 6781.397] Entry deleted from font path.
[ 6781.397] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 6781.397] Entry deleted from font path.
[ 6781.397] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 6781.397] Entry deleted from font path.
[ 6781.397] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/cyrillic,
/usr/share/fonts/X11/Type1,
built-ins
[ 6781.397] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 6781.397] (II) Loader magic: 0x563ee0cb9020
[ 6781.397] (II) Module ABI versions:
[ 6781.397] X.Org ANSI C Emulation: 0.4
[ 6781.397] X.Org Video Driver: 23.0
[ 6781.397] X.Org XInput driver : 24.1
[ 6781.397] X.Org Server Extension : 10.0
[ 6781.401] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c13
[ 6781.411] (--) PCI:*(0:5:4:0) 1a03:2000:1170:0047 rev 16, Mem @ 0xfb000000/8388608, 0xfafe0000/131072, I/O @ 0x0000ec00/128, BIOS @ 0x????????/131072
[ 6781.411] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 6781.411] (II) LoadModule: "dbe"
[ 6781.411] (II) Module "dbe" already built-in
[ 6781.411] (II) LoadModule: "ddc"
[ 6781.411] (II) Module "ddc" already built-in
[ 6781.411] (II) LoadModule: "extmod"
[ 6781.411] (II) Module "extmod" already built-in
[ 6781.411] (II) LoadModule: "glx"
[ 6781.411] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 6781.412] (II) Module glx: vendor="X.Org Foundation"
[ 6781.412] compiled for 1.19.6, module version = 1.0.0
[ 6781.412] ABI class: X.Org Server Extension, version 10.0
[ 6781.412] (II) LoadModule: "int10"
[ 6781.412] (II) Loading /usr/lib/xorg/modules/libint10.so
[ 6781.413] (II) Module int10: vendor="X.Org Foundation"
[ 6781.413] compiled for 1.19.6, module version = 1.0.0
[ 6781.413] ABI class: X.Org Video Driver, version 23.0
[ 6781.413] (II) LoadModule: "record"
[ 6781.413] (II) Module "record" already built-in
[ 6781.413] (II) LoadModule: "vbe"
[ 6781.413] (II) Loading /usr/lib/xorg/modules/libvbe.so
[ 6781.413] (II) Module vbe: vendor="X.Org Foundation"
[ 6781.413] compiled for 1.19.6, module version = 1.1.0
[ 6781.413] ABI class: X.Org Video Driver, version 23.0
[ 6781.413] (II) LoadModule: "xorgxrdp"
[ 6781.413] (II) Loading /usr/lib/xorg/modules/libxorgxrdp.so
[ 6781.413] (II) Module XORGXRDP: vendor="X.Org Foundation"
[ 6781.413] compiled for 1.19.6, module version = 1.0.0
[ 6781.413] ABI class: X.Org Video Driver, version 23.0
[ 6781.413] xorgxrdpSetup:
[ 6781.413] (II) LoadModule: "fb"
[ 6781.413] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 6781.413] (II) Module fb: vendor="X.Org Foundation"
[ 6781.413] compiled for 1.19.6, module version = 1.0.0
[ 6781.413] ABI class: X.Org ANSI C Emulation, version 0.4
[ 6781.413] (II) LoadModule: "xrdpdev"
[ 6781.413] (II) Loading /usr/lib/xorg/modules/drivers/xrdpdev_drv.so
[ 6781.414] (II) Module XRDPDEV: vendor="X.Org Foundation"
[ 6781.414] compiled for 1.19.6, module version = 1.0.0
[ 6781.414] ABI class: X.Org Video Driver, version 23.0
[ 6781.414] xrdpdevSetup:
[ 6781.414] (II) LoadModule: "xrdpmouse"
[ 6781.414] (II) Loading /usr/lib/xorg/modules/input/xrdpmouse_drv.so
[ 6781.414] (II) Module XRDPMOUSE: vendor="X.Org Foundation"
[ 6781.414] compiled for 1.19.6, module version = 1.0.0
[ 6781.414] Module class: X.Org XInput Driver
[ 6781.414] ABI class: X.Org XInput driver, version 24.1
[ 6781.414] rdpmousePlug:
[ 6781.414] (II) LoadModule: "xrdpkeyb"
[ 6781.414] (II) Loading /usr/lib/xorg/modules/input/xrdpkeyb_drv.so
[ 6781.414] (II) Module XRDPKEYB: vendor="X.Org Foundation"
[ 6781.414] compiled for 1.19.6, module version = 1.0.0
[ 6781.414] Module class: X.Org XInput Driver
[ 6781.414] ABI class: X.Org XInput driver, version 24.1
[ 6781.414] rdpkeybPlug:
[ 6781.414] rdpIdentify:
[ 6781.414] (II) XRDPDEV: driver for xrdp: XRDPDEV
[ 6781.414] rdpDriverFunc: op 10
[ 6781.414] (WW) Falling back to old probe method for XRDPDEV
[ 6781.414] rdpProbe:
[ 6781.414] (II) Loading sub module "fb"
[ 6781.414] (II) LoadModule: "fb"
[ 6781.414] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 6781.414] (II) Module fb: vendor="X.Org Foundation"
[ 6781.414] compiled for 1.19.6, module version = 1.0.0
[ 6781.414] ABI class: X.Org ANSI C Emulation, version 0.4
[ 6781.414] (II) XRDPDEV(0): using default device
[ 6781.414] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 6781.414] rdpPreInit:
[ 6781.414] (**) XRDPDEV(0): Depth 24, (--) framebuffer bpp 32
[ 6781.414] (==) XRDPDEV(0): RGB weight 888
[ 6781.414] (==) XRDPDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[ 6781.414] (==) XRDPDEV(0): Default visual is TrueColor
[ 6781.414] (==) XRDPDEV(0): DPI set to (96, 96)
[ 6781.414] (II) XRDPDEV(0): mode "640x480" ok
[ 6781.414] (II) XRDPDEV(0): mode "800x600" ok
[ 6781.414] (--) XRDPDEV(0): Virtual size is 800x600 (pitch 800)
[ 6781.414] (**) XRDPDEV(0): Default mode "800x600": 36.0 MHz (scaled from 0.0 MHz), 35.2 kHz, 56.2 Hz
[ 6781.414] (II) XRDPDEV(0): Modeline "800x600"x0.0 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
[ 6781.414] (==) Depth 24 pixmap format is 32 bpp
[ 6781.414] rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24
[ 6781.414] rdpScreenInit: pfbMemory bytes 1920000
[ 6781.414] rdpScreenInit: pfbMemory 0x7f0fc5e23010
[ 6781.414] rdpSimdInit: assigning yuv functions
[ 6781.414] rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000206c2 bx 0x02200800 cx 0x029ee3ff dx 0xbfebfbff
[ 6781.415] rdpSimdInit: sse2 amd64 yuv functions assigned
[ 6781.415] rdpXvInit: depth 24
[ 6781.415] (==) XRDPDEV(0): Backing store enabled
[ 6781.415] rdpClientConInit: kill disconnected [0] timeout [0] sec
[ 6781.415]
[ 6781.415] rdpScreenInit: out
[ 6781.415] (==) RandR enabled
[ 6781.418] (II) SELinux: Disabled on system
[ 6781.418] (II) AIGLX: Screen 0 is not DRI2 capable
[ 6781.418] (EE) AIGLX: reverting to software rendering
[ 6781.467] (II) IGLX: enabled GLX_MESA_copy_sub_buffer
[ 6781.468] (II) IGLX: Loaded and initialized swrast
[ 6781.468] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 6781.502] (II) Using input driver 'XRDPMOUSE' for 'xrdpMouse'
[ 6781.502] (**) Option "CorePointer"
[ 6781.502] (**) xrdpMouse: always reports core events
[ 6781.502] rdpmousePreInit: drv 0x563ee1f05e70 info 0x563ee2208e10, flags 0x0
[ 6781.502] (II) XINPUT: Adding extended input device "xrdpMouse" (type: Mouse, id 6)
[ 6781.502] rdpmouseControl: what 0
[ 6781.502] rdpmouseDeviceInit:
[ 6781.502] rdpmouseCtrl:
[ 6781.502] rdpRegisterInputCallback: type 1 proc 0x7f0fc61fcc60
[ 6781.503] (**) xrdpMouse: (accel) keeping acceleration scheme 1
[ 6781.503] (**) xrdpMouse: (accel) acceleration profile 0
[ 6781.503] (**) xrdpMouse: (accel) acceleration factor: 2.000
[ 6781.503] (**) xrdpMouse: (accel) acceleration threshold: 4
[ 6781.503] rdpmouseControl: what 1
[ 6781.503] rdpmouseDeviceOn:
[ 6781.503] (II) Using input driver 'XRDPKEYB' for 'xrdpKeyboard'
[ 6781.503] (**) Option "CoreKeyboard"
[ 6781.503] (**) xrdpKeyboard: always reports core events
[ 6781.503] rdpkeybPreInit: drv 0x563ee1f05de0 info 0x563ee220b9b0, flags 0x0
[ 6781.503] (II) XINPUT: Adding extended input device "xrdpKeyboard" (type: Keyboard, id 7)
[ 6781.503] rdpkeybControl: what 0
[ 6781.503] rdpkeybDeviceInit:
[ 6781.525] rdpkeybChangeKeyboardControl:
[ 6781.525] rdpkeybChangeKeyboardControl: autoRepeat on
[ 6781.525] rdpRegisterInputCallback: type 0 proc 0x7f0fc5ff9530
[ 6781.525] rdpkeybControl: what 1
[ 6781.525] rdpkeybDeviceOn:
[ 6781.536] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[ 6781.536] (II) AutoAddDevices is off - not adding device.
[ 6781.537] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[ 6781.537] (II) AutoAddDevices is off - not adding device.
[ 6781.538] (II) config/udev: Adding input device American Megatrends Inc. Virtual Keyboard and Mouse (/dev/input/event2)
[ 6781.538] (II) AutoAddDevices is off - not adding device.
[ 6781.538] (II) config/udev: Adding input device American Megatrends Inc. Virtual Keyboard and Mouse (/dev/input/event3)
[ 6781.538] (II) AutoAddDevices is off - not adding device.
[ 6781.539] (II) config/udev: Adding input device American Megatrends Inc. Virtual Keyboard and Mouse (/dev/input/js0)
[ 6781.539] (II) AutoAddDevices is off - not adding device.
[ 6781.540] (II) config/udev: Adding input device American Megatrends Inc. Virtual Keyboard and Mouse (/dev/input/mouse0)
[ 6781.540] (II) AutoAddDevices is off - not adding device.
[ 6781.547] rdpSaveScreen:
[ 6781.547] rdpDeferredRandR:
[ 6781.547] rdpResizeSession: width 1024 height 768
[ 6781.547] calling RRScreenSizeSet
[ 6781.547] rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203
[ 6781.547] rdpRRGetInfo:
[ 6781.547] screen resized to 1024x768
[ 6781.548] RRScreenSizeSet ok 1
[ 6781.548] rdpResizeSession: width 1920 height 1080
[ 6781.548] calling RRScreenSizeSet
[ 6781.548] rdpRRScreenSetSize: width 1920 height 1080 mmWidth 508 mmHeight 286
[ 6781.549] rdpRRGetInfo:
[ 6781.549] screen resized to 1920x1080
[ 6781.553] RRScreenSizeSet ok 1
[ 6781.553] rdpClientConGotConnection:
[ 6781.553] rdpClientConGotConnection: g_sck_accept ok new_sck 7
[ 6781.553] rdpClientConGotConnection: adding only clientCon
[ 6781.553] rdpClientConProcessMsgVersion: version 0 0 0 1
[ 6781.553] rdpClientConProcessScreenSizeMsg: set width 1920 height 1080 bpp 32
[ 6781.553] rdpClientConProcessScreenSizeMsg: shmemid 262151 shmemptr 0x7f0f96014000
[ 6781.553] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1920 cy 1080
[ 6781.553] KbdSync: toggling num lock
[ 6781.553] rdpkeybChangeKeyboardControl:
[ 6781.553] rdpkeybChangeKeyboardControl: autoRepeat on
[ 6781.653] rdpInDeferredUpdateCallback:
[ 6781.653] rdpkeybChangeKeyboardControl:
[ 6781.653] rdpkeybChangeKeyboardControl: autoRepeat off
[ 6798.004] rdpClientConProcessMsgClientInfo:
[ 6798.004] got client info bytes 5744
[ 6798.004] jpeg support 0
[ 6798.004] offscreen support 1
[ 6798.004] offscreen size 10485760
[ 6798.004] offscreen entries 100
[ 6798.004] client can not do offscreen to offscreen blits
[ 6798.004] client can do new(color) cursor
[ 6798.004] client can not do multimon
[ 6798.004] rdpRRSetRdpOutputs: numCrtcs 0 monitorCount 0
[ 6798.004] rdpRRSetRdpOutputs: add output 0 left 0 top 0 width 1920 height 1080
[ 6798.004] rdpLoadLayout: keylayout 0x00000409 variant display 17
[ 6798.005] rdpkeybChangeKeyboardControl:
[ 6798.005] rdpkeybChangeKeyboardControl: autoRepeat on
[ 6798.005] rdpkeybChangeKeyboardControl:
[ 6798.005] rdpkeybChangeKeyboardControl: autoRepeat on
[ 6798.105] rdpInDeferredUpdateCallback:
[ 6798.105] rdpkeybChangeKeyboardControl:
[ 6798.105] rdpkeybChangeKeyboardControl: autoRepeat off
[ 6798.105] rdpkeybChangeKeyboardControl:
[ 6798.105] rdpkeybChangeKeyboardControl: autoRepeat off
[ 7116.314] KbdSync: toggling num lock
[ 7116.314] rdpkeybChangeKeyboardControl:
[ 7116.314] rdpkeybChangeKeyboardControl: autoRepeat on
[ 7116.314] rdpkeybChangeKeyboardControl:
[ 7116.314] rdpkeybChangeKeyboardControl: autoRepeat off
[ 7116.414] rdpInDeferredUpdateCallback:
[ 7116.414] rdpkeybChangeKeyboardControl:
[ 7116.414] rdpkeybChangeKeyboardControl: autoRepeat off
[ 7116.414] rdpkeybChangeKeyboardControl:
[ 7116.414] rdpkeybChangeKeyboardControl: autoRepeat off
[ 7118.731] rdpClientConRecv: g_sck_recv failed(returned 0)
[ 7118.731] rdpClientConDisconnect:
[ 7118.731] rdpClientConDisconnect: clientCon removed from dev list
[ 7118.731] rdpClientConRecvMsg: error
[ 7118.731] rdpClientConCheck: rdpClientConGotData failed
我通过 XRPD 设置了远程连接到我的 ubuntu 服务器。我将端口设置为 5912。但是我组中的用户可以使用他的帐户连接到同一个端口并观看我在做什么。那太可怕了。有什么办法可以避免这个问题。我尝试读取 .xrdp.ini 中的配置文件,但一无所获。