Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot log in to Xpra via a Web browser after xpra and xpra-html5 upgrade #4158

Closed
mykeebot opened this issue Mar 5, 2024 · 10 comments
Closed
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@mykeebot
Copy link

mykeebot commented Mar 5, 2024

Describe the bug
After upgrading xpra and xpra-html5, it's not possible to log in via a Web browser.

System Information (please complete the following information):

  • Server OS: Rocky Linux iqlr8vm 4.18.0-477.27.1.el8_8.x86_64 #1 SMP Wed Sep 20 15:55:39 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
  • Client OS: Windows 10 Home - 22H2
  • Xpra Version: Added to the scenario below

Additional context

1.) I have a Rocky Linux 8.9 VM (server) where Xpra is up and running correctly...

[root@iqlr8vm comsearch]# ps -ef | grep xpra
root        3878       1 38 10:42 ?        00:00:03 /usr/bin/xpra proxy :14500 --daemon=no --tcp-auth=sys --ssl-cert=/etc/xpra/ssl-cert.pem --ssl=on --bind=none --auth=peercred --socket-permissions=666 --log-dir=/var/log --pidfile=/run/xpra/proxy/server.pid --debug=
root        3959    3819  0 10:42 pts/0    00:00:00 grep --color=auto xpra
[root@iqlr8vm comsearch]# systemctl status xpra.service
● xpra.service - Xpra System Server
   Loaded: loaded (/usr/lib/systemd/system/xpra.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2024-03-05 10:42:27 CET; 1min 4s ago
     Docs: https://github.com/Xpra-org/xpra/blob/master/docs/Usage/Service.md
           man:xpra
 Main PID: 3878 (/usr/bin/xpra p)
    Tasks: 6 (limit: 18697)
   Memory: 50.0M
   CGroup: /system.slice/xpra.service
           ├─3878 /usr/bin/xpra proxy :14500 --daemon=no --tcp-auth=sys --ssl-cert=/etc/xpra/ssl-cert.pem --ssl=on --bind=none --auth=peercred --socket-permissions=666 --log-dir=/var/log --pidfile=/run/xpra/pro>
           └─3936 /usr/bin/dbus-daemon --syslog-only --fork --print-pid 4 --print-address 6 --session

Mar 05 10:42:28 iqlr8vm xpra[3878]: 2024-03-05 10:42:28,456 serving html content from '/usr/share/xpra/www'
Mar 05 10:42:28 iqlr8vm xpra[3878]: 2024-03-05 10:42:28,460 wrote pid 3878 to '/run/xpra/proxy/server.pid'
Mar 05 10:42:28 iqlr8vm xpra[3878]: 2024-03-05 10:42:28,536 xpra is ready.
Mar 05 10:42:28 iqlr8vm xpra[3878]: 2024-03-05 10:42:28,548 xpra proxy server version 5.0.2-r0
Mar 05 10:42:28 iqlr8vm xpra[3878]: 2024-03-05 10:42:28,548  uid=0 (root), gid=0 (root)
Mar 05 10:42:28 iqlr8vm xpra[3878]: 2024-03-05 10:42:28,548  running with pid 3878 on Linux Rocky Linux 8.8 Green Obsidian
Mar 05 10:42:28 iqlr8vm xpra[3878]: 2024-03-05 10:42:28,549 watching for applications menu changes in:
Mar 05 10:42:28 iqlr8vm xpra[3878]: 2024-03-05 10:42:28,549  '/usr/local/share/applications'
Mar 05 10:42:28 iqlr8vm xpra[3878]: 2024-03-05 10:42:28,549  '/usr/share/applications'
Mar 05 10:42:31 iqlr8vm xpra[3878]: 2024-03-05 10:42:31,382 loaded 42 start menu entries from 7 sub-menus in 2.8 seconds
[root@iqlr8vm comsearch]# systemctl status xpra.socket
● xpra.socket - Xpra Socket
   Loaded: loaded (/usr/lib/systemd/system/xpra.socket; enabled; vendor preset: disabled)
   Active: active (listening) since Tue 2024-03-05 10:23:49 CET; 26min ago
   Listen: [::]:14500 (Stream)
           /run/xpra/system (Stream)
    Tasks: 0 (limit: 18697)
   Memory: 4.0K
   CGroup: /system.slice/xpra.socket

Mar 05 10:23:49 iqlr8vm systemd[1]: Starting Xpra Socket.
Mar 05 10:23:49 iqlr8vm systemd[1]: Listening on Xpra Socket.

...with the following version...

[root@iqlr8vm comsearch]# rpm -q xpra xpra-html5
xpra-5.0.2-10.r0.el8.x86_64
xpra-html5-9.0-1.r1481.el8.noarch

2.) I can reach Xpra from a Web browser on my notebook and I can log in as expected...

ScreenShot_16529

ScreenShot_16530

3.) Because of some improvements and bug fixes, I have to update xpra and xpra-html5 on my server
4.) I have added the stable repo as...

[xpra]
name=Xpra $releasever - $basearch
enabled=1
metadata_expire=1d
gpgcheck=1
gpgkey=https://xpra.org/gpg.asc
baseurl=https://xpra.org/dists/rockylinux/$releasever/$basearch/

...so the repolist looks as follows....

[root@iqlr8vm yum.repos.d]# dnf -v repolist
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, kpatch, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
DNF version: 4.7.0
cachedir: /var/cache/dnf
Extra Packages for Enterprise Linux 8 - x86_64                                                                                                                                     2.0 MB/s |  16 MB     00:08    
Last metadata expiration check: 0:00:14 ago on Tue 05 Mar 2024 11:10:14 AM CET.
Repo-id            : appstream_dvd
Repo-name          : Rocky Linux v8.8 - AppStream DVD
Repo-revision      : 8.8
Repo-distro-tags      : [cpe:/o:rocky:rocky:8]:  ,  , 8, L, R, c, i, k, n, o, u, x, y
Repo-updated       : Thu 18 May 2023 01:32:04 AM CEST
Repo-pkgs          : 6,879
Repo-available-pkgs: 5,509
Repo-size          : 9.4 G
Repo-baseurl       : file:///var/repo/rocky8/AppStream
Repo-expire        : 172,800 second(s) (last: Tue 05 Mar 2024 11:01:43 AM CET)
Repo-filename      : /etc/yum.repos.d/Rocky-AppStream_DVD.repo

Repo-id            : baseos_dvd
Repo-name          : Rocky Linux v8.8 - BaseOS - DVD
Repo-revision      : 8.8
Repo-distro-tags      : [cpe:/o:rocky:rocky:8]:  ,  , 8, L, R, c, i, k, n, o, u, x, y
Repo-updated       : Thu 18 May 2023 01:28:52 AM CEST
Repo-pkgs          : 1,734
Repo-available-pkgs: 1,732
Repo-size          : 1.4 G
Repo-baseurl       : file:///var/repo/rocky8/BaseOS
Repo-expire        : 172,800 second(s) (last: Tue 05 Mar 2024 11:01:43 AM CET)
Repo-filename      : /etc/yum.repos.d/Rocky-BaseOS_DVD.repo

Repo-id            : epel
Repo-name          : Extra Packages for Enterprise Linux 8 - x86_64
Repo-revision      : 1709605411
Repo-updated       : Tue 05 Mar 2024 03:26:08 AM CET
Repo-pkgs          : 10,042
Repo-available-pkgs: 10,040
Repo-size          : 18 G
Repo-metalink      : https://mirrors.fedoraproject.org/metalink?repo=epel-8&arch=x86_64&infra=$infra&content=pub/rocky
  Updated          : Tue 05 Mar 2024 11:10:14 AM CET
Repo-baseurl       : rsync://ftp.fi.muni.cz/pub/linux/fedora/epel/8/Everything/x86_64/ (166 more)
Repo-expire        : 172,800 second(s) (last: Tue 05 Mar 2024 11:10:14 AM CET)
Repo-filename      : /etc/yum.repos.d/epel.repo

Repo-id            : xpra
Repo-name          : Xpra 8 - x86_64
Repo-revision      : 1709197201
Repo-updated       : Thu 29 Feb 2024 10:00:01 AM CET
Repo-pkgs          : 219
Repo-available-pkgs: 216
Repo-size          : 239 M
Repo-baseurl       : https://xpra.org/dists/rockylinux/8/x86_64/
Repo-expire        : 86,400 second(s) (last: Tue 05 Mar 2024 11:09:53 AM CET)
Repo-filename      : /etc/yum.repos.d/Xpra.repo
Total packages: 18,874

5.) I upgrade first xpra...

[root@iqlr8vm yum.repos.d]# dnf upgrade xpra --refresh
Rocky Linux v8.8 - AppStream DVD                                                                                                                                                   4.2 MB/s | 4.3 kB     00:00    
Rocky Linux v8.8 - BaseOS - DVD                                                                                                                                                    3.8 MB/s | 3.9 kB     00:00    
Xpra 8 - x86_64                                                                                                                                                                    902  B/s | 1.5 kB     00:01    
Extra Packages for Enterprise Linux 8 - x86_64                                                                                                                                      69 kB/s |  26 kB     00:00    
Dependencies resolved.
===================================================================================================================================================================================================================
 Package                                                   Architecture                                  Version                                                 Repository                                   Size
===================================================================================================================================================================================================================
Upgrading:
 xpra                                                      x86_64                                        5.0.7-10.r0.el8                                         xpra                                         90 k
 xpra-audio                                                x86_64                                        5.0.7-10.r0.el8                                         xpra                                        154 k
 xpra-client                                               x86_64                                        5.0.7-10.r0.el8                                         xpra                                        181 k
 xpra-client-gtk3                                          x86_64                                        5.0.7-10.r0.el8                                         xpra                                        716 k
 xpra-codecs                                               x86_64                                        5.0.7-10.r0.el8                                         xpra                                        569 k
 xpra-codecs-nvidia                                        x86_64                                        5.0.7-10.r0.el8                                         xpra                                        598 k
 xpra-common                                               x86_64                                        5.0.7-10.r0.el8                                         xpra                                        7.2 M
 xpra-server                                               x86_64                                        5.0.7-10.r0.el8                                         xpra                                        927 k

Transaction Summary
===================================================================================================================================================================================================================
Upgrade  8 Packages

Total download size: 10 M
Is this ok [y/N]: y
Downloading Packages:
(1/8): xpra-5.0.7-10.r0.el8.x86_64.rpm                                                                                                                                              56 kB/s |  90 kB     00:01    
(2/8): xpra-audio-5.0.7-10.r0.el8.x86_64.rpm                                                                                                                                        90 kB/s | 154 kB     00:01    
(3/8): xpra-client-5.0.7-10.r0.el8.x86_64.rpm                                                                                                                                      105 kB/s | 181 kB     00:01    
(4/8): xpra-client-gtk3-5.0.7-10.r0.el8.x86_64.rpm                                                                                                                                 2.0 MB/s | 716 kB     00:00    
(5/8): xpra-codecs-5.0.7-10.r0.el8.x86_64.rpm                                                                                                                                      1.4 MB/s | 569 kB     00:00    
(6/8): xpra-codecs-nvidia-5.0.7-10.r0.el8.x86_64.rpm                                                                                                                               597 kB/s | 598 kB     00:01    
(7/8): xpra-server-5.0.7-10.r0.el8.x86_64.rpm                                                                                                                                      1.1 MB/s | 927 kB     00:00    
(8/8): xpra-common-5.0.7-10.r0.el8.x86_64.rpm                                                                                                                                      3.3 MB/s | 7.2 MB     00:02    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                              2.5 MB/s |  10 MB     00:04     
Xpra 8 - x86_64                                                                                                                                                                    718  B/s | 1.6 kB     00:02    
Importing GPG key 0x17978FAF:
 Userid     : "Xpra <xpra@xpra.org>"
 Fingerprint: B499 3B57 3231 48E3 7977 E5D8 7325 4CAD 1797 8FAF
 From       : https://xpra.org/gpg.asc
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                           1/1 
  Upgrading        : xpra-common-5.0.7-10.r0.el8.x86_64                                                                                                                                                       1/16 
  Upgrading        : xpra-codecs-nvidia-5.0.7-10.r0.el8.x86_64                                                                                                                                                2/16 
  Upgrading        : xpra-codecs-5.0.7-10.r0.el8.x86_64                                                                                                                                                       3/16 
  Upgrading        : xpra-client-5.0.7-10.r0.el8.x86_64                                                                                                                                                       4/16 
  Running scriptlet: xpra-client-5.0.7-10.r0.el8.x86_64                                                                                                                                                       4/16 
  Upgrading        : xpra-audio-5.0.7-10.r0.el8.x86_64                                                                                                                                                        5/16 
  Upgrading        : xpra-client-gtk3-5.0.7-10.r0.el8.x86_64                                                                                                                                                  6/16 
  Running scriptlet: xpra-client-gtk3-5.0.7-10.r0.el8.x86_64                                                                                                                                                  6/16 
  Upgrading        : xpra-server-5.0.7-10.r0.el8.x86_64                                                                                                                                                       7/16 
  Running scriptlet: xpra-server-5.0.7-10.r0.el8.x86_64                                                                                                                                                       7/16 
  Upgrading        : xpra-5.0.7-10.r0.el8.x86_64                                                                                                                                                              8/16 
  Cleanup          : xpra-5.0.2-10.r0.el8.x86_64                                                                                                                                                              9/16 
  Running scriptlet: xpra-server-5.0.2-10.r0.el8.x86_64                                                                                                                                                      10/16 
  Cleanup          : xpra-server-5.0.2-10.r0.el8.x86_64                                                                                                                                                      10/16 
  Running scriptlet: xpra-server-5.0.2-10.r0.el8.x86_64                                                                                                                                                      10/16 
  Cleanup          : xpra-client-gtk3-5.0.2-10.r0.el8.x86_64                                                                                                                                                 11/16 
  Running scriptlet: xpra-client-gtk3-5.0.2-10.r0.el8.x86_64                                                                                                                                                 11/16 
  Cleanup          : xpra-codecs-5.0.2-10.r0.el8.x86_64                                                                                                                                                      12/16 
  Cleanup          : xpra-client-5.0.2-10.r0.el8.x86_64                                                                                                                                                      13/16 
  Running scriptlet: xpra-client-5.0.2-10.r0.el8.x86_64                                                                                                                                                      13/16 
  Cleanup          : xpra-audio-5.0.2-10.r0.el8.x86_64                                                                                                                                                       14/16 
  Cleanup          : xpra-common-5.0.2-10.r0.el8.x86_64                                                                                                                                                      15/16 
  Cleanup          : xpra-codecs-nvidia-5.0.2-10.r0.el8.x86_64                                                                                                                                               16/16 
  Running scriptlet: xpra-common-5.0.7-10.r0.el8.x86_64                                                                                                                                                      16/16 
  Running scriptlet: xpra-codecs-nvidia-5.0.2-10.r0.el8.x86_64                                                                                                                                               16/16 
  Verifying        : xpra-5.0.7-10.r0.el8.x86_64                                                                                                                                                              1/16 
  Verifying        : xpra-5.0.2-10.r0.el8.x86_64                                                                                                                                                              2/16 
  Verifying        : xpra-audio-5.0.7-10.r0.el8.x86_64                                                                                                                                                        3/16 
  Verifying        : xpra-audio-5.0.2-10.r0.el8.x86_64                                                                                                                                                        4/16 
  Verifying        : xpra-client-5.0.7-10.r0.el8.x86_64                                                                                                                                                       5/16 
  Verifying        : xpra-client-5.0.2-10.r0.el8.x86_64                                                                                                                                                       6/16 
  Verifying        : xpra-client-gtk3-5.0.7-10.r0.el8.x86_64                                                                                                                                                  7/16 
  Verifying        : xpra-client-gtk3-5.0.2-10.r0.el8.x86_64                                                                                                                                                  8/16 
  Verifying        : xpra-codecs-5.0.7-10.r0.el8.x86_64                                                                                                                                                       9/16 
  Verifying        : xpra-codecs-5.0.2-10.r0.el8.x86_64                                                                                                                                                      10/16 
  Verifying        : xpra-codecs-nvidia-5.0.7-10.r0.el8.x86_64                                                                                                                                               11/16 
  Verifying        : xpra-codecs-nvidia-5.0.2-10.r0.el8.x86_64                                                                                                                                               12/16 
  Verifying        : xpra-common-5.0.7-10.r0.el8.x86_64                                                                                                                                                      13/16 
  Verifying        : xpra-common-5.0.2-10.r0.el8.x86_64                                                                                                                                                      14/16 
  Verifying        : xpra-server-5.0.7-10.r0.el8.x86_64                                                                                                                                                      15/16 
  Verifying        : xpra-server-5.0.2-10.r0.el8.x86_64                                                                                                                                                      16/16 

