who and w command returns nothing on VNC client (gnome desktop) on RHEL8

Solution Verified - Updated -

Issue

  • On vnc client, w and who command returns nothing.
  • tty output doesn't contain current display number.
  • vnc session does not update /var/log/wtmp and /var/run/utmp
  • The similar phenomenon also can be seen on the server gnome desktop.

Environment

  • Red Hat Enterprise Linux 8
  • gnome-terminal
  • vte291

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content