LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-28-2013, 10:34 PM   #1
waddles
Member
 
Registered: Sep 2012
Posts: 372

Rep: Reputation: 1
Setting up network to use for logging in


I would like to network my 2 desktops together so that I can run some devices off of #2 and be able to login to #2 from #1.
I believe NFS is for moving/viewing files not logging in so what would someone suggest?
 
Old 09-28-2013, 10:59 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
I use ssh, but it's strictly command line. With proper port-forwarding, you can also use if for remote access from the Big Wide World.

There is also ssh -X, but I have never needed to master it.

If you want GUI access, you might also want to look at some sort of VNC.

For file shares, I use Samba, because there are Windows computers in the house, but it works just fine between Linux computers.

Last edited by frankbell; 09-28-2013 at 11:00 PM.
 
Old 09-29-2013, 01:19 AM   #3
waddles
Member
 
Registered: Sep 2012
Posts: 372

Original Poster
Rep: Reputation: 1
I will be running several programs to control scientific devices to gather data on my #2 machine. I need to be able to login to #2 from my #1 machine so that I can stop-restart and on occasion view the run time graphs there. Moving files can be done via NFS. But since I have a single monitor, I must be able to see what is happening on my #2 machine. There is no others to access either machines and #1 is the only one ever connected to the internet thru an ISP and my firewall hence there is no need for SSH type security.
My knowledge of setting up an ethernet connection for something like this is really limited and have had no luck so far in finding anything there. So maybe my question should be can this be done?
Then if so then how?
I can set up a user on #2 that's easy. What I can't fathom is how to use the cross-over ethernet cable between machines to do what I want and how to have #2 respond with a request for username and password.

Last edited by waddles; 09-29-2013 at 01:26 AM.
 
Old 09-29-2013, 01:45 AM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
How about a KVM switch? I have one and I do loves it.

If you don't need to transfer files back and forth, that should do the job.

Otherwise, it might be worth it to invest in a router and establish your own subnet.

If you don't need ssh security, you could use telnet, but, really, ssh and scp (for file transfer) are really quite easy to use.

The rest of this is shots in the dark:

A crossover cable is used to connect two machines without a network. If one machine is networked, that is, connected to the internet, trying to use a crossover cable will likely not work very well. It probably could be done, but would probably be more trouble than it's worth and require a second ethernet card in one machine.

Alternatively, you can use one machine as a router to establish a connection (Linux does that very nicely, though I've never needed to use that functionality; my understanding is that you would need two ethernet cards, though, one pointing to the Big Wide World and one pointing to your own network).

This is the best tutorial on subnetting that I have ever seen. Do not be put off by the HTML 3.0 formatting; it's good information clearly presented. I think it would be worth your while to look it over before proceeding.

By the way, and quite off-topic, I must say that I love your user name. It always gives me a smile.

Last edited by frankbell; 09-29-2013 at 01:49 AM.
 
Old 09-30-2013, 04:09 PM   #5
waddles
Member
 
Registered: Sep 2012
Posts: 372

Original Poster
Rep: Reputation: 1
@frankbell: giggles ya, me 2. Tnx 4 info but still not quite what I am after.
I saw a GUI approach to this, I think, but left me cold for lack of what was going on and strange names.
Basically I have 2 desktops connected by ethernet cross-over cable. The #1 is my primary development machine. #2 is running data collection via a couple of printer ports to one multiplexer and 3 seismometers. I would like to login from #1 to #2. A KVM will make my workspace a bigger mess than it is (I live in a shoe box) and I would like to just get to a window and login to #2. Not familiar with ssh, secure shell, and do not think it should be necessary, but could be wrong. Played with this awhile back and was able to telnet & ftp but did not try logging in. Time damages brain so have forgotten what I did for the most part. Has anyone else done something like this?
 
Old 09-30-2013, 08:29 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,321
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
If you need GUI access, you should investigate a virtual network connection or VNC. Follow think in post #2 above.

From Wikipedia:

Quote:
In computing, Virtual Network Computing (VNC) is a graphical desktop sharing system that uses the Remote Frame Buffer protocol (RFB) to remotely control another computer. It transmits the keyboard and mouse events from one computer to another, relaying the graphical screen updates back in the other direction, over a network.[1]

VNC is platform-independent – a VNC viewer on one operating system may connect to a VNC server on the same or any other operating system.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem logging in to PC Linux after setting up screensaver and login screen Jazz44 Linux - Newbie 1 07-31-2008 10:32 PM
help setting up ssh logging appropriately joe2748 Linux - Server 2 12-18-2007 12:58 PM
after setting up logrotate for apache, logging stops apachenew Linux - General 2 11-26-2007 10:59 AM
Problems setting up iptables logging Wynd Linux - Networking 1 04-02-2007 04:11 AM
Setting up an internet gateway with web usage logging jcbeckettnz Linux - Newbie 7 05-03-2005 08:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration