Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Gimp can not read/display images on the Ubuntu18.04LTS subsystem in Win10
#1
Bug 
I have installed Ubuntu18.04LTS subsystem in Win10. Gimp are also installed and updated.


the gimp error messgaes:
(1) when I open gimp with the code: "export DISPALY=:0.0, gimp", an error message will be shown in the Ubuntu terminal, as shown in the below,

Failed to execute child process “dbus-launch” (No such file or directory)
(gimp:1109): GLib-GObject-WARNING **: 10:18:49.757: g_object_set_is_valid_property: object class 'GeglConfig' has no property named 'cache-size'
/usr/bin/dbus-launch terminated abnormally without any error message

(2) when I would like to read a image(gimp can not open .eps, .jpeg, but can open PDF file ) with gimp, a gimp message will appear as the following,
Opening '/home/qixycn/P1structure.eps' failed:
Permission denied

I truely hope someone can help me solve these problems. It has troubles me about a week. I'm so frustrated. Thank you in advance.
Reply
#2
  • DISPALY or DISPLAY?
  • How did you install/update Gimp?
  • Is WSL supposed to support graphic apps? I though that was just a CLI thing.
  • What are the access rights on the file? In a Linux command prompt, can you do cat /home/qixycn/P1structure.eps >/dev/null?
  • Why are you using the Linux version instead of using the Windows version on native Windows?
Reply
#3
Install an X-Server, maybe Xming - http://www.straightrunning.com/XmingNotes/
..or install from the Windows Store (might be easier!),
activate it, then in the Windows Subsystem command prompt type:
    
Code:
export DISPLAY=:0

Press Enter
Then type  gimp  or ./gimp
Reply


Forum Jump: