Search code examples
serial-portqemuxtermptypts

-serial pty in qemu, how to open?


I am running qemu with

-serial pty

option, and qemu gave this message

char device redirected to /dev/pts/1

however, it doesn't generate new window, I can do cat on pts1 from different window, but then I can't input any character to it.

Is there anyway you can start a new xterm with specific pts number?


Solution

  • My recommendation is using screen. Supposing you get assigned /dev/pts/1, you should call, on another terminal, the following command:

    # screen /dev/pts/1