GithubHelp home page GithubHelp logo

Comments (6)

totaam avatar totaam commented on June 18, 2024

Your configuration files are invalid and specify lzo as a compressor.
This compressor has been removed in v5.

To see where this comes from, try:

xpra showsetting compressors

xpra attach tcp:gtxr1.srv-local.mpi-dortmund.mpg.de:2001 --encoding=webp --speaker=disabled --opengl=yes --min-speed=0 --min-quality=0

  • this syntax has been deprecated for years, use tcp://host:port/ instead
  • --encoding=webp is a bad idea

from xpra.

thorstenwagner avatar thorstenwagner commented on June 18, 2024

The output is

Warning: invalid compressor(s) specified: lzo
* default config:
compressors         : 'all'                                    (<class 'list'>)
* '/etc/xpra':
compressors         : 'lz4, lzo, zlib, brotli'                 (<class 'str'>)
* '/etc/xpra/':
compressors         : 'lz4, lzo, zlib, brotli'                 (<class 'str'>)
* '/home/twagner/.config/xpra':
compressors         :                                          (<class 'NoneType'>)
* '/home/twagner/.xpra':
compressors         :                                          (<class 'NoneType'>)

However, I looked in the files /etc/xpra/xpra.conf etc but there are no compressors specified.

Thanks for syntax hint! I changed it :-)

Regarding encoding: Simply remove it?

from xpra.

totaam avatar totaam commented on June 18, 2024

However, I looked in the files...

grep -r compressors /etc/xpra

You have some outdated configuration files there, which can cause other problems too.

Regarding encoding: Simply remove it?

Yes, raise --min-speed or --min-quality as needed instead.

from xpra.

thorstenwagner avatar thorstenwagner commented on June 18, 2024
/etc/xpra/conf.d/10_network.conf:#compressors = all
/etc/xpra/conf.d/10_network.conf:#compressors = none
/etc/xpra/conf.d/10_network.conf:#compressors = zlib
/etc/xpra/conf.d/10_network.conf:compressors = lz4, lzo, zlib, brotli

It comes from here... simply delete the file?

This is the file content:

################################################################################
# Network Connection

# Enable shared memory transfers:
mmap = yes

# Set group ownership of the mmap file:
#leave it as it is:
#mmap-group = no
#use a specific group:
#mmap-group = xpra
#use the server socket's group:
#mmap-group = SOCKET
#use the "xpra" group if possible, or fallback to the socket's group:
mmap-group = auto

# The file permissions set on the server's unix domain socket
# (ignored when mmap-group is enabled)
#socket-permissions = 660
socket-permissions = 600

# Share session with other users:
#sharing = yes
#sharing = no
# Leave it up to the client, where it defaults to no
# and this setting can then be changed from the system tray menu:
sharing = auto

# Allow sessions to be locked:
#lock = no
#lock = yes
# Leave it up to the client, where it defaults to no
# and this setting can then be changed from the system tray menu:
lock = auto

# Compressors:
#compressors = all
#compressors = none
#compressors = zlib
compressors = lz4, lzo, zlib, brotli

# Default compression (0 to 9):
compression_level = 1

# Packet encoders (at least one is required):
#packet-encoders = bencode
#packet-encoders = all
packet-encoders = rencode, bencode, yaml

# Socket directories (may be specified more than once):
#socket-dirs = /tmp
#socket-dirs = ~/.xpra
#socket-dirs = /run/xpra
socket-dirs = /run/user/$UID/xpra
socket-dirs = /run/xpra
socket-dirs = ~/.xpra


# Where to create new sockets
# (otherwise the first "socket-dirs" is used)
#socket-dir = /tmp
socket-dir = ~/.xpra

# Session idle timeout in seconds:
#idle-timeout = 120
idle-timeout = 0

# Server idle timeout in seconds:
#server-idle-timeout = 600
server-idle-timeout = 0

# Bandwidth limit:
#no limit:
#bandwidth-limit = 0
#1Mbps:
#bandwidth-limit = 1000000
#bandwidth-limit = 1000Kbps
#bandwidth-limit = 1M
#10Mbps:
#bandwidth-limit = 10Mbps
bandwidth-limit = auto

from xpra.

totaam avatar totaam commented on June 18, 2024

Personally, I would figure out why you have an old configuration file installed rather than the one that comes with the package you have installed.
Perhaps you had made some changes to that file and the package manager decided not to overwrite them?

Installing the correct file from the package would be my preferred option, but deleting it would also work.

from xpra.

thorstenwagner avatar thorstenwagner commented on June 18, 2024

I thought that the reason is, that I installed an old xpra version first via the package manager. However, uninstalling it did not remove those old config files. I will simply try to delete them. Thank you a lot for the support! :-)

from xpra.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.