Do your disp vm knows, what to do with the file, that you are trying to open in that dispvm. Specially, has your /usr/share/mimeapps.list in the dispvm template the correct entries?
If your dispvm does not know, how to handle that type of file, then it starts, recognizes, that it has no application for that filetype and shuts down after that (same behaviour, as you described).
For check, please copy the file over to the dispvm template, open a thunar filemanager, click on that file with the right mt and chose “open” (or double click that file).
If the file is not started in the correct application or viewer, it can be the reason for the problem.
Thanks, but I don’t think this command works at all anymore for me. it’s “vm” not “dvm”.
EDIT: Actually it works from the command line with the same outcome, but not even firing up dipsVM when using in File Manager via context menu “Open with other application…”
As I wrote, when I send the file to a dispVM created by said dvm-template and double click it opens. Now, if in that dispVM I’m trying to View the file with /usr/bin/qvm-open-in-vm @dispvm:dvm-template of that very dispVM, new dispVM fires up and immediately shuts down.
So both dispVMs have the same dvm -template, but inconsistent behavior when trying to view them inside dispVM or via other dipsVM invoked by the command above and created by the same dvm-template…
… all over my body. But let’s say that with any dispVM created by my default fedora-mostly-minimal dvm-template (so, not the stock one) I can’t view/edit any plain text document, except the way described above. Nor with any other dvm-template. I don’t want to complicate it here additionally with the fact that in a specific qube (appVM) I can do it with only one of those “non-working” dvm-templates, and it works only for that qube. Now you at least can guess why I was shy…
But if I have to choose, may I also ask you to look at this, since that is of a higher priority for me / more annoying and more frequent than the issue from the OP