Upgraded:
  xpra-5.0.7-10.r0.el8.x86_64                   xpra-audio-5.0.7-10.r0.el8.x86_64      xpra-client-5.0.7-10.r0.el8.x86_64     xpra-client-gtk3-5.0.7-10.r0.el8.x86_64     xpra-codecs-5.0.7-10.r0.el8.x86_64    
  xpra-codecs-nvidia-5.0.7-10.r0.el8.x86_64     xpra-common-5.0.7-10.r0.el8.x86_64     xpra-server-5.0.7-10.r0.el8.x86_64    

Complete!

...then I upgraded xpra-html5...

[root@iqlr8vm yum.repos.d]# dnf upgrade xpra-html5 --refresh
Rocky Linux v8.8 - AppStream DVD                                                                                                                                                   4.2 MB/s | 4.3 kB     00:00    
Rocky Linux v8.8 - BaseOS - DVD                                                                                                                                                    3.8 MB/s | 3.9 kB     00:00    
Xpra 8 - x86_64                                                                                                                                                                    753  B/s | 1.5 kB     00:02    
Extra Packages for Enterprise Linux 8 - x86_64                                                                                                                                      36 kB/s |  26 kB     00:00    
Dependencies resolved.
===================================================================================================================================================================================================================
 Package                                             Architecture                                    Version                                                   Repository                                     Size
===================================================================================================================================================================================================================
Upgrading:
 xpra-html5                                          noarch                                          11.2-1.r6.el8                                             xpra                                          1.4 M

Transaction Summary
===================================================================================================================================================================================================================
Upgrade  1 Package

Total download size: 1.4 M
Is this ok [y/N]: y
Downloading Packages:
xpra-html5-11.2-1.r6.el8.noarch.rpm                                                                                                                                                551 kB/s | 1.4 MB     00:02    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                              550 kB/s | 1.4 MB     00:02     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                           1/1 
  Upgrading        : xpra-html5-11.2-1.r6.el8.noarch                                                                                                                                                           1/2 
  Cleanup          : xpra-html5-9.0-1.r1481.el8.noarch                                                                                                                                                         2/2 
  Verifying        : xpra-html5-11.2-1.r6.el8.noarch                                                                                                                                                           1/2 
  Verifying        : xpra-html5-9.0-1.r1481.el8.noarch                                                                                                                                                         2/2 

Upgraded:
  xpra-html5-11.2-1.r6.el8.noarch                                                                                                                                                                                  

Complete!

6.) I rebooted the server
7.) Then I checked the Xpra processes....

[root@iqlr8vm comsearch]# ps -ef | grep xpra
root        3715       1 79 11:33 ?        00:00:01 /usr/bin/xpra proxy :14500 --daemon=no --tcp-auth=sys --ssl-cert=/etc/xpra/ssl-cert.pem --ssl=on --bind=none --auth=peercred --socket-permissions=666 --log-dir=/var/log --pidfile=/run/xpra/proxy/server.pid --debug=
root        3785    3673  0 11:33 pts/0    00:00:00 grep --color=auto xpra
[root@iqlr8vm comsearch]# systemctl status xpra.service
● xpra.service - Xpra System Server
   Loaded: loaded (/usr/lib/systemd/system/xpra.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2024-03-05 11:33:24 CET; 9s ago
     Docs: https://github.com/Xpra-org/xpra/blob/master/docs/Usage/Service.md
           man:xpra
 Main PID: 3715 (/usr/bin/xpra p)
    Tasks: 6 (limit: 18697)
   Memory: 50.3M
   CGroup: /system.slice/xpra.service
           ├─3715 /usr/bin/xpra proxy :14500 --daemon=no --tcp-auth=sys --ssl-cert=/etc/xpra/ssl-cert.pem --ssl=on --bind=none --auth=peercred --socket-permissions=666 --log-dir=/var/log --pidfile=/run/xpra/pro>
           └─3773 /usr/bin/dbus-daemon --syslog-only --fork --print-pid 4 --print-address 6 --session

Mar 05 11:33:25 iqlr8vm xpra[3715]: 2024-03-05 11:33:25,862 serving html content from '/usr/share/xpra/www'
Mar 05 11:33:25 iqlr8vm xpra[3715]: 2024-03-05 11:33:25,866 wrote pid 3715 to '/run/xpra/proxy/server.pid'
Mar 05 11:33:25 iqlr8vm xpra[3715]: 2024-03-05 11:33:25,930 xpra is ready.
Mar 05 11:33:25 iqlr8vm xpra[3715]: 2024-03-05 11:33:25,941 xpra proxy server version 5.0.7-r0
Mar 05 11:33:25 iqlr8vm xpra[3715]: 2024-03-05 11:33:25,942  uid=0 (root), gid=0 (root)
Mar 05 11:33:25 iqlr8vm xpra[3715]: 2024-03-05 11:33:25,942  running with pid 3715 on Linux Rocky Linux 8.8 Green Obsidian
Mar 05 11:33:25 iqlr8vm xpra[3715]: 2024-03-05 11:33:25,943 watching for applications menu changes in:
Mar 05 11:33:25 iqlr8vm xpra[3715]: 2024-03-05 11:33:25,943  '/usr/local/share/applications'
Mar 05 11:33:25 iqlr8vm xpra[3715]: 2024-03-05 11:33:25,944  '/usr/share/applications'
Mar 05 11:33:27 iqlr8vm xpra[3715]: 2024-03-05 11:33:27,817 loaded 56 start menu entries from 7 sub-menus in 1.8 seconds
[root@iqlr8vm comsearch]# systemctl status xpra.socket
● xpra.socket - Xpra Socket
   Loaded: loaded (/usr/lib/systemd/system/xpra.socket; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2024-03-05 11:20:08 CET; 13min ago
   Listen: [::]:14500 (Stream)
           /run/xpra/system (Stream)
    Tasks: 0 (limit: 18697)
   Memory: 4.0K
   CGroup: /system.slice/xpra.socket

Mar 05 11:20:08 iqlr8vm systemd[1]: Starting Xpra Socket.
Mar 05 11:20:08 iqlr8vm systemd[1]: Listening on Xpra Socket.

...and the versions...

[root@iqlr8vm comsearch]# rpm -q xpra xpra-html5
xpra-5.0.7-10.r0.el8.x86_64
xpra-html5-11.2-1.r6.el8.noarch

8.) I can reach Xpra via the Web browser correctly...

ScreenShot_16531

9.) When I try to log in with the typical user name and password combination, I get this...

ScreenShot_16532

10.) If I enter the root password, then it drops me back to the default login page...

ScreenShot_16533

11.) I can find the following details in the /var/log/messages file....

