Page 4 of 4 FirstFirst ... 234
Results 31 to 38 of 38

Thread: KDE does not start

  1. #31
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: KDE does not start

    On 2013-07-14 09:06, americast wrote:
    >
    > vazhavandan;2571775 Wrote:
    >> @ op - what prevents you from creating a new profile and use KDE on it ?

    >
    > Actually, I can't afford to change my username. Many things (for eg.
    > Okular notes) are connected through my username (they are located as
    > /home/<my username>/...) So, if I change my username, I will have to
    > edit more than 500 files. Therefore, I want to create a new user, copy
    > my files to the new user, delete my old user and rename my newly created
    > user. If not possible, I will have to again create another user with my
    > deleted username and capy my files once again. So, it would be easy for
    > me if there would have been some way to *change my username after its
    > creation.*



    Ok.

    Create a new, temporary user. Log-out, then log in as that user. Once
    there, use you favorite file browser with root powers; for me, that
    would be an xterm, "su -", and 'mc'. Then go to
    "/home/your_original_user" and rename the directory to
    "/home/your_old_user".

    Go also to /tmp and delete any files and directories that belong to
    "your_original_user". Ditto /var/tmp.

    Now fire up yast, go to the users and groups module, and delete your
    original user - be careful that the tick box to remove the user files IS
    NOT ticked. Take a note of the UID number.

    Exit the yast module to make sure the action is applied.

    Then enter again and create a new user - but give it your old name, AND
    (very important) the same UID as your old user had.

    That's it.

    You have a new user with your old name; it's home has the same location
    as the old one, but it is empty. Your original files are in
    your_old_user, and they will be listed as owned by you because you kept
    the same UID. You can move them to the "new" location.

    Log out from the test user, and back in as your new/old user, it should
    work.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  2. #32

    Default Re: KDE does not start

    Have you tried moving ALL files (the hidden ones as well) out of your home folder?
    You could copy needed ones back afterwards.

  3. #33

    Default Re: KDE does not start

    Quote Originally Posted by americast View Post
    I don't know how to clean up /tmp and /var/tmp. Should I delete all the files over there?
    Sorry, I somehow missed that question.
    The answer is yes. Especially those directories with kde in their name.
    But better just delete everything in those directories (you have to be root for that) and reboot.

    So best thing to do is login as root in text mode and run:
    Code:
    rm -r /tmp/* /var/tmp/*

  4. #34
    Join Date
    May 2012
    Location
    Kolkata, India
    Posts
    161

    Default Re: KDE does not start

    Quote Originally Posted by robin_listas View Post
    On 2013-07-14 09:06, americast wrote:
    >
    > vazhavandan;2571775 Wrote:
    >> @ op - what prevents you from creating a new profile and use KDE on it ?

    >
    > Actually, I can't afford to change my username. Many things (for eg.
    > Okular notes) are connected through my username (they are located as
    > /home/<my username>/...) So, if I change my username, I will have to
    > edit more than 500 files. Therefore, I want to create a new user, copy
    > my files to the new user, delete my old user and rename my newly created
    > user. If not possible, I will have to again create another user with my
    > deleted username and capy my files once again. So, it would be easy for
    > me if there would have been some way to *change my username after its
    > creation.*



    Ok.

    Create a new, temporary user. Log-out, then log in as that user. Once
    there, use you favorite file browser with root powers; for me, that
    would be an xterm, "su -", and 'mc'. Then go to
    "/home/your_original_user" and rename the directory to
    "/home/your_old_user".

    ...
    I hope this is what you tried to mean:
    Suppose I have a user "abc" and KDE is not working in "abc". So, I craate a temporary user "xyz". Then "abc" is your_old_user and "xyz" is your_original_user. Please correct me if I am wrong.
    I tried the instructions given in quotes and my file manager (I love nautilus) gives me this error when I try renaming "xyz" to "abc":
    Code:
    The name “abc” is already used in this location. Please use a different name.
    Thanx...

  5. #35
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,803

    Default Re: KDE does not start

    OK if the second user works. you can't just rename the new to old or old to new. since there are existing names. Also you have to take into account file ownership. User A can not use user B's data because user B owns his/her data and user A does not have a right to use B's data. You have to change the ownership.


    Another point is that if there was a problem in user A's configs you don't want to use that corrupt config.

    If it is a corrupt KDE file it is sufficient to rename the ~/.kde4 directory. This need to be done as root with no GUI running.

    Note if you use kmail or other KDE apps that store data in .kd4 you can copy that back from the old folder to the new.

  6. #36
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: KDE does not start

    On 2013-07-18 20:46, americast wrote:
    >
    > robin_listas;2571784 Wrote:


    >> Ok.
    >>
    >> Create a new, temporary user. Log-out, then log in as that user. Once
    >> there, use you favorite file browser with root powers; for me, that
    >> would be an xterm, "su -", and 'mc'. Then go to
    >> "/home/your_original_user" and rename the directory to
    >> "/home/your_old_user".
    >>
    >> ...

    >
    > I hope this is what you tried to mean:
    > Suppose I have a user "abc" and KDE is not working in "abc". So, I
    > craate a temporary user "xyz".


    Log in as 'xyz', and rename 'abc' to 'def'.

    Go to /tmp, and remove anything named '*abc*', there should be some
    directories. Same under /var/tmp/.

    Go to yast, remove user 'abc' (take a note of the UID), making sure to
    tell it not to remove 'abc's files -- and anyway, they are renamed to
    'def', so you could tell yast to delete files.

    Exit yast.

    Enter yast.

    Create user 'abc' with above UID. It is the same user, same UID, but no
    files, scratch new home.

    Log out of user 'xyz', try log in as 'abc'.

    Test & Report :-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

  7. #37
    Join Date
    May 2012
    Location
    Kolkata, India
    Posts
    161

    Default Re: KDE does not start

    Quote Originally Posted by robin_listas View Post
    On 2013-07-18 20:46, americast wrote:
    >
    > robin_listas;2571784 Wrote:


    >> Ok.
    >>
    >> Create a new, temporary user. Log-out, then log in as that user. Once
    >> there, use you favorite file browser with root powers; for me, that
    >> would be an xterm, "su -", and 'mc'. Then go to
    >> "/home/your_original_user" and rename the directory to
    >> "/home/your_old_user".
    >>
    >> ...

    >
    > I hope this is what you tried to mean:
    > Suppose I have a user "abc" and KDE is not working in "abc". So, I
    > craate a temporary user "xyz".


    Log in as 'xyz', and rename 'abc' to 'def'.

    Go to /tmp, and remove anything named '*abc*', there should be some
    directories. Same under /var/tmp/.

    Go to yast, remove user 'abc' (take a note of the UID), making sure to
    tell it not to remove 'abc's files -- and anyway, they are renamed to
    'def', so you could tell yast to delete files.

    Exit yast.

    Enter yast.

    Create user 'abc' with above UID. It is the same user, same UID, but no
    files, scratch new home.

    Log out of user 'xyz', try log in as 'abc'.

    Test & Report :-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)
    Thanx... It worked great!!! I have got back my KDE now. I have copied all my files from that directory and everything is back to normal. Thanx again....!

  8. #38
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: KDE does not start

    On 2013-07-19 20:06, americast wrote:
    > Thanx... It worked great!!! I have got back my KDE now. I have copied
    > all my files from that directory and everything is back to normal. Thanx
    > again....!


    Good :-)

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.3 x86_64 "Dartmouth" at Telcontar)

Page 4 of 4 FirstFirst ... 234

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •