[GRLUG] remote sessions

Michael Mol mikemol at gmail.com
Mon Jan 10 10:33:49 EST 2011


On Mon, Jan 10, 2011 at 9:54 AM, Ben Rousch <brousch at gmail.com> wrote:
> On Mon, Jan 10, 2011 at 9:50 AM, Darrel Clute <drclute at gmail.com> wrote:
>> 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.
>
> I've used NX for half a decade and I've been racking my brain all
> morning about this problem. You make perfect sense. I've always used
> it with a wired server so I never thought about how it would behave
> with a wireless server.

OK, but before switching away from NetworkManager, check out 'cnetworkmanager'.

NetworkManager consists of two parts...a daemon which interacts with
lower-level network management tools, and clients which communicate
with the manager via D-BUS.

In most systems, NetworkManager is controlled via nm-applet, which
shows up in your XDG system tray. You can also use cnetworkmanager,
which is a console-mode client.

I would assume there's a configuration option, somewhere, to allow
NetworkManager to configure wifi connections without a login session.
If not, it should be possible to use the console-mode client in an
init script (possibly inside a screen session?) to get the wireless
connection configured.

Probably not as elegant as having a configuring daemon you don't need
to interact with, though.

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