[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to login from old pc to new pc



Hi, 
thanks for the quick help. I have followed your advice - but I still
ain't where I'd like to be. Maybe you can help me a bit further. 

On Sun, 2003-02-16 at 03:36, jereme wrote: 
...
> It sounds like you want to be able to log in to an X environment
> displayed on old_box but with new_box hosting the session, (doing all
> the work).  Is that correct?
Yep! Got 2 GNOMEs running; login with GDM. 
> ...
> First, if you haven't already, get ssh working on new_box so you can
> log in from old_box.
I've got a package installed called ssh (there are quite a few out
there). But I'm not sure if it's set up right. scanssh answers with
scanssh: nothing to scan. I got esshsh to help me with a front end - but
it's screens don't say much to me. 

> ...
> First, on old_box, check that the running X server is listeing for
> connections from remote clients.  For the first display on your host,
> you should find that 6000/tcp is open, check with 'netstat --inet
> -an'.  If it isn't, it just means your X server was started with the
> '-nolisten tcp' switch, (a good idea for most folks who don't intend
> to do what we want). 

This is what netstat says on old_pc (future second terminal): 

netstat --inet -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address       Foreign Address     State
tcp        0      0 0.0.0.0:515         0.0.0.0:*           LISTEN
tcp        0      0 0.0.0.0:37          0.0.0.0:*           LISTEN
tcp        0      0 0.0.0.0:9           0.0.0.0:*           LISTEN
tcp        0      0 0.0.0.0:20012       0.0.0.0:*           LISTEN
tcp        0      0 0.0.0.0:2317        0.0.0.0:*           LISTEN
tcp        0      0 0.0.0.0:13          0.0.0.0:*           LISTEN
tcp        0      0 0.0.0.0:6000        0.0.0.0:*           LISTEN
tcp        0      0 0.0.0.0:80          0.0.0.0:*           LISTEN
tcp        0      0 0.0.0.0:6001        0.0.0.0:*           LISTEN
tcp        0      0 0.0.0.0:119         0.0.0.0:*           LISTEN
udp        0      0 0.0.0.0:9           0.0.0.0:*
udp        0      0 0.0.0.0:177         0.0.0.0:*
 
> ...
> manager is configured to start the local X server and make sure it
> starts it without the '-nolisten tcp' switch.
I removed -nolisten tcp (via gdmconfig). 

> Now, still on old_box, tell the running X server to allow clients to
> connect from new_box.  Xauthority is a better system for controlling
> access to the server but for now, start playing with xhost as it is
> simpler.
> 
> $ xhost + new_box
xhost: unable to open display ""	is what I get as an answer
> 
> This tells the X server on old_box to allow clients from new_box to
> connect and make use of the display and input fascilities.
> 
> After logging in to new_box via ssh, export a DISPLAY variable:
> $ export DISPLAY=old_box:0
> 
Well, all I'm getting, on both systems, is the usual GDM Face chooser 
no opportunity to pick a system.

Well, all I'm getting, on both systems, is the usual GDM Face chooser -
no opportunity to pick a system.

Now don't give up yet - with your help I'll certainly make it,

Thanks in advance,
Roman Brodylo



Reply to: