[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xserver-xspice to remotely connect to my Debian desktop

I just wanted to follow up that I was not successful in my endeavour, but unearthed some stuff along the way. First of all, Xspice currently seems unsuitable for my user case (a mix of local and remote users for the same desktop) according to a bugreport at Red Hat (upstream for Spice):


Xspice seems to be limited to a single user, according to that. Among other issues. As a sidenote I also setup xrdp on a different server and while it worked really well at the beginning and was refreshingly easy to setup, it got wobbly and then stopped working. I think because I removed monitor and keyboard and rebooted. I think it still has issues starting X by itself. I think the secret for what I am working on lies with XDMCP and Tigervnc and once I get Tigervnc working with XDMCP, XRDP might also work as intended. 


2017-07-12 19:34 GMT+02:00 Malte <bugreport@2c2.de>:

I am trying to setup the xserver-xspice package to remotely connect to my Debian desktop. It claims to be more bandwidth efficient compared to VNC and there is even an Android client for the Spice protocol. I can get the xspice server started just fine. But I am having problems with the display manager.

In all cases described below, when I use Spicy (spice client) to connect to the desktop from a different machine, it connects fine, but only shows a black screen, indicating (from the documentation), that no display manager is running. 

How can I get a display manager to see and connect to the xspice-xserver, so I can see it, when I connect to the remote machine? Also: Can you reproduce the issue on your desktop?

Full description:

I am currently on Debian 9 and pulled the xserver-xspice package from sid using apt pinning and conservative settings. My hardware is an Intel Skylake desktop computer using the Skylake gpu.


    Package: *
    Pin: release o=Debian,n=stretch
    Pin-Priority: 900

    Package: *
    Pin: release o=Debian
    Pin-Priority: -10

Documentation and howtos on running XSpice are rather limited. I found and used those two:

I thus start the XSpice server using this command:

Xspice --xsession slim --config spiceqxl.xorg.conf --port 5920 --disable-ticketing --tls-port 0  :10

I tried a bunch of different display managers (sddm, xdm, gdm, wdm) and different settings for the vt, from :2 up to :40. When using the slim display manager, I get the following error message:

/usr/bin/X11/xauth:  file /var/run/slim.auth does not exist
Invalid MIT-MAGIC-COOKIE-1 keyinterface_get_command: native
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
Fatal server error:
(EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE)  

All the other display managers do not work either, but also do not show this error message. Thus I tried stopping the display manager running locally on the desktop using this command, before I start Xspice:

systemctl stop sddm

Thus no X11 is running locally. Albeit I would like to both run a local X for local users and also connect remote users at the same time. Now when I use the command (same one again):

Xspice --xsession slim --config spiceqxl.xorg.conf --port 5920 --disable-ticketing --tls-port 0  :10

Xorg and the display manager (slim) come up on the monitor connected to the desktop, just like the "normal" xserver.

And again, as pointed out above, I only get a black screen, when I connect with Spicy. The display manager seems to only display on the locally connected monitor no matter what.

Thanks for reading,


Reply to: