Re: vnc not into gnome but Xfce but still not working

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

 



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




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux