Isa A
Isa A

Reputation: 1382

-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?

Upvotes: 9

Views: 8419

Answers (2)

Breno Leitão
Breno Leitão

Reputation: 3677

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

Upvotes: 8

Isa A
Isa A

Reputation: 1382

Found a solution to this, it seems that I can connect to the randomly-assigned pts with minicom.

Upvotes: 2

Related Questions