common home account on single usb for multiple mx computers

Help for Current Versions of MX
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
a2z
Posts: 7
Joined: Sun Sep 22, 2024 12:18 pm

common home account on single usb for multiple mx computers

#1 Post by a2z »

despite being fairly experienced with mx, i have been unable to figure out how to setup a single username account that will utilize a usb drive as home for multiple LTS mx versions (mx21, mx23) on multiple computers.

for example, when i logout out of the mx default startup user to lin, then i would like all data to be routed to&from a common /home/lin location on the usb.
ideally user lin could\would be given admin rights to run synaptic and other conveniences. of course, i may not not have identical applications on all computers, but i try to stick with xfce when available.

also interested in extending this method to antiX and ventoy if possible, but avoiding any special\different parameters needed to launch linux on each computer.

(yes, have searched this form and enjoyed many of the dolphin and staempunk videos)

User avatar
Eadwine Rose
Administrator
Posts: 14424
Joined: Wed Jul 12, 2006 2:10 am

Re: common home account on single usb for multiple mx computers

#2 Post by Eadwine Rose »

Moved to help, as there is not a tip or trick shared.
MX-23.6_x64 July 31 2023 * 6.1.0-34amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.216.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

User avatar
Michael-IDA
Posts: 359
Joined: Sat Jan 12, 2019 8:00 pm

Re: common home account on single usb for multiple mx computers

#3 Post by Michael-IDA »

a2z wrote: Fri Apr 11, 2025 5:27 pm home for multiple LTS mx versions (mx21, mx23) on multiple computers.
This is highly not recommended with Xfce. The MX dev's repeatedly have said the Xfce config files differ based upon version. You could do this with TDE, but that causes other issues (things like sudo).
utilize a usb drive
Why not just use a Live USB? It'd plug into any computer you want to use?
NIH Cancer Study: The group supplemented with both vitamins and fenbendazole exhibited significant (P = 0.009) inhibition of tumor growth.
The day Microsoft makes a product that doesn't suck...
... is the day they make a vacuum cleaner.

User avatar
figueroa
Posts: 1097
Joined: Thu Dec 20, 2018 11:20 pm

Re: common home account on single usb for multiple mx computers

#4 Post by figueroa »

@Michael-IDA told you correctly. But also, because USB drives are not permanently attached. It's fine to keep your common personal files somewhere other than in /home/USER/. Finally, you also need a reliable backup plan for those personal files. All storage media WILL suffer damage and/or die, usually without warning. The alligator tears that you won't have to shed will be yours.
Andy Figueroa
Using Unix from 1984; GNU/Linux from 1993

a2z
Posts: 7
Joined: Sun Sep 22, 2024 12:18 pm

Re: common home account on single usb for multiple mx computers

#5 Post by a2z »

thanks for the replies.
given this is unfeasible, i guess one somewhat of a consolation would be a handy mx tool to move a given user home elsewhere (another partition or usb).
but it seems a lot of mx users also would like such a feature for a long time, so not unique. i will try to submit that wish in another section.

there were 2 reasons i was hoping hoping for this, rather than live usb
a. to take advantage of speed when the computer is much higher spec'd...currently my range of machines is >10 years wide. i have commonly picked up old laptops, installed mx, used them for some short time, then given them away.
b. the home usb would be a single source of data w/out needing complex sync'ing, and thus easy to backup itself elsewhere.

User avatar
CharlesV
Global Moderator
Posts: 7056
Joined: Sun Jul 07, 2019 5:11 pm

Re: common home account on single usb for multiple mx computers

#6 Post by CharlesV »

One method that is very close to what it sounds like your after is to create a regular home when installing, and then symlink all of the home data folders you want some place else.

Exp: I have several machines where I have the standard install on nvme1 Then, I have a "Data" folder on nvme2, and link link as follows:
~/Documents symlink to /nvme2/Data/Documents
~/Pictures symlink to /nvme2/Data/Pictures
~/Videos symlink to /nvme2/Data/Videos

etc ..

On several client machines, I have this setup on their USB Stick, ( Which is what they boot from), and then all data is actually on the hard drive.

As well, I have several people that do this in reverse - Boot from hard drive and all data is on their usb stick. ( with a versioned backup that takes place to backup the stick - since they carry this back and forth between office(s) & home.)
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

User avatar
Michael-IDA
Posts: 359
Joined: Sat Jan 12, 2019 8:00 pm

Re: common home account on single usb for multiple mx computers

#7 Post by Michael-IDA »

a2z wrote: Sat Apr 12, 2025 9:30 am b. the home usb would be a single source of data w/out needing complex sync'ing, and thus easy to backup itself elsewhere.
CharlesV wrote: Sat Apr 12, 2025 10:12 am One method that is very close to what it sounds like your after is to create a regular home when installing, and then symlink all of the home data folders you want some place else.

Boot from hard drive and all data is on their usb stick.
With just a bit of scripting you can have the best of both worlds that also allows easy backing up of user 'work' files.

On each machine:
- Create a "data" dir (/home/user/data)
- Change the defaults for Documents etc. to the data dir (/home/user/data/Documents)
- Add a script to symlink /home/user/data to the USB data dir
- Copy/Backup the USB data dir where ever you want

You could get fancier with autostart and what not, but I think that should do what you want?

Best,
Michael
NIH Cancer Study: The group supplemented with both vitamins and fenbendazole exhibited significant (P = 0.009) inhibition of tumor growth.
The day Microsoft makes a product that doesn't suck...
... is the day they make a vacuum cleaner.

a2z
Posts: 7
Joined: Sun Sep 22, 2024 12:18 pm

Re: common home account on single usb for multiple mx computers

#8 Post by a2z »

yes, the 'reverse' process mentioned by chalesV seems to be very close.
currently, the variety of mx file managers generate a symlink to the user default folders on the hard drive, which is the opposite of what i need to setup. (e.g.,, i need a symlink pointing AWAY from
/user/home/lin/documents, not back TOWARDS it as target)
am guessing easily fixable ownership settings also have to be done....possibly as a single common user name with admin rights everywhere.
if i understand correctly, symlinks to the standard folders (documents, downloads, music, videos, ...) on a usb should not impact xfce or other admin\config settings on any given computer.

thus, i effectively can make a common data usb by setting up symlinks only once per each booted linux , and not needing any scripts.
i assume some mild error thrown if usb not found , or if mounting errors occur during use.

Post Reply

Return to “MX Help”