Mar  5 11:32:41 iqlr8vm systemd[2733]: Starting GNOME Terminal Server...
Mar  5 11:32:42 iqlr8vm dbus-daemon[2790]: [session uid=1000 pid=2790] Successfully activated service 'org.gnome.Terminal'
Mar  5 11:32:42 iqlr8vm systemd[2733]: Started GNOME Terminal Server.
Mar  5 11:32:42 iqlr8vm org.gnome.Terminal.desktop[3606]: # watch_fast: "/org/gnome/terminal/legacy/" (establishing: 0, active: 0)
Mar  5 11:32:42 iqlr8vm org.gnome.Terminal.desktop[3606]: # unwatch_fast: "/org/gnome/terminal/legacy/" (active: 0, establishing: 1)
Mar  5 11:32:42 iqlr8vm org.gnome.Terminal.desktop[3606]: # watch_established: "/org/gnome/terminal/legacy/" (establishing: 0)
Mar  5 11:33:09 iqlr8vm dbus-daemon[1007]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service' requested by ':1.425' (uid=0 pid=3662 comm="su " label="unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023")
Mar  5 11:33:09 iqlr8vm systemd[1]: Starting Fingerprint Authentication Daemon...
Mar  5 11:33:09 iqlr8vm dbus-daemon[1007]: [system] Successfully activated service 'net.reactivated.Fprint'
Mar  5 11:33:09 iqlr8vm systemd[1]: Started Fingerprint Authentication Daemon.
Mar  5 11:33:11 iqlr8vm su[3662]: (to root) comsearch on pts/0
Mar  5 11:33:24 iqlr8vm systemd[1]: Started Xpra System Server.
Mar  5 11:33:25 iqlr8vm xpra[3715]: 2024-03-05 11:33:25,862 serving html content from '/usr/share/xpra/www'
Mar  5 11:33:25 iqlr8vm xpra[3715]: 2024-03-05 11:33:25,866 wrote pid 3715 to '/run/xpra/proxy/server.pid'
Mar  5 11:33:25 iqlr8vm xpra[3715]: 2024-03-05 11:33:25,930 xpra is ready.
Mar  5 11:33:25 iqlr8vm xpra[3715]: 2024-03-05 11:33:25,941 xpra proxy server version 5.0.7-r0
Mar  5 11:33:25 iqlr8vm xpra[3715]: 2024-03-05 11:33:25,942  uid=0 (root), gid=0 (root)
Mar  5 11:33:25 iqlr8vm xpra[3715]: 2024-03-05 11:33:25,942  running with pid 3715 on Linux Rocky Linux 8.8 Green Obsidian
Mar  5 11:33:25 iqlr8vm xpra[3715]: 2024-03-05 11:33:25,943 watching for applications menu changes in:
Mar  5 11:33:25 iqlr8vm xpra[3715]: 2024-03-05 11:33:25,943  '/usr/local/share/applications'
Mar  5 11:33:25 iqlr8vm xpra[3715]: 2024-03-05 11:33:25,944  '/usr/share/applications'
Mar  5 11:33:27 iqlr8vm xpra[3715]: 2024-03-05 11:33:27,817 loaded 56 start menu entries from 7 sub-menus in 1.8 seconds
Mar  5 11:33:39 iqlr8vm systemd[1]: fprintd.service: Succeeded.
Mar  5 11:35:00 iqlr8vm systemd[1]: Starting Cleanup of Temporary Directories...
Mar  5 11:35:00 iqlr8vm systemd[1]: systemd-tmpfiles-clean.service: Succeeded.
Mar  5 11:35:00 iqlr8vm systemd[1]: Started Cleanup of Temporary Directories.
Mar  5 11:36:38 iqlr8vm xpra[3715]: 2024-03-05 11:36:38,299 Authentication required by PAM authenticator module
Mar  5 11:36:38 iqlr8vm xpra[3715]: 2024-03-05 11:36:38,299  sending challenge using 'xor' digest over tcp connection
Mar  5 11:37:47 iqlr8vm dbus-daemon[1007]: [system] Activating via systemd: service name='net.reactivated.Fprint' unit='fprintd.service' requested by ':1.431' (uid=0 pid=3715 comm="/usr/bin/xpra proxy :14500 --daemon=no --tcp-auth=" label="system_u:system_r:xpra_t:s0")
Mar  5 11:37:47 iqlr8vm systemd[1]: Starting Fingerprint Authentication Daemon...
Mar  5 11:37:47 iqlr8vm dbus-daemon[1007]: [system] Successfully activated service 'net.reactivated.Fprint'
Mar  5 11:37:47 iqlr8vm systemd[1]: Started Fingerprint Authentication Daemon.
Mar  5 11:37:47 iqlr8vm xpra[3715]: 2024-03-05 11:37:47,561 Error: proxy instances cannot run as root
Mar  5 11:37:47 iqlr8vm xpra[3715]: 2024-03-05 11:37:47,562  use a different uid and gid (ie: nobody)
Mar  5 11:37:49 iqlr8vm xpra[3715]: 2024-03-05 11:37:49,453 Request timed out: timeout('The read operation timed out',)
Mar  5 11:37:49 iqlr8vm xpra[3715]: 2024-03-05 11:37:49,472 Request timed out: timeout('The read operation timed out',)
Mar  5 11:37:49 iqlr8vm xpra[3715]: 2024-03-05 11:37:49,491 Request timed out: timeout('The read operation timed out',)
Mar  5 11:38:17 iqlr8vm systemd[1]: fprintd.service: Succeeded.

Any advice would be much appreciated!

Thanks,
Mike

@mykeebot mykeebot added the bug Something isn't working label Mar 5, 2024
@totaam
Copy link
Collaborator

totaam commented Mar 5, 2024

Unless I am missing something, you are connecting to the proxy server on port 14500.
Which session do you expect it to connect to?
How is it started?
Or do you want to start a new one?

Error: proxy instances cannot run as root

This message has existed for a very long time: 80d69f2 (added in 2018)

@mykeebot
Copy link
Author

mykeebot commented Mar 5, 2024

Hi @totaam,

Below you may find my answers...

Unless I am missing something, you are connecting to the proxy server on port 14500.

Correct..

Which session do you expect it to connect to?

Same as before the upgrade. I simply opened the web browser and I reached it on the https://192.168.1.13:14500/connect.html site and I could log in. After the upgrade, it was not possible.

How is it started?

What do you mean exactly? The client connection? Or the xpra.service on the server? This is how my /usr/lib/systemd/system/xpra.service looks like...

[Unit]
Description=Xpra System Server
Wants=avahi-daemon.socket
Documentation=https://github.com/Xpra-org/xpra/blob/master/docs/Usage/Service.md man:xpra
After=network.target xpra.socket
Requires=xpra.socket

[Service]
Type=simple
EnvironmentFile=-/etc/sysconfig/xpra
ExecStart=/usr/bin/xpra proxy :14500 --daemon=no \
    --tcp-auth=${TCP_AUTH} \
    --ssl-cert=/etc/xpra/ssl-cert.pem --ssl=on \
    --bind=none --auth=${AUTH} --socket-permissions=666 \
    --log-dir=/var/log --pidfile=/run/xpra/proxy/server.pid --debug=${DEBUG}
#rely on SIGKILL which returns 128+15=143
SuccessExitStatus=0 143
Restart=on-abnormal
PIDFile=/run/xpra/proxy/server.pid
ProtectSystem=strict
ReadWritePaths=/run/xpra /tmp
#PrivateDevices=true
ProtectKernelTunables=true
ProtectControlGroups=true

[Install]
WantedBy=multi-user.target

Or do you want to start a new one?

I would like to start the same as before the upgrade. I would like to have the same behavior, to be able log in via the Web browser.

Thanks,
Mike

@totaam
Copy link
Collaborator

totaam commented Mar 5, 2024

site and I could log in

There is no such thing as "log in". There are 4 options shown on your screenshot:

  • connect
  • start command
  • start desktop
  • shadow

Assuming that you use "connect", you will need an existing session to connect to. The proxy server is not a session in itself.
And your session cannot be running as root.

I don't think that this has ever worked the way you describe, as that's not how it's meant to be used.
If you want a single session, stop the proxy and start it with your container, ie:

xpra start --start=xterm --bind-tcp=0.0.0.0:10000

Then connect to port 10000.
Add authentication as needed.

@mykeebot
Copy link
Author

mykeebot commented Mar 6, 2024

Hello @totaam,

I did the tests before what you have suggested and it works OK if I start xpra with the command...

xpra start --start=xterm --bind-tcp=0.0.0.0:10000

...but I think it should work like before the upgrade. So the upgrade is definitely changes something. I'm sending you a video recording here, so you can see that it works OK before the upgrade...

https://youtu.be/cLoNxkpbvR4

FYI: If I upgrade xpra and xpra.-html5 from the BETA repo...

[root@iqlr8vm comsearch]# rpm -q xpra xpra-html5
xpra-6.0-10.r35221.el8.x86_64
xpra-html5-12.0-1.r1532.el8.noarch

...it gets stuck here after I enter my username and password....

ScreenShot_16537

Thanks,
Mike

@mykeebot
Copy link
Author

Hello @totaam,

I'm just wondering if you had the chance to look into the video recording what I have created and posted in my previous comment?

Many thanks in advance,
Mike

@totaam
Copy link
Collaborator

totaam commented Mar 11, 2024

I have looked at your video and it looks like you're connecting to a shadow session?
xpra info | grep type from within the session would confirm.

Like I said before:

Assuming that you use "connect", you will need an existing session to connect to.

