LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-26-2013, 10:36 PM   #1
dwmolyneux
Member
 
Registered: Feb 2012
Location: United States of America
Distribution: "First Time Gentoo user",Debian, Fedora, LinuxMint
Posts: 113

Rep: Reputation: Disabled
Question Configuration Question: how to use local drives with Remote login


I have several different computers on my local home network and all are running Linuxmint 13.
2 are desktops and the rest are servers. I'm always needing to login from one to another as if I was physically at the one I am needing to work on but have found that I have to always stop what I'm working on just to go place a disk in the drive or insert a usb device.

The question I have is how am I able to configure so that the one I am logged in from a workstation can use the local drives while I'm remote login via remote session?

I know the answer can be found on the web but have not been able to find what I am needing.

While at the login screen, I am selecting remote session login to where I login to the one I need as if I am sitting at that machine.

If anyone that knows can help point me in the right direction?
Thank you in advance
 
Old 04-27-2013, 01:34 AM   #2
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,581

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
ssh is your friend, or are you talking about USING data on a remote system as if it is local on your box? In that case NFS is your friend. also keep in mind you will have a hard time dealing with CD/DVDroms and USB via NFS. for that you are better off using those local or just viewing them via ssh.
 
Old 04-27-2013, 02:39 AM   #3
tallship
Member
 
Registered: Jul 2003
Location: On the Beaches of Super Sunny Southern San Clemente, California USA
Distribution: Slackware - duh!
Posts: 520
Blog Entries: 3

Rep: Reputation: 112Reputation: 112
Lightbulb

Quote:
Originally Posted by dwmolyneux View Post
I'm always needing to login from one to another as if I was physically at the one I am needing to work on but have found that I have to always stop what I'm working on just to go place a disk in the drive or insert a usb device.

The question I have is how am I able to configure so that the one I am logged in from a workstation can use the local drives while I'm remote login via remote session?
Yeah. There's a simple solution - especially since you're running an all LMDE network at home. When you login, you should only have one (1) /home/username and you prolly also want to consolodate /usr/local and other places you put things you want to share too.

Use NIS. it's easy, quick, simple, and contrary to what you might be told by others, still one of the preferred solutions in the larger enterprises of Fortune 1000 corporations.

I hope that helps
 
Old 04-27-2013, 10:51 AM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
NIS is for centralised auth; the OP is asking about using remote/local disks, which, as above, would be nfs.
For CD/DVDs, you could copy the content onto a HDD if you have enough space and use a loopback mount eg https://code.google.com/p/iredmail/w...Yum_Repository
 
Old 04-28-2013, 08:03 AM   #5
dwmolyneux
Member
 
Registered: Feb 2012
Location: United States of America
Distribution: "First Time Gentoo user",Debian, Fedora, LinuxMint
Posts: 113

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chrism01 View Post
NIS is for centralised auth; the OP is asking about using remote/local disks, which, as above, would be nfs.
For CD/DVDs, you could copy the content onto a HDD if you have enough space and use a loopback mount eg https://code.google.com/p/iredmail/w...Yum_Repository
yes this is basically what I am after but I don't have the extra room on the drives to hold ISO images.

I'm doing allot of video, photo, and sound edits using a large number of disk. I also am needing to copy specific data from cd/dvd's to the drive long enough to do my edits and then clean up via deleting the unwanted portions to keep free space available.

I will also need to pull the sound as well but that will require another thread but as of right now I am wanting to deal with the drives first.
 
Old 04-28-2013, 08:43 AM   #6
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
I did say you could IF you have space....
Regardless, inn any case, the *nix way to share 'disks' across LAN is NFS.
http://www.linuxhomenetworking.com/w...ccess_with_NFS
 
Old 04-28-2013, 10:30 AM   #7
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,581

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
also keep in mind that video editing across a LAN will be both iffy and slow even with a full 10/100/1000 LAN configuration on server class hardware you are going to be slow and run the risk of dropped frames.

same will go for audio, just not as crucial due to the speed the data needs to move not being near as fast as with the video.

