Mailinglist Archive: opensuse (3242 mails)

< Previous Next >
Re: [SLE] [VNC] also serving without X?
  • From: Anders Johansson <andjoh@xxxxxxxxxxxxxxxxxxxxx>
  • Date: Mon, 17 Sep 2001 20:45:42 +0200
  • Message-id: <200109171845.f8HIjgr24378@xxxxxxxxxxxxxxxxxxxxx>
On Monday 17 September 2001 19.57, Dale Schuster wrote:
> On 17 Sep 2001, at 15:07, Anders Johansson wrote:
> > Here's what I did in a related situation: I ran the console based
> > programs in screen, and detached them. From a remote computer, you can
> > then ssh in and do a screen reattach. You'll then get the contents of
> > screen in much the same way as vnc gives you the contents of an x
> > session.
> >
> > HTH
> > Anders
>
> I'm not very experienced with disconnecting sessions, BUT...
>
> When I read the problem, my first thought was to redirect the
> output to a file, then any connections will be able to view the
> contents of that file. This won't be very pretty however, if the
> program is formatting the output to the screen, as opposed to just
> printing lines in the manner of syslog.
>
> ~Dale
>

An even bigger problem is if the program expects input from the user. With
screen, the program works on a virtual console (even more virtual than the
normal ctrl-alt-Fn), and you can reattach and work with the program just as
if you were at the real console.

But if it's just the output that's interesting, then redirecting it to a file
is unquestionably simpler

Anders

< Previous Next >
This Thread
Follow Ups