On 05.06.2017 16:09, Ed Greshko wrote:
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 WindowsInstall 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 walterI assume you changed 2 lines... User=<USER> PIDFile=/home/<USER>/.vnc/%H%i.pid
yes, these both lines
as fedora has a strange way of feedback as I mentioned earlier I didn't see at this time no errordid systemctl daemon-reload systemctl enable vncserver@:1.service systemctl start vncserver@:1.serviceAnd you are saying that started without error?
this error comes after I've connected via VNC viewer and "worked" for less than a minute ...[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....
SELinux, I should generate a .tt file and add some permissionsI've changed from enforcing to permissive before the last reboot and it runs :-)
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
mine will look similar ...
I tell you some secret: user walter is a non admin, and with this I only can use this appletfirewall-cmd --add-port=5901/tcp --permanentFWIW, the firewall-applet has a checkbox to allow vncsever and opens multiple ports.
when logging in directly at the computer and not remote ...
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
it is running now as expected due to permissive instead of enforcing bye the way, why do I get at http://forums.fedoraforum.org/showthread.php?t=305255 the error 403 Error. Access is Forbidden to this Page!!! Greetings, Walter
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx