如何让 Ubuntu 24 使用 Gnome RDP 的特定 GPU

问题描述 投票:0回答:1

我有一个 Ubuntu 24 机器,带有板载 AMD GPU 和 Nvidia GPU,我将使用它们进行一些机器学习。

achilles@dev-ubuntu24:/var/log$ lspci | grep ' VGA ' | cut -d" " -f 1 | xargs -i lspci -v -s {}
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS780L [Radeon 3000] (prog-if 00 [VGA controller])
        Subsystem: ASUSTeK Computer Inc. RS780L [Radeon 3000]
        Flags: bus master, fast devsel, latency 0, IRQ 18, NUMA node 0
...
        Kernel driver in use: radeon
        Kernel modules: radeon, amdgpu

02:00.0 VGA compatible controller: NVIDIA Corporation TU106 [GeForce RTX 2070] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: Gigabyte Technology Co., Ltd TU106 [GeForce RTX 2070]
        Flags: bus master, fast devsel, latency 0, IRQ 37, NUMA node 0
...
        Kernel driver in use: nvidia
        Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

当我第一次在没有 NVIDIA 的情况下构建盒子时,我能够很好地使用 RDP 和 AMD。当我使用 NVIDIA 卡重建它后,当我使用 RDP 时,我可以进入登录屏幕,输入我的凭据,然后它会进入空白/灰色屏幕。它似乎正在使用 NVIDIA 驱动程序。 我看到下面的日志错误:

