Closed mykeebot closed 7 months ago
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: 80d69f2173551da7e2400e08292dbee12d2d64a0 (added in 2018)
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
site and I could log in
There is no such thing as "log in". There are 4 options shown on your screenshot:
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.
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...
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....
Thanks, Mike
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
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.
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...
[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
Don't use connect, use start command / desktop. Connect does not start new sessions - if it did, this was a bug.
Hi @totaam,
By Connect, I meant the Connect button...
Thanks, Mike
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'
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):
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
Additional context
1.) I have a Rocky Linux 8.9 VM (server) where Xpra is up and running correctly...
...with the following version...
2.) I can reach Xpra from a Web browser on my notebook and I can log in as expected...
3.) Because of some improvements and bug fixes, I have to update
xpra
andxpra-html5
on my server 4.) I have added the stable repo as......so the repolist looks as follows....
5.) I upgrade first
xpra
......then I upgraded
xpra-html5
...6.) I rebooted the server 7.) Then I checked the Xpra processes....
...and the versions...
8.) I can reach Xpra via the Web browser correctly...
9.) When I try to log in with the typical user name and password combination, I get this...
10.) If I enter the root password, then it drops me back to the default login page...
11.) I can find the following details in the /var/log/messages file....
Any advice would be much appreciated!
Thanks, Mike