LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-19-2010, 10:07 AM   #1
dh2k
Member
 
Registered: Jan 2006
Distribution: Slackware 13.0 (KDE 3.5.10 from 12.2; Xfce 4.6; Fluxbox); Slackware 13.1 (KDE 4.5)
Posts: 211

Rep: Reputation: 52
Neat tips with NFS


NFS guide:
http://nfs.sourceforge.net/nfs-howto/

I am setting up a home/small office server using a c-class network with subnet using NFS:
192.168.1.* / 255.255.255.0;
exporting '/home' to 2 client laptops (/etc/exports) connected via LAN.

I am looking to use the desktop server with slackware13.0 [with kde3 from 12.2] used as a desktop workstation on occassions...

and two different laptops, one of them using slackware13.0 [with kde3 from 12.2];
and the second, using slackware13.1 [with kde4].

Both laptops mounting 'my.server.com:/home'

However I am concerned about compatibility of using kontact/kde3 and kontact/kde4 and other interoperable problems with kde3 and kde4 with server and clients using '~/.kde'.

Is this possible or am I about to step into a minefield of issues? - I will of course update this post but any advice would be welcome.
 
Old 11-19-2010, 01:44 PM   #2
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
I don't use KDE... but off hand, you could move .kde in the user's directory to .kde3 and .kde4. Then the xinitrc.kde on each system would have to check for .kde, see if it's a sym link, move it if it's not, then delete/create a sym link to the correct .kde folder for that system... That should be enough to keep it correct. However, this causes problems if the same user logs on from two different machines running two different kdes... I have no solutions for you there, other than preventing the same user to log in from two different locations... some how... don't know how...


You may also be able to override what settings directory kde uses when it's launched. Again, you would set that per system in the global xinitrc.kde file.

Last edited by lumak; 11-19-2010 at 01:46 PM.
 
Old 11-19-2010, 10:23 PM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
It may not be only KDE that has version compatibility issues with configuration files and directories in ~/

For this reason a more satisfactory arrangement is to have /home/<username> directories on the local file system and make NFS-mounted shared data under it.

Assuming you have more than one user then one way of achieving this would be to have all the shareable data on the NFS server in /srv/nfs/shared with one directory below that for each user, that is /srv/nfs/shared/<user name 1> etc. On each NFS client computer, mount /srv/nfs/shared in the same location.

In each user's home directory, there could be a symlink to /srv/nfs/shared/<my user name> called "shared".

For programs that do not have version compatibility issues with configuration files and directories in ~/, it would be convenient to share the configuration so it would be the same on each computer. Using the Mozilla suite as an example, this could be implemented for each user by copying their existing ~/.mozilla hierarchy to /srv/nfs/shared/<username>/.mozilla and creating ~/.mozilla as a symlink to ~/shared/.mozilla

Possible gotchas are a) if the same user is working on more than one system and writing/saving configuration data to what is ordinarily a single user file or directory they may scramble the data and b) even apps that have compatible configuration data between versions may act as if you have just installed or upgraded on finding configuration data written by another version. Firefox and OpenOffice.org do that.
 
  


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
regarding neat munna_dude Linux - Software 3 01-03-2007 01:33 AM
neat idea, but has it been done already???? plungerjoke General 5 03-04-2006 10:14 PM
Just a thought, Would be neat! corbintechboy Linux - General 8 08-26-2005 09:47 PM
This is really Neat BUT.... hogg85 LinuxQuestions.org Member Success Stories 3 06-13-2005 01:55 PM
Really neat phenomenon orgcandman General 0 05-20-2002 01:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:18 AM.

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