Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Access display on another PC
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
sombs
n00b
n00b


Joined: 29 Jul 2004
Posts: 3

PostPosted: Thu Mar 31, 2005 1:28 am    Post subject: Access display on another PC Reply with quote

I have done some searching on this but haven't been able to find what I'm looking for.

Scenario:
I ssh into a PC running Gentoo from a remote location. I start an emerge. Now I am local to the PC that I started an emerge on and want to check status of the compile process.

Can I enter an existing terminal session that was started from a remote location?
Back to top
View user's profile Send private message
JPMRaptor
Guru
Guru


Joined: 04 Oct 2002
Posts: 410
Location: Maryland

PostPosted: Thu Mar 31, 2005 1:42 am    Post subject: Reply with quote

I do exactly that using "screen". It gives you a virtual console that you can disconnect from and reconnect to later.

First you'll need to emerge app-misc/screen.

Then to do what you're looking for just type screen. This will give you a bash prompt inside of the screen virtual terminal. Run emerge (or whatever else) as you normally do. When you're ready to disconnect type Ctrl+a d (that's control and "a" together then "d" without control). This will return you to your original bash prompt (don't worry, the command you left running in screen is still going in the background). When you're ready to go back to your screen virtual terminal just type "screen -r". This will reconnect you right where you left off.

There are LOTS of other cool things you can do with screen. Check out it's man page for details.
_________________
Underwater photo gallery
New pictures, Oct 2005
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Thu Mar 31, 2005 9:13 am    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
sombs
n00b
n00b


Joined: 29 Jul 2004
Posts: 3

PostPosted: Thu Mar 31, 2005 9:43 am    Post subject: Reply with quote

JPMRaptor thanks! This is exactly what I was looking for.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum