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

"Terminal" does not work in debian-9-dvm: it crashes after start. "XTerm" does work. #3878

Open
Wikinaut opened this Issue May 5, 2018 · 6 comments

Comments

Projects
None yet
5 participants
@Wikinaut

Wikinaut commented May 5, 2018

Qubes OS version:

R4.0

Affected component(s):

Terminal is part of the default set of applications, but when following the instructions of https://www.qubes-os.org/doc/dispvm-customization/ , Terminal crashes immediately after start in an debian-9-dvm.

XTerm works.


Steps to reproduce the behavior:

Expected behavior:

Actual behavior:

General notes:


Related issues:

@andrewdavidwong andrewdavidwong added this to the Documentation/website milestone May 5, 2018

@awokd

This comment has been minimized.

Show comment
Hide comment
@awokd

awokd May 9, 2018

@Wikinaut Which section of that document are you following? And if you are running "terminal", try "gnome-terminal" instead.

awokd commented May 9, 2018

@Wikinaut Which section of that document are you following? And if you are running "terminal", try "gnome-terminal" instead.

@Wikinaut

This comment has been minimized.

Show comment
Hide comment
@Wikinaut

Wikinaut May 9, 2018

@awokd I followed this section https://www.qubes-os.org/doc/dispvm-customization/#creating-new-disposable-vm-base-appvm and installed a debian-9-dvm.

The "Terminal" I mean is one of the four standard applications (Firefox, Terminal, Qube Settings and one more) which are installed and reachable via the App control icon (right click in the Qubes Menu in the upper left corner of Qubes-QS onto the debian-9-dvm machine icon).

Wikinaut commented May 9, 2018

@awokd I followed this section https://www.qubes-os.org/doc/dispvm-customization/#creating-new-disposable-vm-base-appvm and installed a debian-9-dvm.

The "Terminal" I mean is one of the four standard applications (Firefox, Terminal, Qube Settings and one more) which are installed and reachable via the App control icon (right click in the Qubes Menu in the upper left corner of Qubes-QS onto the debian-9-dvm machine icon).

@jimtahu

This comment has been minimized.

Show comment
Hide comment
@jimtahu

jimtahu May 9, 2018

I am seeing this as well, with both fedora-26-dvm and debian-9-dvm: gnome-terminal shortcut only starts the vm briefly and immediately closes, the xterm shortcut works as expected (new dvm and xterm running).

Running gnome-terminal in the resulting xterm works fine. Notably though, it seems the immediate invocation returns immediately, and closing the xterm shutsdown the vm (killing the gnome-terminal).

I am suspecting gnome-terminal returning immediately is tricking the disposable vm into thinking it should shutdown.

jimtahu commented May 9, 2018

I am seeing this as well, with both fedora-26-dvm and debian-9-dvm: gnome-terminal shortcut only starts the vm briefly and immediately closes, the xterm shortcut works as expected (new dvm and xterm running).

Running gnome-terminal in the resulting xterm works fine. Notably though, it seems the immediate invocation returns immediately, and closing the xterm shutsdown the vm (killing the gnome-terminal).

I am suspecting gnome-terminal returning immediately is tricking the disposable vm into thinking it should shutdown.

@Wikinaut

This comment has been minimized.

Show comment
Hide comment
@Wikinaut

Wikinaut May 10, 2018

@jimtahu Yes, this is what I noticed. Qubes team should have a deeper look into this problem.

@jimtahu Yes, this is what I noticed. Qubes team should have a deeper look into this problem.

@techgeeknz

This comment has been minimized.

Show comment
Hide comment
@techgeeknz

techgeeknz May 10, 2018

In order to mitigate this issue in future Qubes releases, I recommend replacing nautilus with thunar and gnome-terminal with either one of lxterminal or xfce4-terminal.

Each one of these software packages are capable but lightweight replacements for their Gnome counterparts (thunar even supports GVFS); and, more importantly, work well with DVMs.

In order to mitigate this issue in future Qubes releases, I recommend replacing nautilus with thunar and gnome-terminal with either one of lxterminal or xfce4-terminal.

Each one of these software packages are capable but lightweight replacements for their Gnome counterparts (thunar even supports GVFS); and, more importantly, work well with DVMs.

@andrewdavidwong andrewdavidwong modified the milestones: Documentation/website, Release 4.0 updates May 10, 2018

@andrewdavidwong andrewdavidwong modified the milestones: Release 4.0 updates, Documentation/website May 10, 2018

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong May 10, 2018

Member

@jimtahu:

I am seeing this as well, with both fedora-26-dvm and debian-9-dvm: gnome-terminal shortcut only starts the vm briefly and immediately closes, the xterm shortcut works as expected (new dvm and xterm running).

Running gnome-terminal in the resulting xterm works fine. Notably though, it seems the immediate invocation returns immediately, and closing the xterm shutsdown the vm (killing the gnome-terminal).

I am suspecting gnome-terminal returning immediately is tricking the disposable vm into thinking it should shutdown.

#2581 is the issue for this.


@Wikinaut:

I followed this section https://www.qubes-os.org/doc/dispvm-customization/#creating-new-disposable-vm-base-appvm and installed a debian-9-dvm.

The "Terminal" I mean is one of the four standard applications (Firefox, Terminal, Qube Settings and one more) which are installed and reachable via the App control icon (right click in the Qubes Menu in the upper left corner of Qubes-QS onto the debian-9-dvm machine icon).

If the DispVM menu is using gnome-terminal instead of xterm by default, that sounds like an unintended regression (see #2581 (comment)). Please file a separate issue for this.

We'll keep the current issue about the documentation, which should be updated to direct users to use xterm instead of gnome-terminal for the reasons explained in the comments on #2581.


@techgeeknz:

In order to mitigate this issue in future Qubes releases, I recommend replacing nautilus with thunar and gnome-terminal with either one of lxterminal or xfce4-terminal.

We'd prefer not to resort to this, if it can be avoided:
https://www.qubes-os.org/faq/#what-is-qubes-attitude-toward-changing-guest-distros

Member

andrewdavidwong commented May 10, 2018

@jimtahu:

I am seeing this as well, with both fedora-26-dvm and debian-9-dvm: gnome-terminal shortcut only starts the vm briefly and immediately closes, the xterm shortcut works as expected (new dvm and xterm running).

Running gnome-terminal in the resulting xterm works fine. Notably though, it seems the immediate invocation returns immediately, and closing the xterm shutsdown the vm (killing the gnome-terminal).

I am suspecting gnome-terminal returning immediately is tricking the disposable vm into thinking it should shutdown.

#2581 is the issue for this.


@Wikinaut:

I followed this section https://www.qubes-os.org/doc/dispvm-customization/#creating-new-disposable-vm-base-appvm and installed a debian-9-dvm.

The "Terminal" I mean is one of the four standard applications (Firefox, Terminal, Qube Settings and one more) which are installed and reachable via the App control icon (right click in the Qubes Menu in the upper left corner of Qubes-QS onto the debian-9-dvm machine icon).

If the DispVM menu is using gnome-terminal instead of xterm by default, that sounds like an unintended regression (see #2581 (comment)). Please file a separate issue for this.

We'll keep the current issue about the documentation, which should be updated to direct users to use xterm instead of gnome-terminal for the reasons explained in the comments on #2581.


@techgeeknz:

In order to mitigate this issue in future Qubes releases, I recommend replacing nautilus with thunar and gnome-terminal with either one of lxterminal or xfce4-terminal.

We'd prefer not to resort to this, if it can be avoided:
https://www.qubes-os.org/faq/#what-is-qubes-attitude-toward-changing-guest-distros

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