Opened 3 years ago

Last modified 2 years ago

#65202 new defect

Thunar: cannot open display:

Reported by: ricardo-coverwallet (Ricardo) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: Thunar

Description (last modified by ricardo-coverwallet (Ricardo))

This is the error message:

(Thunar:46255): Gtk-WARNING : 15:29:46.299: cannot open display:

apparently does not find any display (there is an empty space in the error message)

Change History (5)

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Summary: Can not initialize ThunarThunar: cannot open display:

Do you have an X11 server installed and running, for example the xorg-server port or the installation from xquartz.org?

comment:2 Changed 3 years ago by ricardo-coverwallet (Ricardo)

Description: modified (diff)

No, I didn't have one. I didn't see it listed as a required dependency.

I've just installed xquarz from the link an Thunar does open it, however its behavior is... there are no icons, whenever the window gets the focus it becomes black... but I think this is not because of Thunar but because of xquarz. I got error like this:

ThunarThumbnailer: Failed to retrieve supported types: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.thumbnails.Thumbnailer1 was not provided by any .service files

comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

All X11-based software, such as Thunar, requires you to have an X11 server installed and set up properly. It need not necessarily be the xorg-server port from MacPorts; it could be the equivalent download from xquartz.org or even something running on a different machine on the network. That is why X11-based ports do not declare a dependency on xorg-server.

Since dbus is mentioned in the error message, have you started the dbus service? Read the output of port notes dbus.

comment:4 Changed 2 years ago by ricardo-coverwallet (Ricardo)

Hi, I'm not such an advanced user to know these kind of things.

I've just tried launching dbus

sudo port load dbus
Password:
--->  Loading startupitem 'dbus-system' for dbus
--->  Loading startupitem 'dbus-session' for dbus

and then when launching tunar

thunar
ThunarThumbnailer: Failed to retrieve supported types: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.thumbnails.Thumbnailer1 was not provided by any .service files

the behaviour is exactly the same

Last edited 2 years ago by ricardo-coverwallet (Ricardo) (previous) (diff)

comment:5 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

When I Google that error message, I get the suggestion to install "a thumbnailer" like tumbler, so maybe try that. Hopefully it gets rid of that message, however I'm not certain whether that message is the cause of the window drawing problems you're seeing.

Note: See TracTickets for help on using tickets.