GNS3 / gns3-gui

GNS3 Graphical Network Simulator
http://www.gns3.com
GNU General Public License v3.0
2.17k stars 436 forks source link

GNS3 client also is open a permanent cmd prompt with shortcut gns3.lnk #3290

Closed mortiz-code closed 9 months ago

mortiz-code commented 2 years ago

Hi folks,

Describe the bug After upgrading to 2.2.29 when I open the GNS3 client also is open a permanent cmd prompt with shortcut gns3.lnk that only goes away with I close GNS3 Client. If I close the cmd the GNS3 client also is closed.

GNS3 version and operating system (please complete the following information):

Screenshots or videos Version: image image

CMD: image

Additional context It's a cosmetic problem, GNS3 works well but I don't understand why it started behaving like this.

Thanks!

grossmj commented 2 years ago

This should have been fixed in v2.2.31 Please comment back if you still have the problem. Thanks 👍

mortiz-code commented 2 years ago

Hi @grossmj I've upgraded to 2.2.31 but it has the same behavior remains. image

Thanks,

grossmj commented 2 years ago

Have you uninstalled GNS3 first before re-installing?

mortiz-code commented 2 years ago

Have you uninstalled GNS3 first before re-installing?

Hello,

I've uninstalled GNS3 client from my laptop and did a fresh install of 2.2.31 but the behavior is the same.

image

jfcisnerosm19 commented 2 years ago

Hola @mortiz-code

Encontraste alguna solución, en mi caso actualicé a Windows 11 22H2 y me salió este "problema".

Quedo atento a tus comentarios.

Saludos.

mortiz-code commented 1 year ago

Hola. No, el problema sigue ahi. Nunca se soluciono.

JCDITServices commented 1 year ago

Having the same issue on windows 11 with v2.2.36

JaZzSuperman commented 1 year ago

Still happening on 2.2.37 on windows 11

mortiz-code commented 1 year ago

Still happening on GNS 2.2.38 and W11

image

SebaRivero commented 1 year ago

Hey, I have the same bug on GNS3 v2.2.38 and my OS is also Windows 11

Edit: Running GNS3 as an Administrator makes the cmd go away as soon as it apears. Some of my classmates who also have windows 11 where having the same problem and they also "fixed" it running GNS3 as an Administrator

mortiz-code commented 1 year ago

Hey, I have the same bug on GNS3 v2.2.38 and my OS is also Windows 11

Edit: Running GNS3 as an Administrator makes the cmd go away as soon as it apears. Some of my classmates who also have windows 11 where having the same problem and they also "fixed" it running GNS3 as an Administrator

Interesting, I'll try it tomorrow and let you know if it works.

grossmj commented 1 year ago

I have looked more into it and this may be because of this issue: https://github.com/microsoft/terminal/issues/12464

grossmj commented 9 months ago

One workaround is to switch the default terminal app to "Windows Console host" in the settings.

Screenshot from 2024-02-12 14-38-27

grossmj commented 9 months ago

My last attempt to fix that issue seems to work: https://github.com/GNS3/gns3-gui/commit/3c8cff20b7d9d2dfd62f4c3a02d6ada2a2690a93

Please report back if you still get the problem. Thanks.

Domoninic commented 1 month ago

You can edit the shortcut to use the legacy Console, on the options tab enable "Use legacy console". NOW the hidden console will be a separate console window not attached to the Window Terminal program and no need to change your OS default terminal. Perhaps the installer should enable this in the shortcut by default.