On 07/23/2014 07:00 PM, poma wrote:
On 23.07.2014 10:40, poma wrote:
$ grep -v ^# $HOME/.vnc/xstartup
startxfce4
$ grep -v ^# /etc/systemd/system/vncserver@\:1.service
[Unit]
Description=Remote desktop service (VNC)
After=syslog.target network.target
[Service]
Type=simple
ExecStartPre=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
ExecStart=/sbin/runuser -l <USER> -c "/usr/bin/vncserver %i -fg"
ExecStop=/bin/sh -c '/usr/bin/vncserver -kill %i > /dev/null 2>&1 || :'
ExecStopPost=/sbin/runuser -l root -c "/usr/bin/Loginctl-Clean"
[Install]
WantedBy=multi-user.target
However if someone is eager enough to play with the 'Xspice'
http://www.spice-space.org/page/Features/Xspice
Server:
$ Xspice --port <PORT> --exit-on-disconnect --xsession startxfce4 --disable-ticketing :2 &
Client:
$ spicy -h <Spice server address/hostname> -p <PORT>
$ Xspice -h
$ spicy -?
$ repoquery -i xorg-x11-server-Xspice
$ repoquery -i spice-gtk-tools
systemd a service unit exemple
Server:
$ grep -v ^# /etc/systemd/system/xspiceserver@\:2.service
[Unit]
Description=Remote desktop service (Xspice)
After=syslog.target network.target
[Service]
ExecStart=/sbin/runuser -l <USER> -c "/usr/bin/Xspice --xsession startxfce4 --port 5902 --disable-ticketing %i"
ExecStopPost=/sbin/runuser -l root -c "/usr/bin/Loginctl-Clean"
[Install]
WantedBy=multi-user.target
# systemctl start xspiceserver@:2.service
Note: xorg-x11-server-Xspice is x86_64 only.
Client:
$ spicy -h <Spice server address/hostname> -p 5902
OR
$ remote-viewer spice://<Spice server address/hostname>:5902
etc.
remote desktop fan club
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org