Bug 167480

Summary: user configuration not properly loaded
Product: [Applications] konsole Reporter: Giorgio Incantalupo <giorgioincantalupo>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: 1.6.6   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Giorgio Incantalupo 2008-07-26 16:34:29 UTC
Version:           1.6.6 (using KDE 3.5.9)
Installed from:    Ubuntu Packages
OS:                Linux

After a new installation of Kubuntu I copied the old home from old server to the new server. Now, when I launch konsole I do not get the "real" user I created. I expect the konsole to behave as the normal linux console but it does not. If for example I type the "groups" command inside Konsole, I get wrong groups (maybe the old ones? Not sure...) while if I type "groups myusername" I get the right groups. Bizarre! I noticed the normal console out of kde (AlT + F1) gives the same right groups and it is fine!
To jump into the "real" user from Konsole I need to make a "sudo myusername"....in this case I get the right groups.
It is like Konsole keeps old info about groups which are now changed. This creates problems with file permissions.
I looked inside the .kde hidden subdir to find some hidden konsole setting but found nothing so I think it is a bug.
If it is not a bug but only some hidden file to delete inside my .kde dir, please publish the solution somewhere on your site so it could be useful to other people with the same problem as mine.
Comment 1 Robert Knight 2008-07-26 18:15:05 UTC
> It is like Konsole keeps old info about groups which are now changed

Konsole has nothing to do with programs inside the shell other than providing a way to see their output and send input to them.  It also starts the shell (typically 'bash') when you log in.  

Some suggestions to try (from inside Konsole)

1.  Try "sudo groups <username>" 
2.  Try entering a login shell using "$SHELL --login" and then run "groups username"
3.  Check that you are the user you expect to be using "who"

Also, please start "xterm" and run "groups" from there.
Comment 2 Giorgio Incantalupo 2008-08-01 22:46:09 UTC
The problems has gone away after shutting down the server. Re-booting the server is not enough.