So I don't think there is anything to fix here.
If this worked before, it was an accident.

@mykeebot
Copy link
Author

mykeebot commented Mar 11, 2024

Hi @totaam,

Thank you very much for watching the video recording what I have created. Below you may find the output of the xpra info | grep type command...

ScreenShot_16600

[comsearch@iqlr8vm bin]$ rpm -q xpra xpra-html5
xpra-5.0.2-10.r0.el8.x86_64
xpra-html5-9.0-1.r1481.el8.noarch

Sorry but I could not copy it from the Terminal, I hope the screenshot is enough to check the details.

Assuming that you use "connect", you will need an existing session to connect to.

Yes, I use Connect.

If this worked before, it was an accident.

I don't think it's an accident, because I can connect to it anytime whenever I just want with this version...

[comsearch@iqlr8vm bin]$ rpm -q xpra xpra-html5
xpra-5.0.2-10.r0.el8.x86_64
xpra-html5-9.0-1.r1481.el8.noarch

Thanks,
Mike

@totaam
Copy link
Collaborator

totaam commented Mar 11, 2024

Don't use connect, use start command / desktop.
Connect does not start new sessions - if it did, this was a bug.

@totaam totaam closed this as completed Mar 11, 2024
@totaam totaam added the invalid This doesn't seem right label Mar 11, 2024
@mykeebot
Copy link
Author

Hi @totaam,

By Connect, I meant the Connect button...

ScreenShot_16602

Thanks,
Mike

@mykeebot
Copy link
Author

FYI: The solution was to use the dnf update command instead of dnf upgrade xpra --refresh and dnf upgrade xpra-html5 --refresh...

Last login: Tue Apr  2 19:55:54 on ttys002

The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
~$ ssh comsearch@iqlr8vm
comsearch@iqlr8vm's password: 
Activate the web console with: systemctl enable --now cockpit.socket

Last login: Wed Mar 27 10:13:23 2024 from 192.168.56.101
[comsearch@iqlr8vm ~]$ su - 
Password: 
[root@iqlr8vm ~]# cd /etc/dnf
[root@iqlr8vm dnf]# ls -la
total 44
drwxr-xr-x.   8 root root  4096 Oct  5 16:30 .
drwxr-xr-x. 154 root root 12288 Apr  3 15:53 ..
drwxr-xr-x.   2 root root  4096 May 16  2023 aliases.d
-rw-r--r--.   1 root root   108 Apr 12  2021 dnf.conf
drwxr-xr-x.   2 root root  4096 May 16  2023 modules.d
drwxr-xr-x.   2 root root  4096 May 16  2023 modules.defaults.d
drwxr-xr-x.   3 root root  4096 Oct  5 16:38 plugins
drwxr-xr-x.   2 root root  4096 Oct  5 16:38 protected.d
drwxr-xr-x.   2 root root  4096 Oct  5 16:30 vars
[root@iqlr8vm dnf]# vi dnf.conf 
[root@iqlr8vm dnf]# vi dnf.conf 
[root@iqlr8vm dnf]# cd /etc/yum
yum/         yum.repos.d/ 
[root@iqlr8vm dnf]# cd /etc/yum
yum/         yum.repos.d/ 
[root@iqlr8vm dnf]# cd /etc/yum.repos.d/
[root@iqlr8vm yum.repos.d]# ls -al
total 76
drwxr-xr-x.   2 root root  4096 Oct  5 21:48 .
drwxr-xr-x. 154 root root 12288 Apr  3 15:53 ..
-rw-r--r--.   1 root root   184 Oct  5 21:48 Rocky-AppStream_DVD.repo
-rw-r--r--.   1 root root   710 Oct  5 21:39 Rocky-AppStream.repo
-rw-r--r--.   1 root root   177 Oct  5 21:48 Rocky-BaseOS_DVD.repo
-rw-r--r--.   1 root root   695 Oct  5 21:39 Rocky-BaseOS.repo
-rw-r--r--.   1 root root  1753 Jun 10  2023 Rocky-Debuginfo.repo
-rw-r--r--.   1 root root   360 Jun 10  2023 Rocky-Devel.repo
-rw-r--r--.   1 root root   695 Oct  5 21:39 Rocky-Extras.repo
-rw-r--r--.   1 root root   731 Jun 10  2023 Rocky-HighAvailability.repo
-rw-r--r--.   1 root root   680 Jun 10  2023 Rocky-Media.repo
-rw-r--r--.   1 root root   680 Jun 10  2023 Rocky-NFV.repo
-rw-r--r--.   1 root root   690 Jun 10  2023 Rocky-Plus.repo
-rw-r--r--.   1 root root   715 Jun 10  2023 Rocky-PowerTools.repo
-rw-r--r--.   1 root root   746 Jun 10  2023 Rocky-ResilientStorage.repo
-rw-r--r--.   1 root root   681 Jun 10  2023 Rocky-RT.repo
-rw-r--r--.   1 root root  2335 Jun 10  2023 Rocky-Sources.repo
[root@iqlr8vm yum.repos.d]# systemctl stop xpra.service
[root@iqlr8vm yum.repos.d]# systemctl stop xpra.socket
[root@iqlr8vm yum.repos.d]# dnf autoremove xpra
Dependencies resolved.
======================================================================================================================================================================================================
 Package                                   Architecture                                Version                                               Repository                                          Size
======================================================================================================================================================================================================
Removing:
 xpra                                      x86_64                                      5.0.2-10.r0.el8                                       @@commandline                                        0  

Transaction Summary
======================================================================================================================================================================================================
Remove  1 Package

Freed space: 0  
Is this ok [y/N]: N
Operation aborted.
[root@iqlr8vm yum.repos.d]# ping xpra.org
PING xpra.org (78.129.163.65) 56(84) bytes of data.
64 bytes from xpra.org (78.129.163.65): icmp_seq=1 ttl=63 time=5214 ms
64 bytes from xpra.org (78.129.163.65): icmp_seq=2 ttl=63 time=4184 ms
64 bytes from xpra.org (78.129.163.65): icmp_seq=3 ttl=63 time=3159 ms
64 bytes from xpra.org (78.129.163.65): icmp_seq=4 ttl=63 time=2136 ms
64 bytes from xpra.org (78.129.163.65): icmp_seq=5 ttl=63 time=1112 ms
64 bytes from xpra.org (78.129.163.65): icmp_seq=6 ttl=63 time=87.0 ms
64 bytes from xpra.org (78.129.163.65): icmp_seq=7 ttl=63 time=31.10 ms
^C
--- xpra.org ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6127ms
rtt min/avg/max/mdev = 31.960/2274.752/5213.805/1861.359 ms, pipe 6
[root@iqlr8vm yum.repos.d]# yum -v repolist
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, kpatch, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
YUM version: 4.7.0
cachedir: /var/cache/dnf
Rocky Linux v8.8 - AppStream DVD                                                                                                                                      1.9 MB/s | 4.3 kB     00:00    
Rocky Linux v8.8 - BaseOS - DVD                                                                                                                                       1.6 MB/s | 3.9 kB     00:00    
Repo-id            : appstream_dvd
Repo-name          : Rocky Linux v8.8 - AppStream DVD
Repo-revision      : 8.8
Repo-distro-tags      : [cpe:/o:rocky:rocky:8]:  ,  , 8, L, R, c, i, k, n, o, u, x, y
Repo-updated       : Thu 18 May 2023 01:32:04 AM CEST
Repo-pkgs          : 6,879
Repo-available-pkgs: 5,509
Repo-size          : 9.4 G
Repo-baseurl       : file:///var/repo/rocky8/AppStream
Repo-expire        : 172,800 second(s) (last: Wed 27 Mar 2024 10:14:05 AM CET)
Repo-filename      : /etc/yum.repos.d/Rocky-AppStream_DVD.repo

Repo-id            : baseos_dvd
Repo-name          : Rocky Linux v8.8 - BaseOS - DVD
Repo-revision      : 8.8
Repo-distro-tags      : [cpe:/o:rocky:rocky:8]:  ,  , 8, L, R, c, i, k, n, o, u, x, y
Repo-updated       : Thu 18 May 2023 01:28:52 AM CEST
Repo-pkgs          : 1,734
Repo-available-pkgs: 1,732
Repo-size          : 1.4 G
Repo-baseurl       : file:///var/repo/rocky8/BaseOS
Repo-expire        : 172,800 second(s) (last: Wed 27 Mar 2024 10:14:05 AM CET)
Repo-filename      : /etc/yum.repos.d/Rocky-BaseOS_DVD.repo
Total packages: 8,613
[root@iqlr8vm yum.repos.d]# wget -O /etc/yum.repos.d/xpra.repo https://xpra.org/repos/rockylinux/xpra.repo^C
[root@iqlr8vm yum.repos.d]# rpm --import https://xpra.org/gpg.asc
[root@iqlr8vm yum.repos.d]# wget -O /etc/yum.repos.d/xpra.repo https://xpra.org/repos/rockylinux/xpra.repo
--2024-04-03 16:20:57--  https://xpra.org/repos/rockylinux/xpra.repo
Resolving xpra.org (xpra.org)... 78.129.163.65
Connecting to xpra.org (xpra.org)|78.129.163.65|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 178
Saving to: ‘/etc/yum.repos.d/xpra.repo’

/etc/yum.repos.d/xpra.repo                        100%[===========================================================================================================>]     178  --.-KB/s    in 0s      

2024-04-03 16:20:57 (243 MB/s) - ‘/etc/yum.repos.d/xpra.repo’ saved [178/178]

[root@iqlr8vm yum.repos.d]# yum -v repolist
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, kpatch, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
YUM version: 4.7.0
cachedir: /var/cache/dnf
Xpra 8 - x86_64                                                                                                                                                       320 kB/s | 131 kB     00:00    
Last metadata expiration check: 0:00:01 ago on Wed 03 Apr 2024 04:21:09 PM CEST.
Repo-id            : appstream_dvd
Repo-name          : Rocky Linux v8.8 - AppStream DVD
Repo-revision      : 8.8
Repo-distro-tags      : [cpe:/o:rocky:rocky:8]:  ,  , 8, L, R, c, i, k, n, o, u, x, y
Repo-updated       : Thu 18 May 2023 01:32:04 AM CEST
Repo-pkgs          : 6,879
Repo-available-pkgs: 5,509
Repo-size          : 9.4 G
Repo-baseurl       : file:///var/repo/rocky8/AppStream
Repo-expire        : 172,800 second(s) (last: Wed 03 Apr 2024 04:18:47 PM CEST)
Repo-filename      : /etc/yum.repos.d/Rocky-AppStream_DVD.repo

Repo-id            : baseos_dvd
Repo-name          : Rocky Linux v8.8 - BaseOS - DVD
Repo-revision      : 8.8
Repo-distro-tags      : [cpe:/o:rocky:rocky:8]:  ,  , 8, L, R, c, i, k, n, o, u, x, y
Repo-updated       : Thu 18 May 2023 01:28:52 AM CEST
Repo-pkgs          : 1,734
Repo-available-pkgs: 1,732
Repo-size          : 1.4 G
Repo-baseurl       : file:///var/repo/rocky8/BaseOS
Repo-expire        : 172,800 second(s) (last: Wed 03 Apr 2024 04:18:47 PM CEST)
Repo-filename      : /etc/yum.repos.d/Rocky-BaseOS_DVD.repo

Repo-id            : xpra
Repo-name          : Xpra 8 - x86_64
Repo-revision      : 1711716701
Repo-updated       : Fri 29 Mar 2024 01:51:41 PM CET
Repo-pkgs          : 250
Repo-available-pkgs: 245
Repo-size          : 298 M
Repo-baseurl       : https://xpra.org/dists/rockylinux/8/x86_64/
Repo-expire        : 86,400 second(s) (last: Wed 03 Apr 2024 04:21:09 PM CEST)
Repo-filename      : /etc/yum.repos.d/xpra.repo
Total packages: 8,863
[root@iqlr8vm yum.repos.d]# dnf -v repolist
Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, kpatch, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, system-upgrade
DNF version: 4.7.0
cachedir: /var/cache/dnf
Last metadata expiration check: 0:00:35 ago on Wed 03 Apr 2024 04:21:09 PM CEST.
Repo-id            : appstream_dvd
Repo-name          : Rocky Linux v8.8 - AppStream DVD
Repo-revision      : 8.8
Repo-distro-tags      : [cpe:/o:rocky:rocky:8]:  ,  , 8, L, R, c, i, k, n, o, u, x, y
Repo-updated       : Thu 18 May 2023 01:32:04 AM CEST
Repo-pkgs          : 6,879
Repo-available-pkgs: 5,509
Repo-size          : 9.4 G
Repo-baseurl       : file:///var/repo/rocky8/AppStream
Repo-expire        : 172,800 second(s) (last: Wed 03 Apr 2024 04:18:47 PM CEST)
Repo-filename      : /etc/yum.repos.d/Rocky-AppStream_DVD.repo

Repo-id            : baseos_dvd
Repo-name          : Rocky Linux v8.8 - BaseOS - DVD
Repo-revision      : 8.8
Repo-distro-tags      : [cpe:/o:rocky:rocky:8]:  ,  , 8, L, R, c, i, k, n, o, u, x, y
Repo-updated       : Thu 18 May 2023 01:28:52 AM CEST
Repo-pkgs          : 1,734
Repo-available-pkgs: 1,732
Repo-size          : 1.4 G
Repo-baseurl       : file:///var/repo/rocky8/BaseOS
Repo-expire        : 172,800 second(s) (last: Wed 03 Apr 2024 04:18:47 PM CEST)
Repo-filename      : /etc/yum.repos.d/Rocky-BaseOS_DVD.repo

Repo-id            : xpra
Repo-name          : Xpra 8 - x86_64
Repo-revision      : 1711716701
Repo-updated       : Fri 29 Mar 2024 01:51:41 PM CET
Repo-pkgs          : 250
Repo-available-pkgs: 245
Repo-size          : 298 M
Repo-baseurl       : https://xpra.org/dists/rockylinux/8/x86_64/
Repo-expire        : 86,400 second(s) (last: Wed 03 Apr 2024 04:21:09 PM CEST)
Repo-filename      : /etc/yum.repos.d/xpra.repo
Total packages: 8,863
[root@iqlr8vm yum.repos.d]# cd /var/cache/dnf/
[root@iqlr8vm dnf]# ls -la
total 13172
drwxr-xr-x.  6 root root    4096 Apr  3 16:21 .
drwxr-xr-x. 17 root root    4096 Oct  5 19:19 ..
drwxr-xr-x.  2 root root    4096 Oct  5 21:33 appstream-62ae9a0bbea44fbe
drwxr-xr-x.  3 root root    4096 Oct  5 21:48 appstream_dvd-3e26ce6749c2eb2a
-rw-r--r--.  1 root root 6364478 Oct  5 21:48 appstream_dvd-filenames.solvx
-rw-r--r--.  1 root root 2890876 Oct  9 18:16 appstream_dvd.solv
drwxr-xr-x.  3 root root    4096 Oct  5 21:48 baseos_dvd-7f6edf1cb109008a
-rw-r--r--.  1 root root 1382350 Oct  5 21:48 baseos_dvd-filenames.solvx
-rw-r--r--.  1 root root 1665212 Oct  9 18:16 baseos_dvd.solv
-rw-r--r--.  1 root root       2 Apr  3 16:21 expired_repos.json
-rw-r--r--.  1 root root       0 Oct  5 23:51 .gpgkeyschecked.yum
-rw-r--r--.  1 root root       0 Mar 21 18:11 last_makecache
-rw-r--r--.  1 root root  897024 Apr  3 16:21 packages.db
-rw-r--r--.  1 root root       2 Mar 21 11:45 tempfiles.json
drwxr-xr-x.  3 root root    4096 Apr  3 16:21 xpra-aa01700a58a3aabd
-rw-r--r--.  1 root root  153013 Apr  3 16:21 xpra-filenames.solvx
-rw-r--r--.  1 root root   87318 Apr  3 16:21 xpra.solv
[root@iqlr8vm dnf]# dnf clean packages
0 files removed
[root@iqlr8vm dnf]# dnf update
Last metadata expiration check: 0:02:42 ago on Wed 03 Apr 2024 04:21:09 PM CEST.
Dependencies resolved.
======================================================================================================================================================================================================
 Package                                                Architecture                               Version                                             Repository                                Size
