Total download size: 29 k
Installed size: 48 k
Is this ok [y/d/N]: yes
Downloading packages:
xorg-x11-xauth-1.0.9-1.el7.x86_64.rpm | 29 kB 00:00:03
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : 1:xorg-x11-xauth-1.0.9-1.el7.x86_64 1/1
Verifying : 1:xorg-x11-xauth-1.0.9-1.el7.x86_64 1/1
Installed:
xorg-x11-xauth.x86_64 1:1.0.9-1.el7
Complete!
[root@host01 ~]#
之后,再去登录,就不再报 :X11 forwarding request failed on channel 0
[root@dns ~]# ssh -XY root@host01.example.com root@host01.example.com's password:
Permission denied, please try again. root@host01.example.com's password:
Last failed login: Sat Jun 29 11:29:44 CST 2024 from 192.168.133.254 on ssh:notty
There was 1 failed login attempt since the last successful login.
Last login: Sat Jun 29 11:25:36 2024 from 192.168.133.254
/usr/bin/xauth: file /root/.Xauthority does not exist
[root@host01 ~]# nm-connection-editor 图形就可以出来
Gtk-Message: 11:30:05.459: Failed to load module "pk-gtk-module"
Gtk-Message: 11:30:05.459: Failed to load module "canberra-gtk-module"
Gtk-Message: 11:30:05.466: Failed to load module "pk-gtk-module"
Gtk-Message: 11:30:05.466: Failed to load module "canberra-gtk-module"