Bug 324243

Summary: Presence of ~/.kde/env/path.sh prevents log in to Linux Mint 15 KDE (64 bit)
Product: [I don't know] kde Reporter: Rob Burness <rcburness>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED WORKSFORME    
Severity: major    
Priority: NOR    
Version: 4.11.0   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Simple export commands in path.sh

Description Rob Burness 2013-08-29 23:09:55 UTC
Created attachment 82021 [details]
Simple export commands in path.sh

This worked fine in Linux Mint 14 KDE (64 bit), but prevents me from even logging in to Linux Mint 15 KDE (64 bit).  If I put the file in say ~/.kde_old/env/path.sh instead and 
source it in my .bashrc as such I have a workaround.   I can then login and my desired path is again set as it was in Linux Mint 14 KDE.  I think the error may be in /usr/bin/startkde.  I have a workaround, but the system is not working as documented and may cause others problems.
Comment 1 Jekyll Wu 2013-09-14 16:55:09 UTC
Can't reproduce. 

The problem sounds highly related with some specific setup in your system. Please try doing some bisect by commenting parts of the file to isolate and identify the problematic part ( should be the $PATH line, I guess) and the problematic element in that line .
Comment 2 Rob Burness 2013-09-14 18:10:08 UTC
I made the following change to path.sh, placed it in /home/rob/.kde/env and
sourced $HOME/.kde/env/path.sh instead of $HOME/.kde_old/env/path.sh in my
.bashrc so ssh, konsole, and cron would have the paths and environment:

# Adding rcss directories so all machines in rcss have access to the same
settings:

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7.]..+....8....+....9....+...10....+...11....+...12....+...13....+...14....+...15....+...16....+...17....+...18....+...19....+...20.
00007 #export
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:"$HOME"/Dropbox/shared_rcss_complex:/usr/local/share/rcss"
00008 export
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/share/rcss:"$HOME"/Dropbox/shared_rcss_complex"

The problem has gone away.  I simply moved /usr/local/share/rcss in front
of the $HOME/Dropbox/shared_rcss_complex directory.  After moving from LM
14 KDE to LM 15 KDE I had to copy /usr/local/share/rcss from 14's root to
15's root as the upgrade package had no way of knowing I was using
/usr/local/share.

It is difficult for me to see how changing the order of assignments in the
export PATH statement would enable me to now see the login screen.  I
wonder if something else got updated/fixed/or changed.

Anyway thank you for your help and suggestion.  I guess that fixed the
problem or someone fixed something somewhere else.  I have learned my
lesson about relying on just using /usr/local/... and now also use Dropbox
to have machines keep current and share common routines.


On Sat, Sep 14, 2013 at 10:55 AM, Jekyll Wu <adaptee@gmail.com> wrote:

> https://bugs.kde.org/show_bug.cgi?id=324243
>
> --- Comment #1 from Jekyll Wu <adaptee@gmail.com> ---
> Can't reproduce.
>
> The problem sounds highly related with some specific setup in your system.
> Please try doing some bisect by commenting parts of the file to isolate and
> identify the problematic part ( should be the $PATH line, I guess) and the
> problematic element in that line .
>
> --
> You are receiving this mail because:
> You reported the bug.
>
Comment 3 Jekyll Wu 2013-09-19 09:11:01 UTC
glad to hear it is working for you again now.