Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 07-25-2006, 04:10 PM   #1
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?

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

Rep: Reputation: 347Reputation: 347Reputation: 347Reputation: 347
Try this:
On both systems, as root, do this:
#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:
#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.


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 > Forums > Linux Forums > Linux - Distributions > Fedora

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

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