It is currently Tue, 17 May 2022 01:59:23 GMT

Author Message
 KDE 1.1.2 on Solaris 2.7 login processing
I have installed KDE 1.1.2 on my Sparc Solaris 2.7 machine. It seems
to work OK except that my .login file is never digested - all my xterms
digest my .cshrc file but don't get the stuff setup in my .login. With
CDE, I do not have this problem - my .login is digested OK. How do I
configure KDE to digest my .login file? (By the way, I have a multi-
login capability via dtlogin:I can choose KDE or CDE environments.)


 Wed, 24 Jul 2002 03:00:00 GMT   
 KDE 1.1.2 on Solaris 2.7 login processing

Well, it's not really supposed to.  Your xterms aren't login shells, so
they don't source your .login file.

You should only put things in .login that you need for login shells.  If
you have stuff that you need KDE to see, you can put it in your .dtprofile
file.  If you really want your .login sourced by the desktop, make sure
the .dtprofile has DTSOURCEPROFILE=true in it.

Jeremy  |

 Thu, 25 Jul 2002 03:00:00 GMT   
 KDE 1.1.2 on Solaris 2.7 login processing

I got the same problem myself.

The uncomment the line .dtprofile has DTSOURCEPROFILE=true in it does not
help .


< 1K Download

 Thu, 25 Jul 2002 03:00:00 GMT   
 KDE 1.1.2 on Solaris 2.7 login processing

xterm parses .login if you launch it with the "-ls" parameter.

---[ erik gjertsen ]--------- -    - -      -          -

 Thu, 25 Jul 2002 03:00:00 GMT   
 KDE 1.1.2 on Solaris 2.7 login processing
Yeah, I noticed that to.  Here is what I did (I will assume you do not know
Bourne Shell syntax for the examples.):

I created a file called '.kdeprofile' in my home directory.  In it, I set
anything I wanted at login time (i.e. CLASSPATH, LD_LIB, PATH ...), BUT you
should use Bourne Shell syntax, NOT C-Shell.  Also, make sure you 'export'
these envs.

Next, I edited the file startkde.patriotnet... (I forgot the whole name)
which is located in /usr/local/kde/etc (I think... it could be in 'lib'
instead of 'etc'.  Your best bet is to see where the link in
/usr/local/bin/startkde points to).  After all default values are set
(before the 'xmodmap' command), I placed this:

if [ $HOME/.kdeprofile ] ; then
    . $HOME/.kdeprofile

This reads as:
    Hey, if there is a file named '.kdeprofile' in this persons home
directory, then source it (in Bourne Shell this is a dot '.').
NOTE:  Spaces are very important in Bourne Shell.  If you don't have them
between the 'if' and the '[', as well as the test and the ']', you will get
errors.  I am not sure about the ';' and the 'then', but I place them there
& they work.

Also, if you want to set some default properties for you xterm (as I do)
like scroll bars, scroll lines & colors, you can place them in a
'.Xdefaults' file and use the same stuff as above like so:

if [ $HOME/.Xdefaults ] ; then
    /usr/openwin/bin/xrdb -merge $HOME/.Xdefaults

Let me know if this helps, or if you found another way.

Dan Smith

"The nice thing about standards is that there's so many to choose from."
                                                 -- Andrew S. Tannenbaum

 Tue, 20 Aug 2002 03:00:00 GMT   
   [ 5 post ] 

Similar Threads

1. CDE, solaris 2.7, tcsh; hangs at login

2. login banner change for Solaris 2.7?

3. Re-Post:: Correction:: per 32bit file process limit - Solaris 2.7

4. per 32bit process file limit - Solaris 2.7

5. Why I can't kill a process in Solaris 2.7

6. solaris 2.7 process priority

7. KDE 1.89 and Solaris 2.7 HELP!

8. Solaris 2.7 (Solaris 7) + Linux on an x86 Machine

9. Jumpstart for Solaris 2.5.1 versus Solaris 2.6, 2.7, 2.8

10. ugrading from solaris 2.5.1 to solaris 2.7

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software