[MacPorts] #64300: virt-manager: Gtk-WARNING **: 21:01:27.759: cannot open display:

MacPorts noreply at macports.org
Wed Dec 29 02:33:06 UTC 2021


#64300: virt-manager: Gtk-WARNING **: 21:01:27.759: cannot open display:
---------------------------+--------------------
  Reporter:  HougeLangley  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:
Resolution:                |   Keywords:
      Port:  virt-manager  |
---------------------------+--------------------

Comment (by ryandesign):

 Replying to [comment:4 HougeLangley]:
 > I think I forgot install xquartz. For now, I have been install this one.
 >
 > Running
 >
 >
 > {{{
 > echo $DISPLAY
 > }}}
 >
 > the value is:
 >
 >
 > {{{
 > $ echo $DISPLAY
 > /private/tmp/com.apple.launchd.Aj5EB58m2B/org.xquartz:0
 > }}}

 Great. Installing XQuartz is fine. Alternately, you could have installed
 the xorg-server port with MacPorts to get the same software. The important
 part is that you now have ''some'' X11 server, which is what was missing
 before.

 > I re-running
 >
 > {{{
 > virt-manager --no-fork -c 'qemu+ssh://houge@192.168.1.105/system'
 > }}}
 >
 > the error is:
 >
 >
 > {{{
 > dbus[1239]: Dynamic session lookup supported but failed: launchd did not
 provide a socket path, verify that org.freedesktop.dbus-session.plist is
 loaded!
 > }}}

 The notes that the dbus port should have printed when you installed it
 should help you solve that:

 {{{
 --->  dbus has the following notes:
   Startup items (named 'dbus-system, dbus-session') have been generated
   that will aid in starting dbus with launchd. They are disabled by
   default. Execute the following command to start them, and to cause
   them to launch at startup:

       sudo port load dbus
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/64300#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list