======================================================================================================================================================================================================
Upgrading:
 python3-aioquic                                        x86_64                                     0.9.25-2.el8                                        xpra                                      21 k
 python3-pylsqpack                                      x86_64                                     0.3.18-2.el8                                        xpra                                      70 k
 python3-pynvml                                         x86_64                                     12.535.133-1                                        xpra                                      66 k
 xpra                                                   x86_64                                     5.0.7-10.r0.el8                                     xpra                                      90 k
 xpra-audio                                             x86_64                                     5.0.7-10.r0.el8                                     xpra                                     154 k
 xpra-client                                            x86_64                                     5.0.7-10.r0.el8                                     xpra                                     181 k
 xpra-client-gtk3                                       x86_64                                     5.0.7-10.r0.el8                                     xpra                                     716 k
 xpra-codecs                                            x86_64                                     5.0.7-10.r0.el8                                     xpra                                     569 k
 xpra-codecs-nvidia                                     x86_64                                     5.0.7-10.r0.el8                                     xpra                                     598 k
 xpra-common                                            x86_64                                     5.0.7-10.r0.el8                                     xpra                                     7.2 M
 xpra-html5                                             noarch                                     12.0-1.r6.el8                                       xpra                                     1.4 M
 xpra-server                                            x86_64                                     5.0.7-10.r0.el8                                     xpra                                     927 k
 xpra-x11                                               x86_64                                     5.0.7-10.r0.el8                                     xpra                                     1.0 M

Transaction Summary
======================================================================================================================================================================================================
Upgrade  13 Packages

Total download size: 13 M
Is this ok [y/N]: y
Downloading Packages:
(1/13): python3-aioquic-0.9.25-2.el8.x86_64.rpm                                                                                                                        96 kB/s |  21 kB     00:00    
(2/13): python3-pylsqpack-0.3.18-2.el8.x86_64.rpm                                                                                                                     252 kB/s |  70 kB     00:00    
(3/13): python3-pynvml-12.535.133-1.x86_64.rpm                                                                                                                        226 kB/s |  66 kB     00:00    
(4/13): xpra-5.0.7-10.r0.el8.x86_64.rpm                                                                                                                               1.1 MB/s |  90 kB     00:00    
(5/13): xpra-audio-5.0.7-10.r0.el8.x86_64.rpm                                                                                                                         1.6 MB/s | 154 kB     00:00    
(6/13): xpra-client-5.0.7-10.r0.el8.x86_64.rpm                                                                                                                        1.6 MB/s | 181 kB     00:00    
(7/13): xpra-client-gtk3-5.0.7-10.r0.el8.x86_64.rpm                                                                                                                   3.2 MB/s | 716 kB     00:00    
(8/13): xpra-codecs-5.0.7-10.r0.el8.x86_64.rpm                                                                                                                        3.5 MB/s | 569 kB     00:00    
(9/13): xpra-codecs-nvidia-5.0.7-10.r0.el8.x86_64.rpm                                                                                                                 3.8 MB/s | 598 kB     00:00    
(10/13): xpra-server-5.0.7-10.r0.el8.x86_64.rpm                                                                                                                       4.1 MB/s | 927 kB     00:00    
(11/13): xpra-html5-12.0-1.r6.el8.noarch.rpm                                                                                                                          4.9 MB/s | 1.4 MB     00:00    
(12/13): xpra-x11-5.0.7-10.r0.el8.x86_64.rpm                                                                                                                          6.6 MB/s | 1.0 MB     00:00    
(13/13): xpra-common-5.0.7-10.r0.el8.x86_64.rpm                                                                                                                       3.4 MB/s | 7.2 MB     00:02    
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                 4.9 MB/s |  13 MB     00:02     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                              1/1 
  Upgrading        : xpra-html5-12.0-1.r6.el8.noarch                                                                                                                                             1/26 
  Upgrading        : python3-pynvml-12.535.133-1.x86_64                                                                                                                                          2/26 
  Upgrading        : python3-pylsqpack-0.3.18-2.el8.x86_64                                                                                                                                       3/26 
  Upgrading        : python3-aioquic-0.9.25-2.el8.x86_64                                                                                                                                         4/26 
  Upgrading        : xpra-common-5.0.7-10.r0.el8.x86_64                                                                                                                                          5/26 
  Upgrading        : xpra-codecs-nvidia-5.0.7-10.r0.el8.x86_64                                                                                                                                   6/26 
  Upgrading        : xpra-codecs-5.0.7-10.r0.el8.x86_64                                                                                                                                          7/26 
  Upgrading        : xpra-client-5.0.7-10.r0.el8.x86_64                                                                                                                                          8/26 
  Running scriptlet: xpra-client-5.0.7-10.r0.el8.x86_64                                                                                                                                          8/26 
  Upgrading        : xpra-audio-5.0.7-10.r0.el8.x86_64                                                                                                                                           9/26 
  Upgrading        : xpra-x11-5.0.7-10.r0.el8.x86_64                                                                                                                                            10/26 
  Upgrading        : xpra-client-gtk3-5.0.7-10.r0.el8.x86_64                                                                                                                                    11/26 
  Running scriptlet: xpra-client-gtk3-5.0.7-10.r0.el8.x86_64                                                                                                                                    11/26 
  Upgrading        : xpra-server-5.0.7-10.r0.el8.x86_64                                                                                                                                         12/26 
  Running scriptlet: xpra-server-5.0.7-10.r0.el8.x86_64                                                                                                                                         12/26 
  Upgrading        : xpra-5.0.7-10.r0.el8.x86_64                                                                                                                                                13/26 
  Cleanup          : xpra-5.0.2-10.r0.el8.x86_64                                                                                                                                                14/26 
  Running scriptlet: xpra-server-5.0.2-10.r0.el8.x86_64                                                                                                                                         15/26 
  Cleanup          : xpra-server-5.0.2-10.r0.el8.x86_64                                                                                                                                         15/26 
  Running scriptlet: xpra-server-5.0.2-10.r0.el8.x86_64                                                                                                                                         15/26 
  Cleanup          : xpra-html5-9.0-1.r1481.el8.noarch                                                                                                                                          16/26 
  Cleanup          : xpra-client-gtk3-5.0.2-10.r0.el8.x86_64                                                                                                                                    17/26 
  Running scriptlet: xpra-client-gtk3-5.0.2-10.r0.el8.x86_64                                                                                                                                    17/26 
  Cleanup          : xpra-codecs-5.0.2-10.r0.el8.x86_64                                                                                                                                         18/26 
  Cleanup          : xpra-client-5.0.2-10.r0.el8.x86_64                                                                                                                                         19/26 
  Running scriptlet: xpra-client-5.0.2-10.r0.el8.x86_64                                                                                                                                         19/26 
  Cleanup          : xpra-audio-5.0.2-10.r0.el8.x86_64                                                                                                                                          20/26 
  Cleanup          : xpra-common-5.0.2-10.r0.el8.x86_64                                                                                                                                         21/26 
  Cleanup          : python3-aioquic-0.9.21-1.el8.x86_64                                                                                                                                        22/26 
  Cleanup          : xpra-codecs-nvidia-5.0.2-10.r0.el8.x86_64                                                                                                                                  23/26 
  Cleanup          : python3-pynvml-12.535.77-1.x86_64                                                                                                                                          24/26 
  Cleanup          : python3-pylsqpack-0.3.17-1.el8.x86_64                                                                                                                                      25/26 
  Cleanup          : xpra-x11-5.0.2-10.r0.el8.x86_64                                                                                                                                            26/26 
  Running scriptlet: xpra-common-5.0.7-10.r0.el8.x86_64                                                                                                                                         26/26 
  Running scriptlet: xpra-x11-5.0.2-10.r0.el8.x86_64                                                                                                                                            26/26 
  Verifying        : python3-aioquic-0.9.25-2.el8.x86_64                                                                                                                                         1/26 
  Verifying        : python3-aioquic-0.9.21-1.el8.x86_64                                                                                                                                         2/26 
  Verifying        : python3-pylsqpack-0.3.18-2.el8.x86_64                                                                                                                                       3/26 
  Verifying        : python3-pylsqpack-0.3.17-1.el8.x86_64                                                                                                                                       4/26 
  Verifying        : python3-pynvml-12.535.133-1.x86_64                                                                                                                                          5/26 
  Verifying        : python3-pynvml-12.535.77-1.x86_64                                                                                                                                           6/26 
  Verifying        : xpra-5.0.7-10.r0.el8.x86_64                                                                                                                                                 7/26 
  Verifying        : xpra-5.0.2-10.r0.el8.x86_64                                                                                                                                                 8/26 
  Verifying        : xpra-audio-5.0.7-10.r0.el8.x86_64                                                                                                                                           9/26 
  Verifying        : xpra-audio-5.0.2-10.r0.el8.x86_64                                                                                                                                          10/26 
  Verifying        : xpra-client-5.0.7-10.r0.el8.x86_64                                                                                                                                         11/26 
  Verifying        : xpra-client-5.0.2-10.r0.el8.x86_64                                                                                                                                         12/26 
  Verifying        : xpra-client-gtk3-5.0.7-10.r0.el8.x86_64                                                                                                                                    13/26 
  Verifying        : xpra-client-gtk3-5.0.2-10.r0.el8.x86_64                                                                                                                                    14/26 
  Verifying        : xpra-codecs-5.0.7-10.r0.el8.x86_64                                                                                                                                         15/26 
  Verifying        : xpra-codecs-5.0.2-10.r0.el8.x86_64                                                                                                                                         16/26 
  Verifying        : xpra-codecs-nvidia-5.0.7-10.r0.el8.x86_64                                                                                                                                  17/26 
  Verifying        : xpra-codecs-nvidia-5.0.2-10.r0.el8.x86_64                                                                                                                                  18/26 
  Verifying        : xpra-common-5.0.7-10.r0.el8.x86_64                                                                                                                                         19/26 
  Verifying        : xpra-common-5.0.2-10.r0.el8.x86_64                                                                                                                                         20/26 
  Verifying        : xpra-html5-12.0-1.r6.el8.noarch                                                                                                                                            21/26 
  Verifying        : xpra-html5-9.0-1.r1481.el8.noarch                                                                                                                                          22/26 
  Verifying        : xpra-server-5.0.7-10.r0.el8.x86_64                                                                                                                                         23/26 
  Verifying        : xpra-server-5.0.2-10.r0.el8.x86_64                                                                                                                                         24/26 
  Verifying        : xpra-x11-5.0.7-10.r0.el8.x86_64                                                                                                                                            25/26 
  Verifying        : xpra-x11-5.0.2-10.r0.el8.x86_64                                                                                                                                            26/26 

