[kde-linux] Problems logging in to KDE4

James Richard Tyrer tyrerj at acm.org
Thu May 29 08:53:16 UTC 2008


Rosalind Mitchell wrote:
> Sorry - I missed this reply at the time.
> 
> On Tuesday 06 May 2008 06:10:45 James Richard Tyrer wrote:
>> To run KDE-4, a lot of environment variables need to be set to different
>> values.  How are you accomplishing this?
> 
> I tried running from a shell script, viz:
> 
> #!/bin/bash
> export LD_LIBRARY_PATH=/usr/lib/kde4/lib
> export PATH=/usr/lib/kde4/bin/:$PATH
> export KDEHOME=~/.kde4
> /usr/lib/kde4/bin/startkde
> 
> This doesn't work either.  
> 
>> To find the specific problem, login with Session Type = Failsafe.
>>
>> Then in the Xterm run:
>>
>> 	startkde > user.log 2>&1
>>
>> You might need the full path for 'startkde'.
>>
>> Then examine user.log and see what went wrong.
> 
> -------
> connect(/home/enitharmon/.kde4/socket-scafell/kdeinit4__0) failed: : No such 
> file or directory
> Error: Can't contact kdeinit4!
> startkde: Running shutdown scripts...
> xprop:  unable to open display ':0.0'
> xprop:  unable to open display ':0.0'
> startkde: Done.
> -------
>
It isn't that simple. :-(

You can take a look at the contents of my .bash_profile at:

http://techbase.kde.org/Getting_Started/Build/KDE4.0#Create_the_User_Account

Naturally, your values for these environment variables will be different 
on your system unless you have things set up exactly as I do.

-- 
JRT



More information about the kde-linux mailing list