Date: Tue, 05 Jun 2007 22:48:04 +0545 From: Tek Bahadur Limbu <teklimbu@wlink.com.np> To: Pieter de Goeje <pieter@degoeje.nl> Cc: Jeremy Gransden <jeremy.gransden@gmail.com>, freebsd-questions@freebsd.org Subject: Re: See output of local xterm session on remote ssh session. Message-ID: <46659748.3030001@wlink.com.np> In-Reply-To: <200706021346.05267.pieter@degoeje.nl> References: <87f7f4170706020423x6f67e84bv366cc765d21529a6@mail.gmail.com> <200706021346.05267.pieter@degoeje.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Pieter de Goeje wrote: > On Saturday 02 June 2007, Jeremy Gransden wrote: >> Hello, >> >> I have been searching Google for a few days for this but have not been >> coming up with the correct answer. Then again maybe I am asking the wrong >> question... If I start a process, i.e. compile a kernel, on my desktop, how >> can I then connect to it from my laptop and see the output of that process >> via the ssh session? >> >> thanks, >> Jeremy > screen(1) is the tool for this. You can find it in the ports collection > (sysutils/screen). > > For example: > $ screen > $ cd /usr/src; sudo make buildworld > (now press CTRL+A D) > > On the other machine, ssh into the desktop > $ screen -r > (press CTRL+A D if you've seen enough) > > Also, this will protect the running job from accidental (or purposefully) > closure of the terminal. Wow, always thought of learning how to learn this "magic". Thanks for sharing this wonderful tip! Thanking you... FreeBSD Rocks! > > HTH, > Pieter de Goeje > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46659748.3030001>