canonical / multipass

Multipass orchestrates virtual Ubuntu instances
https://multipass.run
GNU General Public License v3.0
7.85k stars 650 forks source link

Not being able to type in multipass shell #2473

Open colaman360 opened 2 years ago

colaman360 commented 2 years ago

Describe the bug Whenever I use the multipass shell command it shows the ubuntu shell but I can't type anything.

To Reproduce How, and what happened?

  1. multipass shell haloed-dogfish
  2. shows the ubuntu shell but I can't type

Expected behavior To be able to type commands in the ubuntu shell

Logs Level Date and Time Source Event ID Task Category Information 3/6/2022 5:59:52 PM Multipass 1 None [ubuntu] Got VMState: running

Information 3/6/2022 5:59:52 PM Multipass 1 None [haloed-dogfish] Got VMState: running

Information 3/6/2022 5:59:51 PM Multipass 1 None [ubuntu] Got VMState: running

Information 3/6/2022 5:59:51 PM Multipass 1 None [haloed-dogfish] Got VMState: running

Information 3/6/2022 5:59:50 PM Multipass 1 None [ubuntu] Got VMState: running

Information 3/6/2022 5:59:50 PM Multipass 1 None [haloed-dogfish] Got VMState: running

Information 3/6/2022 5:59:49 PM Multipass 1 None [ubuntu] Got VMState: running

Information 3/6/2022 5:59:49 PM Multipass 1 None [haloed-dogfish] Got VMState: running

Information 3/6/2022 5:59:48 PM Multipass 1 None [ubuntu] Got VMState: running

Information 3/6/2022 5:59:48 PM Multipass 1 None [haloed-dogfish] Got VMState: running

Information 3/6/2022 5:59:47 PM Multipass 1 None [ubuntu] Got VMState: running

Information 3/6/2022 5:59:47 PM Multipass 1 None [haloed-dogfish] Got VMState: running

Information 3/6/2022 5:59:46 PM Multipass 1 None [ubuntu] Got VMState: running

Information 3/6/2022 5:59:46 PM Multipass 1 None [haloed-dogfish] Got VMState: running

Information 3/6/2022 5:59:46 PM Multipass 1 None [haloed-dogfish] Got VMState: running

Information 3/6/2022 5:59:46 PM Multipass 1 None [haloed-dogfish] Got VMState: running

Information 3/6/2022 5:59:45 PM Multipass 1 None [ubuntu] Got VMState: running

Information 3/6/2022 5:59:45 PM Multipass 1 None [haloed-dogfish] Got VMState: running

Information 3/6/2022 5:59:44 PM Multipass 1 None [ubuntu] Got VMState: running

Information 3/6/2022 5:59:44 PM Multipass 1 None [haloed-dogfish] Got VMState: running

Information 3/6/2022 5:59:43 PM Multipass 1 None [ubuntu] Got VMState: running

Information 3/6/2022 5:59:43 PM Multipass 1 None [haloed-dogfish] Got VMState: running

Information 3/6/2022 5:59:42 PM Multipass 1 None [ubuntu] Got VMState: running

Information 3/6/2022 5:59:42 PM Multipass 1 None [haloed-dogfish] Got VMState: running

Information 3/6/2022 5:59:41 PM Multipass 1 None [ubuntu] Got VMState: running

Information 3/6/2022 5:59:41 PM Multipass 1 None [haloed-dogfish] Got VMState: running

Information 3/6/2022 5:59:40 PM Multipass 1 None [ubuntu] Got VMState: running

Information 3/6/2022 5:59:40 PM Multipass 1 None [haloed-dogfish] Got VMState: running

Information 3/6/2022 5:59:39 PM Multipass 1 None [ubuntu] Got VMState: running

Information 3/6/2022 5:59:39 PM Multipass 1 None [haloed-dogfish] Got VMState: running

Information 3/6/2022 5:59:38 PM Multipass 1 None [ubuntu] Got VMState: running

Information 3/6/2022 5:59:38 PM Multipass 1 None [haloed-dogfish] Got VMState: running

Information 3/6/2022 5:59:37 PM Multipass 1 None [ubuntu] Got VMState: running

Information 3/6/2022 5:59:37 PM Multipass 1 None [haloed-dogfish] Got VMState: running

Additional info

Additional context Using the virtualbox driver Tried different terminal emulators like cmder and powershell 7 but got the same thing image

Saviq commented 2 years ago

@colaman360 what about if you try logging in with plain ssh?

E.g. launch an instance with --cloud-init <file>, where the file contains:

ssh_authorized_keys:
- <your SSH key>

Then, ssh ubuntu@localhost:<port> - you'll need to take the port from Multipass logs or from the VirtualBox GUI or VBoxManage.exe.

BTW, with Ultimate you'd be better off using the default Hyper-V driver.

Windows Terminal would be another thing to try, being probably the most polished terminal on Windows these days.