0

I'm attempting to track down a problem with a particular CSS file being returned as text/html instead of text/css.

file -mime install.css returns some less useful info:

install.css: text/x-c; charset=us-ascii

So I was encouraged to use xdg-mime instead:

[box]# xdg-mime query filetype install.css
xprop:  unable to open display ''
usage:  xprop [-options ...] [[format [dformat]] atom] ...

What am I missing?

a coder
  • 719
  • 4
  • 20
  • 37

1 Answers1

0

I was logged in over ssh. Logging in via noMachine and issuing the command on a terminal in that session worked. No idea why it fails over ssh.

a coder
  • 719
  • 4
  • 20
  • 37
  • 1
    Try to login with `ssh -X` if you have an X Server installed on your remote machine. This will forward the `DISPLAY` to your local machine. – Sven Oct 09 '12 at 13:40