scientificlinuxforum.org QR code
Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> Dualboot SC and Mint with mutual home partition
dzek
 Posted: Jun 2 2012, 07:05 PM
Quote Post


SLF Newbie


Group: Members
Posts: 3
Member No.: 1600
Joined: 2-June 12









Hello!
I am trying to run two linux distributions on my laptop. I firstly installed linux mint and then scientific linux with both distros using the same partition for /home (I like it that way, when I was dualbooting fedora and xubuntu, everything worked like a charm). During installation I kept all the info, such as username, password, computer name the same for both distros. But I ran in a bit of a problem...
I can no longer log into linux mint (13) or Scientific linux (6.2).
When i try to login to linux mint I get this two error messages:

"User's $HOME/.dmrc file is being ignored. This prevents the default session and language from being saved. File should be owned by user and have 644 permisssions. User's $HOME directory must be owned by user and not writable by other users."

"Could not update ICEauthority file /home/dzek/.ICEauthority".

and in scientific linux i only get this error message:

"Could not update ICEauthority file /home/dzek/.ICEauthority".

What i did so far:
I changed $HOME/.dmrc permissions with chmod and chown, but I still get the same error message...

I also checked user id in passwd files of both distros, and changed the one in mint from:

dzek:x:1000:1000:Jakob Rezun,,,:/home/dzek:/bin/bash TO
dzek:x:500:500:Jakob Rezun:/home/dzek:/bin/bash SO it would be the same as in scientific linux, but my problem still persists...

What's the catch?
If someone would help, I would be most grateful!

10x in advance!


PM
^
AndrewSerk
 Posted: Jun 3 2012, 02:44 PM
Quote Post


SLF Moderator
******

Group: Moderators
Posts: 524
Member No.: 54
Joined: 14-April 11









Hello dzek and welcome to SLF

The issue you are facing is that Mint13 has the users UID, GID user values for user accounts starting at 1000 and SL's starts 500.

You could specify custom UID/GID values for SL and have them match the UID/GID values that are set for Mint. You would most likely be able to do this from single user mode.

Hope this helps,

This post has been edited by AndrewSerk: Jun 3 2012, 02:45 PM
PM
^
toracat
 Posted: Jun 3 2012, 07:03 PM
Quote Post


SLF Geek
****

Group: Members
Posts: 179
Member No.: 11
Joined: 10-April 11









The best way to change UID/GID will be to use the usermod command. With the manual method, your home directory may still have the wrong IDs, for example.


--------------------
ELRepo: repository specialized in hardware support for EL
PMUsers Website
^
dzek
 Posted: Jun 4 2012, 11:37 AM
Quote Post


SLF Newbie


Group: Members
Posts: 3
Member No.: 1600
Joined: 2-June 12









I will look into it. Thanks for your help!
PM
^
JeanM
 Posted: Jun 21 2012, 08:26 PM
Quote Post


SLF Rookie
*

Group: Members
Posts: 15
Member No.: 116
Joined: 1-May 11









QUOTE (dzek @ Jun 4 2012, 12:37 PM)
I will look into it. Thanks for your help!


Good evening

After resolving the UID/GID problem, be careful versions of common software, are not the same (client messaging, Firefox, etc.).

It's preferable to retain different directories under/home and make a link to the parts that you want to have in common.

Jean-Michel
PM
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll