Kristi Jorgji
Kristi Jorgji

Reputation: 1739

Vagrant creating multiple terminals in guest machine

I have vagrant and an ubuntu server 16.04 box started with it.

By using vagrant ssh command everything is fine if you need just one terminal, but I need many terminal sessions not just one because I have to start 3 nodejs processes and some other tasks and need to monitor them while running.

Have searched a lot but haven't found any information about this issue. Over vagrant ssh can't event use ubuntu server virtual terminals ttys-

Upvotes: 2

Views: 3898

Answers (2)

NorCalVictoria
NorCalVictoria

Reputation: 11

So I needed two terminal tabs with two separate processes ( local host py server ) AND SaSS for CSS3 compiling . This is what worked for me ; I should mention that I am running virtualenv IN Vagrant and ON VirtualBox .

Open a new Terminal tab . SSH from your Vagrant folder . (vagrant ssh) Activate your virtual machine . (virtualenv)

Run SaSS compiler ( 2nd process )

Hope this helps . Everyone seems to have unique dev environments so it can be tricky .

Upvotes: 1

Frederic Henri
Frederic Henri

Reputation: 53783

The easiest is to have as many terminal session open on your host than you need and for each you can run vagrant ssh.

If you want to have a single vagrant ssh running, you can look at software like screen or tmux

Upvotes: 4

Related Questions