Re: Multi-user VNC on F23 and later

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

 



On 07/08/17 01:50, CLOSE Dave wrote:
> Unfortunately, no, that doesn't help. I already have a one-user setup 
> working and I understand how to extend it to additional users -- so long 
> as the list of users is finite and known to me in advance. But the 
> extension technique involves using unique ports for each user. It is not 
> a properly scalable solution.
>
> With the single-user approach, vncviewer directly asks the user for his 
> password before initiating the connection. That's why it needs a unique 
> port for each user. Using XDMCP with a display manager that supports it 
> works differently. vncviewer doesn't ask for a password and initiates 
> the connection immediately. The user is presented with the same 
> graphical login screen a local user would see. Thus the number of users 
> is not limited by anything I do setting up the configuration.

OK.   Sorry to have misunderstood precisely what you want to do.
I now have it working as I suspect you need it.

1.  Yes, you need KDM.  So, if you've not installed it do so.

2.  Edit /etc/kde/kdm/kdmrc the [Xdmcp] section Enable=true.

3.  Go to /lib/systemd/system and copy xvnc@.service and xvnc.socket to
/etc/systemd/system

4.  Edit /etc/systemd/system/xvnc@.service and delete the User=nobody line.

5.  Now this part is "temporary" until I determine the "proper" way to fix it.  Edit
/etc/sysconfig/selinux and change it to be permissive.  If you don't do that then
Xvnc won't be able to bind to port 5900.

6.  Enable port 5900 on your firewall.

7.  If you've not already done it "systemctl --force enable kdm"

8.  Reboot.

Your console should now be showing KDM as your login screen.

And you now should be able to connect with something like remmina using VNC protocol
and get presented with a KDM login screen.

If you run into trouble, let me know.


-- 
Fedora Users List - The place to go to speculate endlessly

Attachment: signature.asc
Description: OpenPGP digital 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