Na parte de acesso remoto via SSH com interface gráfica cheguei a conseguir acessar um programa complexo (ficou bem lento), mas não consegui acessar programas simples como o Chromium. Aparece esta mensagem de erro:
X11 connection rejected because of wrong authentication. [12285:12285:0501/174440.112437:ERROR:browser_main_loop.cc(1485)] Unable to open X display.
Alguém sabe o que pode ser?
admin@pop-os:~$ ssh -X thales@192.168.0.44
thales@192.168.0.44's password:
Welcome to Ubuntu 20.04 LTS (GNU/Linux 5.4.0-28-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
* Ubuntu 20.04 LTS is out, raising the bar on performance, security,
and optimisation for Intel, AMD, Nvidia, ARM64 and Z15 as well as
AWS, Azure and Google Cloud.
https://ubuntu.com/blog/ubuntu-20-04-lts-arrives
0 updates can be installed immediately.
0 of these updates are security updates.
Last login: Fri May 1 17:40:46 2020 from 192.168.0.20
thales@ubuntu:~$ chromium
X11 connection rejected because of wrong authentication.
[11852:11852:0501/174149.755931:ERROR:browser_main_loop.cc(1485)] Unable to open X display.
thales@ubuntu:~$ ginkgocadx
calling InitWX(argc, argv);
17:41:57: Debug: User config file: /home/thales/.GinkgoUser
17:41:57: Debug: Global config file: /usr/bin/ginkgocadx.ini
17:41:57: Debug: Machine config file: /usr/bin/GinkgoMachine.ini
I: Starting Ginkgo CADx 3.8.8 64 bits
17:42:02: Debug: pTopLevel:isMaximized=1
17:42:02: Debug: Set windows size:(0, 0)
(ginkgocadx:11999): Gtk-CRITICAL **: 17:42:09.638: gtk_window_realize: assertion '!_gtk_widget_get_realized (widget)' failed
17:42:09: Debug: ClientToScreen cannot work when toplevel window is not shown
17:42:09: Debug: ClientToScreen cannot work when toplevel window is not shown
17:42:09: Debug: pTopLevel:isMaximized=0
17:42:09: Debug: Set windows size:(800, 728)
I: HL7 sender started
^C
thales@ubuntu:~$ exit
logout
Connection to 192.168.0.44 closed.
admin@pop-os:~$ ssh -X thales@192.168.0.44
thales@192.168.0.44's password:
Welcome to Ubuntu 20.04 LTS (GNU/Linux 5.4.0-28-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
* Ubuntu 20.04 LTS is out, raising the bar on performance, security,
and optimisation for Intel, AMD, Nvidia, ARM64 and Z15 as well as
AWS, Azure and Google Cloud.
https://ubuntu.com/blog/ubuntu-20-04-lts-arrives
0 updates can be installed immediately.
0 of these updates are security updates.
Last login: Fri May 1 17:41:36 2020 from 192.168.0.20
thales@ubuntu:~$ chromium
X11 connection rejected because of wrong authentication.
[12285:12285:0501/174440.112437:ERROR:browser_main_loop.cc(1485)] Unable to open X display.