> So two things I'd like to try:

> Reaccess the GUI of the target user 'jais'.

The fact that you can log into a graphical session as another user means
that the problem is not system-wide, but specific to your user's
configuration.  It is likely that the culprit is in your .config
directory.  Log into a TTY as jais, and run

$ mv .config .config~

and then attempt to log in graphically.  What will probably happen, is
you'll be able to to log in, but most of your settings will have
returned to the defaults.

Next take a look at the .config~ directory.  Note that since the
directory name begins with a "." it will be hidden by default.  In a
terminal, you'll need to use "ls -a" instead of "ls" to view it.  In the
graphical file manager, you can use Ctrl+H to toggle the visibility of
hidden files and directories.

In .config~, you'll see files and directories corresponding to different
sets of preferences.  For example, the "libreoffice" directory will
contain your LibreOffice settings.  One of the settings in one of these
files or directories is probably what was breaking your graphical
session.  By renaming .config to ~/.config, all of your settings are now
ignored.  Now we want to restore them.

Recreate the .config folder, copy over a few of the preferences you want
to restore from .config~, log out and log in.  If you can still log in,
then you know that none of those preferences was the problem.  If not,
back up and use trial and error to figure out which setting did it.
Keep going until you either find the culprit, or have copied over all
the preferences that are important to you.


> Move files from one user to another user.  from user jais --> user
> terracemill and/or newlc

Each user's files are in their home directory.  Your home directory is
/home/jais, and terracemill's and newlc's are /home/terracemill and
/home/jais respectively.  Your Documents, Downloads, Music, etc.
directories are in your home directory, so for example your Documents
are in /home/jais/Documents.  So what you want to do is copy files from
your home directory to another users home directory.

In order to copy files between users, you need to do so as root.  You'll
also need to (as root) change the owner of the files so that the new
user has permission to access them.


### The terminal way ###

In a TTY, login as jais and run

$ sudo su

The "$" will change to a "#", indicating that you are now root.  Now you
can copy files between user home directories.  Let's make a folder in
terracemill's home directory called "jais-files".

# mkdir /home/terracemill/jais-files

To copy a file in your Documents directory called "file.txt" to
jais-files, run

# cp /home/jais/Documents/file.txt /home/terracemill/jais-files/

and to set terracemill as the owner of the new copy of the file, you
then run

# chown terracemill:terracemill

Or, say you want to just copy all of your files over, run

# cp -a /home/jais/* /home/terracemill/jais-files chown -R
# terracemill:terracemill /home/terracemill/jais-files

Or, if you don't have enough disk space to duplicate all of your files,
move them instead of copying

# mv /home/jais/* /home/terracemill/jais-files chown -R
# terracemill:terracemill /home/terracemill/jais-files


### The graphical way ###

If terracemill and/or newlc has sudo privilages, log into a graphical
session as them and run,

$ gksudo caja

This will open the file manager as root, and you'll be able to drag/drop
or copy/paste files between user home directories.  To change
permissions, right click on a file or directory and go to Properties ->
Permissions.

If terracemill and newlc don't have permission to use sudo, you can
either give them permission by logging into a tty as jais and running

$ sudo usermod -a G sudo terracemill # (or newlc)

or you can boot from a live USB, mount your hard disk, and use the file
manager to move or copy the files.

Attachment: signature.asc
Description: PGP signature

Reply via email to