Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2798

Opening a pdf on Ubuntu on WSL

$
0
0

I'm using Ubuntu 20.04 with WSL2 in Windows 10.I need to open a file Rplot.pdf on Ubuntu.

I've tried:

First:

xdg-open Rplots.pdf

I got:

Error: no "view" mailcap rules found for type "application/pdf"

Next:

gio open Rplots.pdf

I got:

(gio open:343): GLib-GIO-CRITICAL **: 10:06:22.333: g_dbus_connection_flush: assertion 'G_IS_DBUS_CONNECTION (connection)' failed xterm: Xt error: Can't open display: xterm: DISPLAY is not set


Viewing all articles
Browse latest Browse all 2798

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>