Upgraded:
  python3-aioquic-0.9.25-2.el8.x86_64  python3-pylsqpack-0.3.18-2.el8.x86_64    python3-pynvml-12.535.133-1.x86_64  xpra-5.0.7-10.r0.el8.x86_64                xpra-audio-5.0.7-10.r0.el8.x86_64  
  xpra-client-5.0.7-10.r0.el8.x86_64   xpra-client-gtk3-5.0.7-10.r0.el8.x86_64  xpra-codecs-5.0.7-10.r0.el8.x86_64  xpra-codecs-nvidia-5.0.7-10.r0.el8.x86_64  xpra-common-5.0.7-10.r0.el8.x86_64 
  xpra-html5-12.0-1.r6.el8.noarch      xpra-server-5.0.7-10.r0.el8.x86_64       xpra-x11-5.0.7-10.r0.el8.x86_64    

Complete!
[root@iqlr8vm dnf]# systemctl status xpra.socket
● xpra.socket - Xpra Socket
   Loaded: loaded (/usr/lib/systemd/system/xpra.socket; enabled; vendor preset: disabled)
   Active: active (listening) since Wed 2024-04-03 16:25:59 CEST; 59s ago
   Listen: [::]:14500 (Stream)
           /run/xpra/system (Stream)
    Tasks: 0 (limit: 18697)
   Memory: 4.0K
   CGroup: /system.slice/xpra.socket

Apr 03 16:25:59 iqlr8vm systemd[1]: Starting Xpra Socket.
Apr 03 16:25:59 iqlr8vm systemd[1]: Listening on Xpra Socket.
[root@iqlr8vm dnf]# systemctl status xpra.service
● xpra.service - Xpra System Server
   Loaded: loaded (/usr/lib/systemd/system/xpra.service; enabled; vendor preset: disabled)
   Active: inactive (dead) since Wed 2024-04-03 15:58:57 CEST; 28min ago
     Docs: https://github.com/Xpra-org/xpra/blob/master/docs/Usage/Service.md
           man:xpra
 Main PID: 1324 (code=exited, status=0/SUCCESS)

Apr 03 15:58:56 iqlr8vm xpra[1324]: 2024-04-03 15:58:56,573 Proxy Server process ended
Apr 03 15:58:56 iqlr8vm xpra[1324]: 2024-04-03 15:58:56,674 closing sd listen socket [::]:14500
Apr 03 15:58:56 iqlr8vm xpra[1324]: 2024-04-03 15:58:56,691 closing sd listen socket /run/xpra/system
Apr 03 15:58:56 iqlr8vm xpra[1324]: 2024-04-03 15:58:56,753 Warning: error trying to stop dbus with pid 1910:
Apr 03 15:58:56 iqlr8vm xpra[1324]: 2024-04-03 15:58:56,753  [Errno 13] Permission denied
Apr 03 15:58:56 iqlr8vm xpra[1324]: 2024-04-03 15:58:56,755 session directory '/run/xpra/proxy' was not removed
Apr 03 15:58:56 iqlr8vm xpra[1324]: 2024-04-03 15:58:56,755  because it still contains some files:
Apr 03 15:58:56 iqlr8vm xpra[1324]: 2024-04-03 15:58:56,756  'dbus.env'
Apr 03 15:58:56 iqlr8vm xpra[1324]: 2024-04-03 15:58:56,756  'dbus.pid'
Apr 03 15:58:57 iqlr8vm systemd[1]: xpra.service: Succeeded.
[root@iqlr8vm dnf]# systemctl start xpra.service
[root@iqlr8vm dnf]# systemctl status xpra.service
● xpra.service - Xpra System Server
   Loaded: loaded (/usr/lib/systemd/system/xpra.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2024-04-03 16:27:25 CEST; 5s ago
     Docs: https://github.com/Xpra-org/xpra/blob/master/docs/Usage/Service.md
           man:xpra
 Main PID: 42430 (/usr/bin/xpra p)
    Tasks: 7 (limit: 18697)
   Memory: 56.1M
   CGroup: /system.slice/xpra.service
           ├─42430 /usr/bin/xpra proxy :14500 --daemon=no --tcp-auth=sys --ssl-cert=/etc/xpra/ssl-cert.pem --ssl=on --bind=none --auth=peercred --socket-permissions=666 --log-dir=/var/log --pidfile>
           └─42486 /usr/bin/dbus-daemon --syslog-only --fork --print-pid 4 --print-address 6 --session

Apr 03 16:27:26 iqlr8vm xpra[42430]: 2024-04-03 16:27:26,750  [Errno 13] Permission denied: '/run/xpra/proxy/dbus.env'
Apr 03 16:27:27 iqlr8vm xpra[42430]: 2024-04-03 16:27:27,000 serving html content from '/usr/share/xpra/www'
Apr 03 16:27:27 iqlr8vm xpra[42430]: 2024-04-03 16:27:27,027 wrote pid 42430 to '/run/xpra/proxy/server.pid'
Apr 03 16:27:27 iqlr8vm xpra[42430]: 2024-04-03 16:27:27,181 xpra is ready.
Apr 03 16:27:27 iqlr8vm xpra[42430]: 2024-04-03 16:27:27,193 xpra proxy server version 5.0.7-r0
Apr 03 16:27:27 iqlr8vm xpra[42430]: 2024-04-03 16:27:27,194  uid=0 (root), gid=0 (root)
Apr 03 16:27:27 iqlr8vm xpra[42430]: 2024-04-03 16:27:27,194  running with pid 42430 on Linux Rocky Linux 8.8 Green Obsidian
Apr 03 16:27:27 iqlr8vm xpra[42430]: 2024-04-03 16:27:27,207 watching for applications menu changes in:
Apr 03 16:27:27 iqlr8vm xpra[42430]: 2024-04-03 16:27:27,207  '/usr/local/share/applications'
Apr 03 16:27:27 iqlr8vm xpra[42430]: 2024-04-03 16:27:27,208  '/usr/share/applications'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants