LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 07-25-2006, 04:10 PM   #1
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
FC5 / Ubuntu home directory sharing without sharing session information


Here's a challenge. My main machine runs FC5, and I've set it up to export /home using NFS. I've just installed Ubuntu 6.06 on my laptop and I've managed to configure it to mount /home using the NFS share /home exported from my FC5 box.

However, I've run into some issues. My gnome session doesn't work perfectly - probably because I've got a dual-head setup on my FC5 box and only one head on the laptop. What I'd like to do is to find some way to use machine-specific session data files, but use the shared files from NFS for other data - documents, program settings, and so forth.

Any ideas how I could do this?

Regards
David
 
Old 07-26-2006, 05:47 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,150

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
Try this:
On both systems, as root, do this:
Code:
#mkdir /local_home
#mkdir /local_home/user1
#chown user1 /local_home/user1
#mv /home/user1/<local setting files> /local_home/user1
Where, of course, "user1" is your log-in name, and you will need to specify the "<local setting files>" actual names.

Then in either system, create a symbolic link to each setting file:
Code:
#ln -s /local_home/user1/<local setting files> /home/user1
(Since this is your NFS sharred directory, you should only need to do this once.)

Then log into user1 on each system and make the settings changes. (Which will also test if it actually works.)

If all goes well, you should have a "common" /home containing pointers to the local setting files which will be available only when running on the specific system.

The key is to have the symbolic link point to a file that will exist and have the same location in the local file structure for each different physical system. That way the link will be valid on either system.

Disclaimer: While I think this should work, I haven't tried it.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba Sharing entire Home Directory jawaking00 Linux - Newbie 2 07-25-2005 08:13 AM
Sharing information between Linuxes with a USB device enemorales Linux - General 2 07-01-2005 08:53 AM
Sharing one home directory with multiple users cwolf78 Linux - Software 11 05-08-2005 06:58 PM
MIT: sharing good information tumana Programming 1 12-06-2004 08:01 AM
Sharing files not in Home directory tomsa Linux - Networking 0 07-22-2003 03:22 PM


All times are GMT -5. The time now is 07:05 PM.

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