On Sun, Feb 12, 2017 at 01:48:36PM +0000, Holger Levsen wrote:
> On Fri, Feb 03, 2017 at 04:44:14PM +0000, Unman wrote:
> > echo xterm |/usr/lib/qubes/qfile-daemon-dvm qubes.VMShell dom0 DEFAULT red
> > 
> > will open term in new dispVM
> > 
> > I have this as keyboard shortcut - you can obviously script it to take
> > input for command to run.
> 
> thanks, this is very handy!
> 
> I'm just puzzled that this doesnt work:
> 
>  echo gnome-terminal |/usr/lib/qubes/qfile-daemon-dvm qubes.VMShell dom0 
> DEFAULT red
> 
> it starts a new disposible VM but no gnome-terminal pops up, despite it's
> installed and when I start it manually from an xterm it comes up just fine?!?
> (This is with a Debian 8 dvm.)
> 
> 
> -- 
> cheers,
>       Holger

This comes up quite often - perhaps it should be in the FAQ.

I cant do better than quote my last reply:

This is because gnome-terminal is a stub that calls
gnome-terminal-server to open a new window and then exits. Because the
command you have called exits, the dispVM closes. It's expected
behaviour.

There was a solution proposed in issues - #2581 if you are
interested, but it's ugly (proposer's words) and has significant security
risks. I wouldn't touch it, but then I tend not to sue gnome-terminal
anyway.

And, as Marek pointed out in that thread, this is the reason why the
default config has xterm.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20170212142320.GA18690%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to