You can setup your NFS mounts and share all of the HDD space across to your editing workstation with ease. As for the CD/DVD issue you might just have to move data around your LAN to clear up the 700m-24G on one of your systems, or just run it locally on your video editing workstation for best performance.
 
Old 04-28-2013, 06:43 PM   #8
tallship
Member
 
Registered: Jul 2003
Location: On the Beaches of Super Sunny Southern San Clemente, California USA
Distribution: Slackware - duh!
Posts: 520
Blog Entries: 3

Rep: Reputation: 112Reputation: 112
Thumbs down

Quote:
Originally Posted by chrism01 View Post
NIS is for centralised auth;
Yes it is.

Quote:
Originally Posted by chrism01 View Post
the OP is asking about using remote/local disks
Yes he is. And NIS is likely the best way for him to do that.

Here's what I glean from the OP's scenario, minus the desire to manipulate sound and video - which is another layer of implementation:

He has a couple of workstations, NFS isn't optimum, alone, for doing what he wants. He would be best served by a single /home, a single /fill-in-the-blank-here, and any other machine he adds later.

NFS would be a messy proposition for him, if handled by itself, yet NIS would allow him to login, and have access to those drives, etc., from whichever workstation he is working from for any particular moment.

Sure, he can export and import manually on each workstation, but he can be better served by NIS, which of course, utilizes NFS to make those drives accessible locally.

So while your suggestion of NFS is *part* of the solution, NIS is actually what completes the picture, allowing him NOT to have to copy, or mount, remote /home dirs under local home dirs, manually adjusting/duplicating all of his configs, etc.

So, a single login from any workstation could be:

/home (one place for all of his settings)
/home/box5DVD (shared across all machines)
/home/box3DVD (shared across all machines)
/home/server1/bigdatarepo (shared across all machines)
/home/server2/bigdatarepo1 (shared across all machines)
/home/server2/bigdatarepo2 (shared across all machines)
/usr/local (shared across all machines)

His sound and video can be extended in this scenario to support whichever machine he's working on at the time too - something NFS alone does not do.

In any case, sound and video configs are complicated if both machines don't support the same sound/video capabilities, but that's an excercise to address after he has access to all of those data resources centrally, from wherever he logs in from.

I think that what you're proposing for him is kind of a mess to maintain, and incidentally, you prolly already know that both NIS and NFS were created by Sun to work together in just this very way - because managing NFS by itself is messy without it or LDAP.

I hope that helps

Kindest regards,
 
Old 04-29-2013, 01:03 AM   #9
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.6, Centos 5.10
Posts: 16,324

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
NIS and NFS are separate services; you do not have to have both.
EG, these days a lot of people use LDAP instead of NIS, with or without NFS.
NIS does auth ( as you agreed); it does not share disks; that's NFS.
 
Old 04-29-2013, 11:16 PM   #10
tallship
Member
 
Registered: Jul 2003
Location: On the Beaches of Super Sunny Southern San Clemente, California USA
Distribution: Slackware - duh!
Posts: 520
Blog Entries: 3

Rep: Reputation: 112Reputation: 112
Thumbs down

Quote:
Originally Posted by chrism01 View Post
NIS and NFS are separate services; you do not have to have both.
EG, these days a lot of people use LDAP instead of NIS, with or without NFS.
NIS does auth ( as you agreed); it does not share disks; that's NFS.
Hey thanks for merely repeating what I said there, lol!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remote ssh login (passwords useless), and local login (using password) linuxStudent11 Linux - Security 1 01-09-2013 02:30 PM
remote login screen but need local login lastkey Ubuntu 0 12-13-2006 02:41 AM
DNS configuration: How 2 change from local to remote nameservers Kropotkin Fedora 3 05-31-2005 02:22 PM
remote x login instead of local login mandrake-n00b Mandriva 0 04-22-2005 10:19 PM
Local and Remote X login lancest Linux - Networking 0 06-28-2002 06:01 PM


All times are GMT -5. The time now is 11:17 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration