Bug 1819573 - Cannot use Xspice (xorg-x11-server-Xspice)
Summary: Cannot use Xspice (xorg-x11-server-Xspice)
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-qxl
Version: 32
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Alon Levy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-04-01 05:39 UTC by aannoaanno
Modified: 2021-05-25 15:51 UTC (History)
16 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-25 15:51:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description aannoaanno 2020-04-01 05:39:37 UTC
Description of problem:
I tried to use Xspice like described in https://fedoraproject.org/wiki/Features/Spice

$ Xspice --disable-ticketing --xsession /usr/bin/gnome-terminal :1 --port 1234 &

I (first) ended with:

  /usr/libexec/Xorg.wrap: Only console users are allowed to run the X server

Then I created the file /etc/X11/Wrapper.config with the following content:

allowed_users=anybody
needs_root_rights=auto

This results in 

$  Xspice --disable-ticketing --xsession /usr/bin/gnome-terminal :1 --port 1234 &
[1] 10723
(base) [tpasch@blacksnapper tpasch]$ 
X.Org X Server 1.20.6
X Protocol Version 11, Revision 0
Build Operating System:  5.0.6-200.fc29.x86_64 
Current Operating System: Linux blacksnapper 5.5.11-200.fc31.x86_64 #1 SMP Mon Mar 23 17:32:43 UTC 2020 x86_64
Kernel command line: BOOT_IMAGE=(hd2,gpt6)/vmlinuz-5.5.11-200.fc31.x86_64 root=/dev/mapper/fedora-root ro rd.driver.blacklist=nouveau
Build Date: 25 November 2019  12:00:00AM
Build ID: xorg-x11-server 1.20.6-1.fc31 
Current version of pixman: 0.38.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.1.log", Time: Wed Apr  1 07:28:40 2020
(++) Using config file: "/etc/X11/spiceqxl.xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
resizing surface0 to 16777216
memory space from 0x7fd29baa0010 to 0x7fd2a2a9d010
memory space from 0x7fd292a9f010 to 0x7fd29aa9f010
resizing surface0 to 16777216
memory space from 0x7fd29baa0010 to 0x7fd2a2a9d010
memory space from 0x7fd292a9f010 to 0x7fd29aa9f010
xspice: port = 5900, tls_port = 0
watch_add: adding 0x55d09e41ced0, fd=15
watch_add: adding 0x55d09e41cfe0, fd=17
interface_get_init_info:
interface_attach_worker:
interface_set_compression_level: 0
playback: no audio FIFO directory, audio is disabled
ram_header at 134209536
surf0 size: 16777216
interface_get_command: native
interface_get_command: native
interface_get_command: native
interface_get_command: native
slots start: 0, slots end: 1
interface_get_command: native
done reset
interface_get_command: native
interface_get_command: native
interface_get_command: native
interface_get_command: native
interface_get_command: native
qxl_surface_create: Bad bpp: 1 (1)
interface_get_command: native
interface_get_command: native
qxl_surface_create: Bad bpp: 1 (1)
qxl_surface_create: Bad bpp: 1 (1)
interface_get_command: native
interface_get_command: native
interface_get_command: native
Traceback (most recent call last):
  File "/usr/bin/Xspice", line 358, in <module>
    os.spawnlpe(os.P_NOWAIT, args.xsession, environ)
  File "/usr/lib64/python3.7/os.py", line 971, in spawnlpe
    return spawnvpe(mode, file, args[:-1], env)
  File "/usr/lib64/python3.7/os.py", line 915, in spawnvpe
    return _spawnvef(mode, file, args, env, execvpe)
  File "/usr/lib64/python3.7/os.py", line 850, in _spawnvef
    raise ValueError('argv first element cannot be empty')
ValueError: argv first element cannot be empty


Version-Release number of selected component (if applicable):
xorg-x11-server-Xspice-0.1.5-12.fc31.x86_64

How reproducible:
Always


Steps to Reproduce:
As described above.

Actual results:
No Xspice running.


Expected results:
Xspice running and a spice client can connect to the associated X11 session.

Comment 1 aannoaanno 2020-04-16 06:40:56 UTC
Same for fedora 32

Comment 2 aannoaanno 2020-04-16 06:42:55 UTC
Problem has also been reported upstreams at https://gitlab.freedesktop.org/xorg/driver/xf86-video-qxl/-/issues/8

For me, it looks like xspice being a dead project. For everyone with the same problem, I recommend to use x11spice https://gitlab.freedesktop.org/spice/x11spice . It is working great for me!

Comment 3 Nicolas Chauvet (kwizart) 2021-02-04 08:07:20 UTC
re-assigned to the right component, but the problem remains the same (it has to be orphaned over x11spice).

Comment 4 Nicolas Chauvet (kwizart) 2021-02-04 08:09:31 UTC
@aannoaanno
If you are willing to submit and maintain x11spice, it would be easier to make the transition

Comment 5 Fedora Program Management 2021-04-29 16:16:22 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 6 Ben Cotton 2021-05-25 15:51:46 UTC
Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.