New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add appmenu for starting Terminal in DispVM #1612

Closed
rootkovska opened this Issue Jan 13, 2016 · 7 comments

Comments

Projects
None yet
4 participants
@rootkovska
Member

rootkovska commented Jan 13, 2016

Useful cases include:

  1. "wget | bash" workflows (testing/research)
  2. semi-trusted gpg keys signing (create dispvm, qvm-copy master and key to sign, sign, qvm-copy the signed key)
  3. generation of sensitive output which requires networking (e.g. proof of freshness for canaries)
  4. etc
@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 13, 2016

Member

Would xterm be enough? It is somehow tricky for gnome-terminal, because that process terminates just after sending a message to gnome-terminal-server, so DispVM would be terminated just after starting...

Member

marmarek commented Jan 13, 2016

Would xterm be enough? It is somehow tricky for gnome-terminal, because that process terminates just after sending a message to gnome-terminal-server, so DispVM would be terminated just after starting...

@rootkovska

This comment has been minimized.

Show comment
Hide comment
@rootkovska

rootkovska Jan 13, 2016

Member

On Wed, Jan 13, 2016 at 05:36:54AM -0800, Marek Marczykowski-Górecki wrote:

Would xterm be enough? It is somehow tricky for gnome-terminal, because that process terminates just after sending a message to gnome-terminal-server, so DispVM would be terminated just after starting...

Sure.

Member

rootkovska commented Jan 13, 2016

On Wed, Jan 13, 2016 at 05:36:54AM -0800, Marek Marczykowski-Górecki wrote:

Would xterm be enough? It is somehow tricky for gnome-terminal, because that process terminates just after sending a message to gnome-terminal-server, so DispVM would be terminated just after starting...

Sure.

@cfcs

This comment has been minimized.

Show comment
Hide comment
@cfcs

cfcs Apr 30, 2016

I would like to have this for tmux (so that accidentally clicking the x button doesn't kill the vm).
I realize not everyone might need that, but does anyone know how to configure what gets run by the dispvm? Is there a switch to qvm-run or qvm-start ? (should there be?)

cfcs commented Apr 30, 2016

I would like to have this for tmux (so that accidentally clicking the x button doesn't kill the vm).
I realize not everyone might need that, but does anyone know how to configure what gets run by the dispvm? Is there a switch to qvm-run or qvm-start ? (should there be?)

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Apr 30, 2016

Member

@cfcs, try this (from dom0):

sh -c 'echo tmux | /usr/lib/qubes/qfile-daemon-dvm qubes.VMShell dom0 DEFAULT red'

If that works for you, you can simply create a custom menu shortcut with that as the commend.

Member

andrewdavidwong commented Apr 30, 2016

@cfcs, try this (from dom0):

sh -c 'echo tmux | /usr/lib/qubes/qfile-daemon-dvm qubes.VMShell dom0 DEFAULT red'

If that works for you, you can simply create a custom menu shortcut with that as the commend.

@cfcs

This comment has been minimized.

Show comment
Hide comment
@cfcs

cfcs May 1, 2016

Works like a charm! Thanks @andrewdavidwong

cfcs commented May 1, 2016

Works like a charm! Thanks @andrewdavidwong

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jul 17, 2016

Member

Automated announcement from builder-github

The package qubes-core-dom0-linux-3.2.5-1.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

Member

marmarek commented Jul 17, 2016

Automated announcement from builder-github

The package qubes-core-dom0-linux-3.2.5-1.fc23 has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jul 25, 2016

Member

Automated announcement from builder-github

The package qubes-core-dom0-linux-3.2.5-1.fc23 has been pushed to the r3.2 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Member

marmarek commented Jul 25, 2016

Automated announcement from builder-github

The package qubes-core-dom0-linux-3.2.5-1.fc23 has been pushed to the r3.2 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment