Running certain commands in tty of guest in Gnome Boxes pushes prompt off screen

Discussion in 'Desktop Operation' started by jeremy ruddock, Feb 15, 2023.

  1. jeremy ruddock

    jeremy ruddock New Member

    Hello, i seem to be having some problems with using tty terminals on a guest OS (Fedora 37, Gnome 43) in Gnome Boxes, running a command that gives long output, such as cat on a large file, pushes the prompt off the bottom of the screen, with the only way to get it back seeming to be clearing the screen. Could anyone possibly provide a solution for this? I wasn't able to find a lot about this, but what i could find suggested it had to with the wrong resolution being set for the vm. Any help would be greatly appreciated.
     
  2. pyte

    pyte Well-Known Member HowtoForge Supporter

    You can list all available framebuffer modes with a tool like hwinfo and set one of the modes in your grub defaults and then update grub and reboot. Or set them temporary by editing grub config while booting.

    For example add or change the line in /etc/default/grub:
    Code:
    GRUB_GFXPAYLOAD_LINUX=1280x1024
    and then run the update-grub and reboot:
    Code:
    update-grub
    reboot
     
    ahrasis likes this.
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    And you can use the command 'more' to view the output step by step. e.g.:

    ls -la /etc | more
     
    ahrasis likes this.

Share This Page