[GRLUG] remote sessions

Darrel Clute drclute at gmail.com
Mon Jan 10 09:50:30 EST 2011


Eric,

Can you SSH to the laptop before logging on locally?  How is the
laptop connecting to the network, wired or wireless?  NX utilizes SSH
and X11 forwarding and starts on call when executed properly via SSH,
they also have some customizations which permits greater compression
and greater handling of latency then the default X11 over SSH.
Therefore if you cannot SSH to the device you won't be able to launch
an NX session.

Based on your description I would presume that the laptop is
connecting via wireless and you are still using the default
NetworkManager.  NetworkManager will start a wired connection before
login, but not a wireless, by default.  If you are connecting via
wireless, you may want to replace NetworkManager with WICD as the
latter will start a wireless connection before login, and personally I
haven't had much success with NetworkManager successfully starting a
wireless connection before login.

Let me know if that helps or not.


Sincerely,


Darrel Clute



On Mon, Jan 10, 2011 at 08:52, Eric Beversluis
<ebever at researchintegration.org> wrote:
> On Mon, 2011-01-10 at 08:27 -0500, Michael Mol wrote:
>> 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
>>
> That makes sense. Thanks.
>> --
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
>>
>> _______________________________________________
>> grlug mailing list
>> grlug at grlug.org
>> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>

-- 
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