Description of problem:
Xspice can not be started as a systemd service in fedora 18.
Version-Release number of selected component (if applicable):
[root@client18 ~]# yum list installed *spice*
Loaded plugins: langpacks, presto, refresh-packagekit
spice-glib.x86_64 0.14-1.fc18 @anaconda
spice-gtk3.x86_64 0.14-1.fc18 @anaconda
spice-server.x86_64 0.12.0-1.fc18 @anaconda
spice-vdagent.x86_64 0.12.0-2.fc18 @fedora
xorg-x11-server-Xspice.x86_64 0.1.0-1.fc18 @updates-testing
Steps to Reproduce:
1. yum install xorg-x11-server-Xspice
2. systemctl start Xspice.service
[root@client18 ~]# systemctl start Xspice.service
Failed to issue method call: Unit Xspice.service failed to load: No such file or directory. See system logs and 'systemctl status Xspice.service' for details.
service to be started
Hmm, why would you want to start an X-server as a service, usually it is started by the display manager, ie gdm and that is the service which is managed at the systemd level.
I apologize. I do not know any better. I was testing gnome-boxes and saw that it should connect to a remote host server as easily as to a remote guest server. So I wanted to try it. However, I am unable to find much documentation so I am rather stumbling around. I have used ssh -X and Xrdp, which does use a systemd service.
Could you direct me to instructions for using Xspice on my Fedora 18 server such that I may connect from Boxes on my Fedora 18 client?
gnome-boxes can connect to any spice server, and Xspice is a spice server.
Xspice can be run as root or as a user, it takes a number of additional parameters Xorg doesn't, the rest are passed to Xorg. There is a readme in the package:
rpm -ql xorg-x11-server-Xspice
Xspice --disable-ticketing --port 6000 :5.0
and you have an open (no password required) server running on port 6000, unencrypted traffic, using display id 5.0 (so export DISPLAY=:5.0 to use for most X clients).
You then connect with gnome-boxes using port 6000.
To create a systemd unit would be possible too, I'll look at the Xrdp one. Maybe what Hans said makes sense too - i.e. doing it at the gdm level.
Yes, I found the README and followed those instructions, but all I got was a blank screen so I thought I must have missed something.
That's expected if you haven't run any X client :)
If you expected the old school stipple background then you need to add it to Xspice parameters (-retro), but it is not recommended since it isn't required and it effect performance (qxl is not optimized for it).
Just launch a window manager and it should be fine.
I guess I expected to see the Gnome desktop as I would with Xrdp.
Could you remind me how to launch a window manager? I vaguely remember doing this many years ago when first working with a remote X server.
Well, you just convinced me that having the same behaviour with Xspice is a good idea, so I'll look into that.
Meahwhile, for launching a gnome session, I can't seem to run another side by side with my existing one
(5 minutes ago)
<alonl> can I run two gnome-sessions with two separate DISPLAY on the same host with the same user?
But icewm works like this:
Xspice --disable-ticketing --port 8888 :5.0
Thank you for considering the systemd configuration. It will be ever so convenient to have one tool, which I guess is destined to become gnome-boxes, to connect to both host and guest servers and to have it all "just work".
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. 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 WONTFIX if it remains open with a Fedora
'version' of '18'.
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 prior to Fedora 18's end of life.
Thank you for reporting this issue and we are sorry that we may not be
able to fix it before Fedora 18 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 to Fedora 18's end of life.
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.
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 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
Thank you for reporting this bug and we are sorry it could not be fixed.