View previous topic :: View next topic |
Author |
Message |
sombs n00b
Joined: 29 Jul 2004 Posts: 3
|
Posted: Thu Mar 31, 2005 1:28 am Post subject: Access display on another PC |
|
|
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 |
|
|
JPMRaptor Guru
Joined: 04 Oct 2002 Posts: 410 Location: Maryland
|
Posted: Thu Mar 31, 2005 1:42 am Post subject: |
|
|
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 |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Thu Mar 31, 2005 9:13 am Post subject: |
|
|
Moved from Installing Gentoo. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
sombs n00b
Joined: 29 Jul 2004 Posts: 3
|
Posted: Thu Mar 31, 2005 9:43 am Post subject: |
|
|
JPMRaptor thanks! This is exactly what I was looking for. |
|
Back to top |
|
|
|