[GRLUG] remote sessions
Michael Mol
mikemol at gmail.com
Mon Jan 10 08:27:23 EST 2011
On Mon, Jan 10, 2011 at 8:05 AM, Eric Beversluis
<ebever at researchintegration.org> wrote:
>
> I've been accessing my Lenovo Linux laptop (my main computer) from a
> Win7 laptop using NoMachine, since the screen on the Lenova is down
> (hopefully to recover once the inverter I've ordered arrives).
>
> It seems that
> 1. When I access remotely, NoMachine starts a new session.
> 2. NoMachine cannot connect unless I have already logged into the
> Lenovo.
>
> So my question is: What's the explanation for the fact that I need to be
> logged into a session on the Lenovo before NoMachine can create a new
> session? (Fortunately, even without a screen, I can type my password
> into the Lenovo when Ubuntu makes its "ready" noise. But what if one
> were truly running "headless"?)
>
I'm going to venture a guess that the NoMachine server software is
actually *launched* as a process in your desktop session, so if you
haven't already logged in, the server software hasn't been launched
yet.
For most programs, the usual solution for something like that is to
have the daemon software launched as part of the init scripts, i.e.
from under /etc/init.d/. I don't have any personal experience with
NoMachine, though, so I don't know if it would require an X server's
credentials to launch.
As for the headless scenario, the simplest solution would be to run an
X server which doesn't expect any real hardware, like xvfb.
--
:wq
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the grlug
mailing list