On 06/05/17 21:30, Walter H. wrote: > On 05.06.2017 09:18, Ed Greshko wrote: >> On 06/05/17 14:31, Walter H. wrote: >>> Hello, >>> >>> On 05.06.2017 01:52, Ed Greshko wrote: >>>> On 06/05/17 04:37, Walter H. wrote: >>>> FWIW, in the past I've found it easier to run a Vnc client on windows >>>> and a Vnc Server on the Linux side... >>>> >>>> That being said.... >>> how do I this? >> Install https://www.realvnc.com/download/vnc/windows/ on the Windows >> side. (Use the supplied client SW) > ok, I already have the VNCviewer on my Windows >> Install tigervnc-server on fedora. From there you can either decide if >> you want to have a user invoke the server from say a terminal or ssh >> session or to make it a system service by following the directions in >> /lib/systemd/system/vncserver@.service. > I did what this file said ... > > cp /lib/systemd/system/vncserver@.service > /etc/systemd/system/vncserver@.service > > I edited /etc/systemd/system/vncserver@.service and changed <USER> > with walter I assume you changed 2 lines... User=<USER> PIDFile=/home/<USER>/.vnc/%H%i.pid > > did > systemctl daemon-reload > systemctl enable vncserver@:1.service > systemctl start vncserver@:1.service And you are saying that started without error? I ask since it has been a long time since I've done this and in doing this just now the start fails. [root@f25f system]# systemctl start vncserver@:1.service Job for vncserver@:1.service failed because a timeout was exceeded. See "systemctl status vncserver@:1.service" and "journalctl -xe" for details. This was caused by an selinux issue. The AVCs I got were.... type=AVC msg=audit(1496670517.042:290): avc: denied { unlink } for pid=1 comm="systemd" name="f25f.greshko.com:1.pid" dev="sda3" ino=17229 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:user_home_t:s0 tclass=file permissive=0 type=AVC msg=audit(1496670702.480:298): avc: denied { open } for pid=1 comm="systemd" path="/home/egreshko/.vnc/f25f.greshko.com:1.pid" dev="sda3" ino=17277 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:user_home_t:s0 tclass=file permissive=0 type=AVC msg=audit(1496670702.480:299): avc: denied { open } for pid=1 comm="systemd" path="/home/egreshko/.vnc/f25f.greshko.com:1.pid" dev="sda3" ino=17277 scontext=system_u:system_r:init_t:s0 tcontext=system_u:object_r:user_home_t:s0 tclass=file permissive=0 > > firewall-cmd --add-port=5901/tcp --permanent FWIW, the firewall-applet has a checkbox to allow vncsever and opens multiple ports. > > > the password ... > su - walter > vncpasswd ... > > after rebooting the computer > > VNCviewer connected and there I gave the password I configured above > with vncpasswd > but > after less than a minute the connection closes > and I get this dialog from VNC viewer > > read: Connection reset by peer (10054) > Do you wish to attempt to reconnect to 172.23.1.7:5901 > clicking Yes gives this: > unable to connect to host: Connection refused (10061) > > SOS please help me, how to get any way of a stable graphical > connection from Windows > to this Fedora 25 ... At this point you should check the status of the vncserver ... systemctl status vncserver@:1.service -- Fedora Users List - The place to go to speculate endlessly _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx