RHEL 8 not allowing to login via VNC

109 views
Skip to first unread message

OK

unread,
Apr 10, 2024, 10:10:33 AM4/10/24
to TigerVNC User Discussion/Support
Hi

Set up TigerVNC by Red Hat guide


The problem is it logs me in with the user I set without ability to login as different user

What I want it to be able connect to VNC and then login with a user.

Pierre Ossman

unread,
Apr 10, 2024, 10:26:15 AM4/10/24
to OK, TigerVNC User Discussion/Support
I'm afraid we don't have a good setup for that. We don't have any
central service in TigerVNC handling such multiplexing of users to the
correct session.

The closest thing we have at the moment is running Xvnc in inetd mode.
Your local display manager (e.g. GDM or LightDM) will then handle the
authentication and session creation.

Note that inetd mode doesn't allow disconnected sessions. So the session
will be killed once the user disconnects, and they'll get a new session
the next time they connect.

Unfortunately, I cannot find a good tutorial for this. There is some
information on the Xvnc man page:

https://tigervnc.org/doc/Xvnc.html

Regards
--
Pierre Ossman Software Development
Cendio AB https://cendio.com
Teknikringen 8 https://twitter.com/ThinLinc
583 30 Linköping https://facebook.com/ThinLinc
Phone: +46-13-214600

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Ben Hildred

unread,
Apr 10, 2024, 3:28:27 PM4/10/24
to Pierre Ossman, OK, TigerVNC User Discussion/Support
You can also run Xvnc from your display manager. this has the disadvantage  that you have to login twice when you start the session but does allow persistent sessions. see https://unix.stackexchange.com/questions/63216/how-to-configure-xorg-conf-for-widescreen-vnc-on-headless-linux-ubuntu/106448#106448 and https://raspberrypi.stackexchange.com/questions/11940/black-screen-with-x-cursor-when-running-vnc-on-boot/11943#11943 for examples.

--
You received this message because you are subscribed to the Google Groups "TigerVNC User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tigervnc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tigervnc-users/2f305952-023f-4660-83ea-9715ebd01d83%40cendio.se.


--
--
Ben Hildred
Automation Support Services

Reply all
Reply to author
Forward
0 new messages