2024-07-08T17:48:09.286304-05:00 dev-ubuntu24 snapd-desktop-i[10341]: Detected new session c8 at /org/freedesktop/login1/session/c8
2024-07-08T17:48:09.295126-05:00 dev-ubuntu24 systemd[1]: Started session-c8.scope - Session c8 of User gdm.
2024-07-08T17:48:09.341241-05:00 dev-ubuntu24 /usr/libexec/gdm-wayland-session[10508]: dbus-daemon[10508]: [session uid=120 pid=10508] Activating service name='org.freedesktop.systemd1' requested by ':1.2' (uid=120 pid=10512 comm="/usr/libexec/gnome-session-binary --autostart /usr" label="unconfined")
2024-07-08T17:48:09.343029-05:00 dev-ubuntu24 /usr/libexec/gdm-wayland-session[10508]: dbus-daemon[10508]: [session uid=120 pid=10508] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
2024-07-08T17:48:09.343621-05:00 dev-ubuntu24 gnome-session[10512]: gnome-session-binary[10512]: WARNING: Could not check if unit [email protected] is active: Error calling StartServiceByName for org.freedesktop.systemd1: Process org.freedesktop.systemd1 exited with status 1
2024-07-08T17:48:09.343718-05:00 dev-ubuntu24 gnome-session-binary[10512]: WARNING: Could not check if unit [email protected] is active: Error calling StartServiceByName for org.freedesktop.systemd1: Process org.freedesktop.systemd1 exited with status 1
2024-07-08T17:48:09.428491-05:00 dev-ubuntu24 gnome-shell[10521]: Running GNOME Shell (using mutter 46.0) as a Wayland display server
2024-07-08T17:48:09.463950-05:00 dev-ubuntu24 gnome-shell[10521]: No seat assigned, running headlessly
2024-07-08T17:48:09.466952-05:00 dev-ubuntu24 rtkit-daemon[1444]: Supervising 14 threads of 8 processes of 2 users.
2024-07-08T17:48:09.467464-05:00 dev-ubuntu24 rtkit-daemon[1444]: Supervising 14 threads of 8 processes of 2 users.
2024-07-08T17:48:09.474594-05:00 dev-ubuntu24 gnome-shell[10521]: Failed to make thread 'KMS thread' realtime scheduled: Operation not permitted
2024-07-08T17:48:09.532914-05:00 dev-ubuntu24 gnome-shell[10521]: Added device '/dev/dri/card0' (radeon) using no mode setting.
2024-07-08T17:48:09.572344-05:00 dev-ubuntu24 gnome-shell[10521]: Added device '/dev/dri/card1' (nvidia-drm) using no mode setting.
2024-07-08T17:48:09.573921-05:00 dev-ubuntu24 gnome-shell[10521]: Created gbm renderer for '/dev/dri/card0'
2024-07-08T17:48:09.576397-05:00 dev-ubuntu24 gnome-shell[10521]: Created gbm renderer for '/dev/dri/card1'
2024-07-08T17:48:09.576640-05:00 dev-ubuntu24 gnome-shell[10521]: Boot VGA GPU /dev/dri/card0 selected as primary
2024-07-08T17:48:09.607382-05:00 dev-ubuntu24 /usr/libexec/gdm-wayland-session[10508]: dbus-daemon[10508]: [session uid=120 pid=10508] Activating service name='org.a11y.Bus' requested by ':1.4' (uid=120 pid=10521 comm="/usr/bin/gnome-shell" label="unconfined")
2024-07-08T17:48:09.620994-05:00 dev-ubuntu24 /usr/libexec/gdm-wayland-session[10508]: dbus-daemon[10508]: [session uid=120 pid=10508] Successfully activated service 'org.a11y.Bus'
2024-07-08T17:48:09.627781-05:00 dev-ubuntu24 gnome-shell[10521]: Using public X11 display :1024, (using :1025 for managed services)
2024-07-08T17:48:09.628034-05:00 dev-ubuntu24 gnome-shell[10521]: Using Wayland display name 'wayland-0'
2024-07-08T17:48:09.697948-05:00 dev-ubuntu24 /usr/libexec/gdm-wayland-session[10554]: dbus-daemon[10554]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=120 pid=10521 comm="/usr/bin/gnome-shell" label="unconfined")
2024-07-08T17:48:09.704872-05:00 dev-ubuntu24 /usr/libexec/gdm-wayland-session[10554]: dbus-daemon[10554]: Successfully activated service 'org.a11y.atspi.Registry'
2024-07-08T17:48:09.705247-05:00 dev-ubuntu24 /usr/libexec/gdm-wayland-session[10558]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
2024-07-08T17:48:10.111200-05:00 dev-ubuntu24 gnome-shell[10521]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.
2024-07-08T17:48:10.111415-05:00 dev-ubuntu24 gnome-shell[10521]: Will monitor session c5
2024-07-08T17:48:10.114476-05:00 dev-ubuntu24 dbus-daemon[844]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service' requested by ':1.305' (uid=120 pid=10521 comm="/usr/bin/gnome-shell" label="unconfined")
2024-07-08T17:48:10.135058-05:00 dev-ubuntu24 systemd[1]: Starting systemd-localed.service - Locale Service...
2024-07-08T17:48:10.164881-05:00 dev-ubuntu24 /usr/libexec/gdm-wayland-session[10508]: dbus-daemon[10508]: [session uid=120 pid=10508] Activating service name='org.gnome.Shell.Screencast' requested by ':1.3' (uid=120 pid=10521 comm="/usr/bin/gnome-shell" label="unconfined")
2024-07-08T17:48:10.196125-05:00 dev-ubuntu24 /usr/libexec/gdm-wayland-session[10508]: dbus-daemon[10508]: [session uid=120 pid=10508] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.3' (uid=120 pid=10521 comm="/usr/bin/gnome-shell" label="unconfined")
2024-07-08T17:48:10.202707-05:00 dev-ubuntu24 /usr/libexec/gdm-wayland-session[10508]: dbus-daemon[10508]: [session uid=120 pid=10508] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore'
2024-07-08T17:48:10.207391-05:00 dev-ubuntu24 dbus-daemon[844]: [system] Successfully activated service 'org.freedesktop.locale1'
2024-07-08T17:48:10.207774-05:00 dev-ubuntu24 systemd[1]: Started systemd-localed.service - Locale Service.
2024-07-08T17:48:10.269757-05:00 dev-ubuntu24 /usr/libexec/gdm-wayland-session[10508]: dbus-daemon[10508]: [session uid=120 pid=10508] Activating service name='org.gnome.Shell.Notifications' requested by ':1.3' (uid=120 pid=10521 comm="/usr/bin/gnome-shell" label="unconfined")
2024-07-08T17:48:10.272615-05:00 dev-ubuntu24 gnome-shell[10521]: Extension [email protected] already installed in /usr/share/gnome-shell/extensions/[email protected]. /usr/share/gnome-shell/extensions/[email protected] will not be loaded
2024-07-08T17:48:10.272767-05:00 dev-ubuntu24 gnome-shell[10521]: Extension [email protected] already installed in /usr/share/gnome-shell/extensions/[email protected]. /usr/share/gnome-shell/extensions/[email protected] will not be loaded
2024-07-08T17:48:10.272891-05:00 dev-ubuntu24 gnome-shell[10521]: Extension [email protected] already installed in /usr/share/gnome-shell/extensions/[email protected]. /usr/share/gnome-shell/extensions/[email protected] will not be loaded
2024-07-08T17:48:10.272964-05:00 dev-ubuntu24 gnome-shell[10521]: Extension [email protected] already installed in /usr/share/gnome-shell/extensions/[email protected]. /usr/share/gnome-shell/extensions/[email protected] will not be loaded
2024-07-08T17:48:10.276090-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10521]: Window manager warning: Failed to parse saved session file: Failed to open file “/var/lib/gdm3/.config/mutter/sessions/103d644b5dee13d9fb172047888936631400000105120000.ms”: No such file or directory
2024-07-08T17:48:10.348162-05:00 dev-ubuntu24 gnome-shell[10521]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation
2024-07-08T17:48:10.398609-05:00 dev-ubuntu24 dbus-daemon[844]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.312' (uid=120 pid=10624 comm="/usr/libexec/gsd-rfkill" label="unconfined")
2024-07-08T17:48:10.411154-05:00 dev-ubuntu24 systemd[1]: Starting systemd-hostnamed.service - Hostname Service...
2024-07-08T17:48:10.413087-05:00 dev-ubuntu24 /usr/libexec/gdm-wayland-session[10508]: dbus-daemon[10508]: [session uid=120 pid=10508] Successfully activated service 'org.gnome.Shell.Notifications'
2024-07-08T17:48:10.420430-05:00 dev-ubuntu24 /usr/libexec/gdm-wayland-session[10508]: dbus-daemon[10508]: [session uid=120 pid=10508] Activating service name='org.freedesktop.systemd1' requested by ':1.10' (uid=120 pid=10591 comm="/usr/libexec/gsd-sharing" label="unconfined")
2024-07-08T17:48:10.427245-05:00 dev-ubuntu24 /usr/libexec/gdm-wayland-session[10508]: dbus-daemon[10508]: [session uid=120 pid=10508] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
2024-07-08T17:48:10.471620-05:00 dev-ubuntu24 gsd-sharing[10591]: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
2024-07-08T17:48:10.471765-05:00 dev-ubuntu24 gsd-sharing[10591]: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1
2024-07-08T17:48:10.522614-05:00 dev-ubuntu24 /usr/libexec/gdm-wayland-session[10508]: dbus-daemon[10508]: [session uid=120 pid=10508] Successfully activated service 'org.gnome.Shell.Screencast'
2024-07-08T17:48:10.523060-05:00 dev-ubuntu24 dbus-daemon[844]: [system] Successfully activated service 'org.freedesktop.hostname1'
2024-07-08T17:48:10.523376-05:00 dev-ubuntu24 systemd[1]: Started systemd-hostnamed.service - Hostname Service.
2024-07-08T17:48:10.605609-05:00 dev-ubuntu24 dbus-daemon[844]: [system] Activating via systemd: service name='org.freedesktop.GeoClue2' unit='geoclue.service' requested by ':1.305' (uid=120 pid=10521 comm="/usr/bin/gnome-shell" label="unconfined")
2024-07-08T17:48:10.616351-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10774]: The XKEYBOARD keymap compiler (xkbcomp) reports:
... Lots of warning messages ...
2024-07-08T17:48:10.618078-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10774]: Errors from xkbcomp are not fatal to the X server
2024-07-08T17:48:10.619954-05:00 dev-ubuntu24 systemd[1]: Starting geoclue.service - Location Lookup Service...
2024-07-08T17:48:10.712522-05:00 dev-ubuntu24 spice-vdagent[10793]: vdagent virtio channel /dev/virtio-ports/com.redhat.spice.0 does not exist, exiting
2024-07-08T17:48:10.717611-05:00 dev-ubuntu24 gsd-media-keys[10648]: Unable to inhibit keypresses: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Permission denied
2024-07-08T17:48:10.720851-05:00 dev-ubuntu24 gnome-session-binary[10512]: Entering running state
2024-07-08T17:48:10.725224-05:00 dev-ubuntu24 xbrlapi.desktop[10805]: openConnection: connect: No such file or directory
2024-07-08T17:48:10.725347-05:00 dev-ubuntu24 xbrlapi.desktop[10805]: cannot connect to braille devices daemon brltty at :0
2024-07-08T17:48:10.727927-05:00 dev-ubuntu24 dbus-daemon[844]: [system] Successfully activated service 'org.freedesktop.GeoClue2'
2024-07-08T17:48:10.729788-05:00 dev-ubuntu24 systemd[1]: Started geoclue.service - Location Lookup Service.
2024-07-08T17:48:10.741294-05:00 dev-ubuntu24 /usr/libexec/gdm-wayland-session[10508]: dbus-daemon[10508]: [session uid=120 pid=10508] Activating service name='org.gnome.ScreenSaver' requested by ':1.24' (uid=120 pid=10692 comm="/usr/libexec/gsd-power" label="unconfined")
2024-07-08T17:48:10.745468-05:00 dev-ubuntu24 gsd-media-keys[10648]: Failed to grab accelerator for keybinding settings:hibernate
2024-07-08T17:48:10.745588-05:00 dev-ubuntu24 gsd-media-keys[10648]: Failed to grab accelerator for keybinding settings:playback-repeat
2024-07-08T17:48:10.812670-05:00 dev-ubuntu24 /usr/libexec/gdm-wayland-session[10508]: dbus-daemon[10508]: [session uid=120 pid=10508] Successfully activated service 'org.gnome.ScreenSaver'
2024-07-08T17:48:10.943756-05:00 dev-ubuntu24 gnome-remote-de[10724]: [RDP] Initialization of CUDA was successful
2024-07-08T17:48:10.943891-05:00 dev-ubuntu24 gnome-remote-de[10724]: RDP server started
2024-07-08T17:48:10.945766-05:00 dev-ubuntu24 gnome-remote-de[847]: [RDP] Sending server redirection
2024-07-08T17:48:10.945928-05:00 dev-ubuntu24 gnome-remote-desktop-daemon[847]: [17:48:10:371] [847:000028fb] [ERROR][com.freerdp.core.peer] - [rdp_set_error_info]: ERRINFO_LOGOFF_BY_USER [0x0001000C]
2024-07-08T17:48:10.946039-05:00 dev-ubuntu24 gnome-remote-de[847]: [RDP] Network or intentional disconnect, stopping session
2024-07-08T17:48:10.946107-05:00 dev-ubuntu24 gnome-remote-desktop-daemon[847]: [17:48:10:371] [847:0000034f] [ERROR][com.freerdp.core.transport] - [transport_default_write]: BIO_should_retry returned a system error 32: Broken pipe
2024-07-08T17:48:11.010670-05:00 dev-ubuntu24 org.gnome.RemoteDesktop.Handover.desktop[10724]: [17:48:11:436] [10724:00002a67] [ERROR][com.freerdp.core.tpkt] - [tpkt_ensure_stream_consumed_]: [rdp_read_info_packet] Received invalid TPKT header length 628, 214 bytes too long!
2024-07-08T17:48:11.125068-05:00 dev-ubuntu24 org.gnome.RemoteDesktop.Handover.desktop[10724]: [17:48:11:550] [10724:00002a67] [WARN][com.freerdp.core.peer] - [peer_unexpected_client_message]: Unexpected client message in state CONNECTION_STATE_FINALIZATION_FONT_LIST, missing flag FINALIZE_CS_FONT_LIST_PDU [0x00000100]
2024-07-08T17:48:11.141068-05:00 dev-ubuntu24 /usr/libexec/gdm-wayland-session[10508]: dbus-daemon[10508]: [session uid=120 pid=10508] Activating service name='ca.desrt.dconf' requested by ':1.3' (uid=120 pid=10521 comm="/usr/bin/gnome-shell" label="unconfined")
2024-07-08T17:48:11.152451-05:00 dev-ubuntu24 /usr/libexec/gdm-wayland-session[10508]: dbus-daemon[10508]: [session uid=120 pid=10508] Successfully activated service 'ca.desrt.dconf'
2024-07-08T17:48:11.174295-05:00 dev-ubuntu24 gnome-remote-de[10724]: [RDP.CLIPRDR] Client capabilities: long format names, stream file clip, file clip no file paths, can lock clip data, huge file support
2024-07-08T17:48:11.181521-05:00 dev-ubuntu24 gnome-shell[10521]: Couldn't retrieve the supported modifiers
2024-07-08T17:48:11.181631-05:00 dev-ubuntu24 gnome-shell[10521]: Couldn't retrieve the supported modifiers
2024-07-08T17:48:11.182717-05:00 dev-ubuntu24 gnome-remote-de[10724]: [RDP.AUDIO_PLAYBACK] Client Formats: [AAC: false, Opus: false, PCM: true]
2024-07-08T17:48:11.194699-05:00 dev-ubuntu24 gnome-shell[10521]: Added virtual monitor Meta-0
2024-07-08T17:48:11.247596-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: The XKEYBOARD keymap compiler (xkbcomp) reports:
2024-07-08T17:48:11.247678-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: > Warning:          Unsupported maximum keycode 708, clipping.
2024-07-08T17:48:11.247713-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: >                   X11 cannot support keycodes above 255.
2024-07-08T17:48:11.248491-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: > Warning:          Could not resolve keysym XF86CameraAccessEnable
2024-07-08T17:48:11.248520-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: > Warning:          Could not resolve keysym XF86CameraAccessDisable
2024-07-08T17:48:11.248571-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: > Warning:          Could not resolve keysym XF86CameraAccessToggle
2024-07-08T17:48:11.248621-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: > Warning:          Could not resolve keysym XF86NextElement
2024-07-08T17:48:11.248669-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: > Warning:          Could not resolve keysym XF86PreviousElement
2024-07-08T17:48:11.248695-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: > Warning:          Could not resolve keysym XF86AutopilotEngageToggle
2024-07-08T17:48:11.248722-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: > Warning:          Could not resolve keysym XF86MarkWaypoint
2024-07-08T17:48:11.248748-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: > Warning:          Could not resolve keysym XF86Sos
2024-07-08T17:48:11.248774-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: > Warning:          Could not resolve keysym XF86NavChart
2024-07-08T17:48:11.248831-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: > Warning:          Could not resolve keysym XF86FishingChart
2024-07-08T17:48:11.248858-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: > Warning:          Could not resolve keysym XF86SingleRangeRadar
2024-07-08T17:48:11.248884-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: > Warning:          Could not resolve keysym XF86DualRangeRadar
2024-07-08T17:48:11.248910-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: > Warning:          Could not resolve keysym XF86RadarOverlay
2024-07-08T17:48:11.248935-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: > Warning:          Could not resolve keysym XF86TraditionalSonar
2024-07-08T17:48:11.248960-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: > Warning:          Could not resolve keysym XF86ClearvuSonar
2024-07-08T17:48:11.248986-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: > Warning:          Could not resolve keysym XF86SidevuSonar
2024-07-08T17:48:11.249011-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: > Warning:          Could not resolve keysym XF86NavInfo
2024-07-08T17:48:11.249358-05:00 dev-ubuntu24 org.gnome.Shell.desktop[10874]: Errors from xkbcomp are not fatal to the X server
2024-07-08T17:48:11.338899-05:00 dev-ubuntu24 dbus-daemon[844]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service' requested by ':1.305' (uid=120 pid=10521 comm="/usr/bin/gnome-shell" label="unconfined")
2024-07-08T17:48:11.339166-05:00 dev-ubuntu24 gnome-remote-de[10724]: [RDP.RDPGFX] CapsAdvertise: Accepting capability set with version RDPGFX_CAPVERSION_106, Client cap flags: H264 (AVC444): true, H264 (AVC420): true
2024-07-08T17:48:11.352392-05:00 dev-ubuntu24 systemd[1]: Starting fprintd.service - Fingerprint Authentication Daemon...
2024-07-08T17:48:11.444068-05:00 dev-ubuntu24 dbus-daemon[844]: [system] Successfully activated service 'net.reactivated.Fprint'
2024-07-08T17:48:11.444690-05:00 dev-ubuntu24 systemd[1]: Started fprintd.service - Fingerprint Authentication Daemon.
2024-07-08T17:48:11.445569-05:00 dev-ubuntu24 gnome-shell[10521]: no authentication service is enabled, using password authentication
2024-07-08T17:48:11.472380-05:00 dev-ubuntu24 gnome-shell[10521]: Registering session with GDM
2024-07-08T17:48:26.913622-05:00 dev-ubuntu24 gnome-shell[10521]: no authentication service is enabled, using password authentication
2024-07-08T17:48:31.042665-05:00 dev-ubuntu24 snapd-desktop-i[10341]: Detected new session 22 at /org/freedesktop/login1/session/_322
2024-07-08T17:48:31.047209-05:00 dev-ubuntu24 systemd[1]: Started session-22.scope - Session 22 of User achilles.
2024-07-08T17:48:31.047485-05:00 dev-ubuntu24 snapd-desktop-i[10341]: The new session is of desktop type. Relaunching snapd-desktop-integration.
2024-07-08T17:48:31.047627-05:00 dev-ubuntu24 snapd-desktop-i[10341]: Loop exited. Forcing reload.
2024-07-08T17:48:31.060303-05:00 dev-ubuntu24 systemd[1985]: Started gnome-keyring-daemon.service - GNOME Keyring daemon.
2024-07-08T17:48:31.068744-05:00 dev-ubuntu24 gnome-keyring-daemon[10893]: GNOME_KEYRING_CONTROL=/run/user/1000/keyring
2024-07-08T17:48:31.197534-05:00 dev-ubuntu24 systemd[1985]: Started update-notifier-crash.path - Path trigger for Apport crash notifications.
2024-07-08T17:48:31.197704-05:00 dev-ubuntu24 systemd[1985]: Started update-notifier-release.path - Path trigger for new release of Ubuntu notifications.
2024-07-08T17:48:31.197790-05:00 dev-ubuntu24 systemd[1985]: Reached target gnome-session-wayland.target - GNOME Wayland Session.
2024-07-08T17:48:31.197867-05:00 dev-ubuntu24 systemd[1985]: Reached target org.gnome.Shell.target - GNOME Shell.
2024-07-08T17:48:31.197954-05:00 dev-ubuntu24 systemd[1985]: gnome-initial-setup-copy-worker.service - GNOME Initial Setup Copy Worker was skipped because of an unmet condition check (ConditionPathExists=!/home/achilles/.config/gnome-initial-setup-done).
2024-07-08T17:48:31.208030-05:00 dev-ubuntu24 systemd[1985]: Starting gnome-remote-desktop.service - GNOME Remote Desktop...
2024-07-08T17:48:31.209058-05:00 dev-ubuntu24 systemd[1985]: Starting gnome-session-monitor.service - Monitor Session leader for GNOME Session...
2024-07-08T17:48:31.210040-05:00 dev-ubuntu24 systemd[1985]: Starting session-migration.service - Session Migration...
2024-07-08T17:48:31.211663-05:00 dev-ubuntu24 systemd[1985]: Started ssh-agent.service - OpenSSH Agent.
2024-07-08T17:48:31.214957-05:00 dev-ubuntu24 systemd[1985]: Starting xdg-desktop-portal-rewrite-launchers.service - Rewrite dynamic launcher portal entries...
2024-07-08T17:48:31.219550-05:00 dev-ubuntu24 systemd[1985]: Finished session-migration.service - Session Migration.
2024-07-08T17:48:31.223932-05:00 dev-ubuntu24 systemd[1985]: Started gnome-session-monitor.service - Monitor Session leader for GNOME Session.
2024-07-08T17:48:31.227656-05:00 dev-ubuntu24 dbus-daemon[10216]: [session uid=1000 pid=10216] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.12' (uid=1000 pid=10948 comm="/usr/libexec/xdg-desktop-portal-rewrite-launchers" label="unconfined")
2024-07-08T17:48:31.229722-05:00 dev-ubuntu24 systemd[1985]: Starting gvfs-daemon.service - Virtual filesystem service...
2024-07-08T17:48:31.241989-05:00 dev-ubuntu24 dbus-daemon[10216]: [session uid=1000 pid=10216] Successfully activated service 'org.gtk.vfs.Daemon'
2024-07-08T17:48:31.242287-05:00 dev-ubuntu24 systemd[1985]: Started gvfs-daemon.service - Virtual filesystem service.
2024-07-08T17:48:31.246735-05:00 dev-ubuntu24 systemd[1985]: Finished xdg-desktop-portal-rewrite-launchers.service - Rewrite dynamic launcher portal entries.
2024-07-08T17:48:31.246939-05:00 dev-ubuntu24 systemd[1985]: Started gnome-remote-desktop.service - GNOME Remote Desktop.
2024-07-08T17:48:31.247188-05:00 dev-ubuntu24 systemd[1985]: Reached target graphical-session-pre.target - Session services which should run early before the graphical session is brought up.
2024-07-08T17:48:31.247268-05:00 dev-ubuntu24 systemd[1985]: Reached target gnome-session-pre.target - Tasks to be run before GNOME Session starts.
2024-07-08T17:48:31.254918-05:00 dev-ubuntu24 systemd[1985]: Starting [email protected] - GNOME Session Manager (session: ubuntu)...
2024-07-08T17:48:31.326358-05:00 dev-ubuntu24 gnome-keyring-d[10893]: The Secret Service was already initialized
2024-07-08T17:48:31.326755-05:00 dev-ubuntu24 gnome-keyring-secrets.desktop[10999]: discover_other_daemon: 1GNOME_KEYRING_CONTROL=/run/user/1000/keyring
2024-07-08T17:48:31.327278-05:00 dev-ubuntu24 gnome-keyring-d[10893]: The PKCS#11 component was already initialized
2024-07-08T17:48:31.327749-05:00 dev-ubuntu24 gnome-keyring-pkcs11.desktop[11000]: discover_other_daemon: 1GNOME_KEYRING_CONTROL=/run/user/1000/keyring
2024-07-08T17:48:31.331846-05:00 dev-ubuntu24 gnome-keyring-ssh.desktop[11003]: discover_other_daemon: 1GNOME_KEYRING_CONTROL=/run/user/1000/keyring
2024-07-08T17:48:31.331899-05:00 dev-ubuntu24 gnome-keyring-ssh.desktop[11003]: SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
2024-07-08T17:48:31.331956-05:00 dev-ubuntu24 systemd[1985]: app-gnome-gnome\x2dkeyring\x2dpkcs11-10992.scope: PID 10992 vanished before we could move it to target cgroup '/user.slice/user-1000.slice/[email protected]/app.slice/app-gnome-gnome\x2dkeyring\x2dpkcs11-10992.scope', skipping: No such process
2024-07-08T17:48:31.332045-05:00 dev-ubuntu24 systemd[1985]: app-gnome-gnome\x2dkeyring\x2dpkcs11-10992.scope: No PIDs left to attach to the scope's control group, refusing.
2024-07-08T17:48:31.332116-05:00 dev-ubuntu24 systemd[1985]: app-gnome-gnome\x2dkeyring\x2dpkcs11-10992.scope: Failed with result 'resources'.
2024-07-08T17:48:31.332186-05:00 dev-ubuntu24 systemd[1985]: Failed to start app-gnome-gnome\x2dkeyring\x2dpkcs11-10992.scope - Application launched by gnome-session-binary.
2024-07-08T17:48:31.332674-05:00 dev-ubuntu24 systemd[1985]: app-gnome-gnome\x2dkeyring\x2dsecrets-10989.scope: PID 10989 vanished before we could move it to target cgroup '/user.slice/user-1000.slice/[email protected]/app.slice/app-gnome-gnome\x2dkeyring\x2dsecrets-10989.scope', skipping: No such process
2024-07-08T17:48:31.332776-05:00 dev-ubuntu24 systemd[1985]: app-gnome-gnome\x2dkeyring\x2dsecrets-10989.scope: No PIDs left to attach to the scope's control group, refusing.
2024-07-08T17:48:31.332838-05:00 dev-ubuntu24 systemd[1985]: app-gnome-gnome\x2dkeyring\x2dsecrets-10989.scope: Failed with result 'resources'.
2024-07-08T17:48:31.332897-05:00 dev-ubuntu24 systemd[1985]: Failed to start app-gnome-gnome\x2dkeyring\x2dsecrets-10989.scope - Application launched by gnome-session-binary.
2024-07-08T17:48:31.333568-05:00 dev-ubuntu24 systemd[1985]: app-gnome-gnome\x2dkeyring\x2dssh-10995.scope: PID 10995 vanished before we could move it to target cgroup '/user.slice/user-1000.slice/[email protected]/app.slice/app-gnome-gnome\x2dkeyring\x2dssh-10995.scope', skipping: No such process
2024-07-08T17:48:31.333658-05:00 dev-ubuntu24 systemd[1985]: app-gnome-gnome\x2dkeyring\x2dssh-10995.scope: No PIDs left to attach to the scope's control group, refusing.
2024-07-08T17:48:31.333719-05:00 dev-ubuntu24 systemd[1985]: app-gnome-gnome\x2dkeyring\x2dssh-10995.scope: Failed with result 'resources'.
2024-07-08T17:48:31.333780-05:00 dev-ubuntu24 systemd[1985]: Failed to start app-gnome-gnome\x2dkeyring\x2dssh-10995.scope - Application launched by gnome-session-binary.
2024-07-08T17:48:31.334092-05:00 dev-ubuntu24 systemd[1985]: Started [email protected] - GNOME Session Manager (session: ubuntu).
2024-07-08T17:48:31.334308-05:00 dev-ubuntu24 systemd[1985]: Reached target gnome-session-manager.target - GNOME Session Manager is ready.
2024-07-08T17:48:31.339893-05:00 dev-ubuntu24 systemd[1985]: Starting [email protected] - GNOME Shell on Wayland...
2024-07-08T17:48:31.340009-05:00 dev-ubuntu24 systemd[1985]: [email protected] - GNOME Shell on X11 was skipped because of an unmet condition check (ConditionEnvironment=XDG_SESSION_TYPE=x11).
2024-07-08T17:48:31.343324-05:00 dev-ubuntu24 gnome-session[10974]: gnome-session-binary[10974]: GnomeDesktop-WARNING: Could not create transient scope for PID 11008: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Failed to set unit properties: No such process
2024-07-08T17:48:31.343418-05:00 dev-ubuntu24 gnome-session-binary[10974]: GnomeDesktop-WARNING: Could not create transient scope for PID 11008: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Failed to set unit properties: No such process
2024-07-08T17:48:31.343560-05:00 dev-ubuntu24 systemd[1985]: Started app-gnome-at\x2dspi\x2ddbus\x2dbus-11005.scope - Application launched by gnome-session-binary.
2024-07-08T17:48:31.399980-05:00 dev-ubuntu24 gnome-shell[11006]: Running GNOME Shell (using mutter 46.0) as a Wayland display server
2024-07-08T17:48:31.433913-05:00 dev-ubuntu24 gnome-shell[11006]: No seat assigned, running headlessly
2024-07-08T17:48:31.437935-05:00 dev-ubuntu24 rtkit-daemon[1444]: Supervising 14 threads of 8 processes of 2 users.
2024-07-08T17:48:31.438775-05:00 dev-ubuntu24 rtkit-daemon[1444]: Supervising 14 threads of 8 processes of 2 users.
2024-07-08T17:48:31.451805-05:00 dev-ubuntu24 gnome-shell[11006]: Failed to make thread 'KMS thread' realtime scheduled: Operation not permitted
2024-07-08T17:48:31.478002-05:00 dev-ubuntu24 gnome-shell[11006]: Created surfaceless renderer without GPU
2024-07-08T17:48:31.479171-05:00 dev-ubuntu24 gnome-shell[11006]: Obtained a high priority EGL context
2024-07-08T17:48:09.572580-05:00 dev-ubuntu24 kernel: message repeated 10 times: [ [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000200] Failed to grab modeset ownership]

我已经看到了“无法获取模式集”错误,但我无法真正修复该错误消息,而且我认为我不需要这样做。如何强制 gnome RDP 使用 AMD GPU 而不是 NVIDIA GPU?这似乎是一个更容易解决的问题。

ubuntu remote-desktop gnome rdp
1个回答
0
投票

想通了。 nvidia-driver-535 根本不起作用,X.Org X Server 驱动程序也不起作用。但 nvidia-driver-470 似乎可以工作。

© www.soinside.com 2019 - 2024. All rights reserved.