Why does VNC throw an error - Could not connect to session bus?

Solution Verified - Updated -

Issue

  • VNC prompts with the error : Could not connect to session bus:Failed to connect to socket /tmp/dbus-xxxxxx:Connection refused when launched.

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • VNC
  • dbus-daemon

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