Re: Difficulties at very first steps with f25kde ...

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

 



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 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
yes, these both lines
did
systemctl daemon-reload
systemctl enable vncserver@:1.service
systemctl start vncserver@:1.service
And you are saying that started without error?
as fedora has a strange way of feedback as I mentioned earlier I didn't see at this time no error

[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 error comes after I've connected via VNC viewer and "worked" for less than a minute ...
This was caused by an selinux issue.  The AVCs I got were....
SELinux, I should generate a .tt file and add some permissions
I'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 ...

firewall-cmd --add-port=5901/tcp --permanent
FWIW, the firewall-applet has a checkbox to allow vncsever and opens
multiple ports.
I tell you some secret: user walter is a non admin, and with this I only can use this applet
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
[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