Solved

Problem starting ordinary user in KDE

Posted on 2002-07-10
31
559 Views
Last Modified: 2013-12-15
Hi
I have a problem starting an ordinary user
using KDE.   The system has worked fine in the past,
but now halts with a grey screen after typing the
password in KDM and hitting enter.   I have tried
creating another new user and letting KDE create its
new files.   But the result is the same - the system
halts.

Is this maybe a socket problem?  Any help appreciated.

many thanks

MAC
0
Comment
Question by:cliffhanger121599
  • 17
  • 14
31 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7143948
when you say "grey screen", do you mean a black+white pixel pattern (and probably a cross cursor too)?
0
 

Author Comment

by:cliffhanger121599
ID: 7144426
Hi

No cross curser.  The screen is the "grey screen" that appears when one is running the Nvidia driver, which I am.   It probably is dense b&w pixels.

MAC
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7144620
can you switch to another console window (CTRL-ALT-F3), login as user, and start following:

  sh -c "startx > X.log 2>&1"
0
 

Author Comment

by:cliffhanger121599
ID: 7145456
Did that, it returned to the prompt and the log file gave:

/usr/X11R6/bin/startx: /dev/null: Permission denied
/usr/X11R6/bin/startx: /dev/null: Permission denied


Fatal server error:
Server is already active for display 0
     If this server is no longer running, remove /tmp/.X0-lock
     and start again.


When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file "/var/log/XFree86.".
Please report problems to xfree86@xfree86.org.

Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
giving up.
xinit:  unable to connect to X server
xinit:  No such process (errno 3):  Server error.
/usr/X11R6/bin/startx: /dev/null: Permission denied
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7148566
ok, there seems a xdm be running ...
Try following fro your consol terminal

  sh -c "/usr/X11R6/bin/xinit /home/ah/.xinitrc -- /usr/X11R6/lib/X11/xinit/xserverrc :2.0 > X.log 2>&1"

You should at least get a gray patterned background, and a large cross cursor (probably a menu on the mouse buttons too). You can leave this server with Ctrl+Alt+Backspace.
Please post the results of X.log
0
 

Author Comment

by:cliffhanger121599
ID: 7149284
Two problems:

There is no .../xinitrc file

and no ...../xserverrc file - anywhere

I'm running XFree 4.02 built from source.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7150154
ok then simply try:
  sh -c "X :2.0 > X.log 2>&1"
you probably get an error that only root can start X, then try
  sh -c "Xwrapper :2.0 > X.log 2>&1"
0
 

Author Comment

by:cliffhanger121599
ID: 7151104
The first gave(edited):

_XSERVTransSocketOpen: socket() failed for tcp
_XSERVTransSocketOpenCOTSServer: Unable to open socket for tcp
_XSERVTransOpen: transport open failed for tcp/cliffhangers:20
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for tcp

XFree86 Version 4.1.0 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 2 June 2001
     If the server is older than 6-12 months, or if your card is
     newer than the above date, look for a newer version before
     reporting problems.  (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.2.15-4mdkfb i686 [ELF]
Module Loader present
(==) Log file: "/var/log/XFree86.20.log", Time: Fri Jul 12 22:46:02 2002
(==) Using config file: "/etc/X11/XF86Config"
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen1" (0)
(**) |   |-->Monitor "Dell 8000 LCD"
(**) |   |-->Device "GeForce Go"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(WW) Option "XkbCompat" requires an string value
(**) XKB: rules: "xfree86"
(**) XKB: model: "pc101"
(**) XKB: layout: "gb"
(WW) The directory "/usr/X11R6/lib/X11/fonts/ttf/" does not exist.
     Entry deleted from font path.
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/local/,/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/:unscaled,/usr/X11R6/lib/X11/fonts/100dpi/:unscaled,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) using VT number 8

(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
     compiled for 4.1.0, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
     compiled for 4.1.0, module version = 0.1.0
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
     compiled for 4.1.0, module version = 0.1.0
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(--) PCI:*(1:0:0) NVidia unknown chipset (0x0112) rev 178, Mem @ 0xfc000000/24, 0xe0000000/27
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
     compiled for 4.1.0, module version = 1.0.0
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a

The second gave:

sh: Xwrapper:2.0: command not found
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7151122
ok, as I read the log, X starts fine: you see a gray patterned background and you have a cross cursor and you have been able to exit X with Ctrl+Alt+Backspace.
This proofes that the problem is not the server itself, just its runtime configuration (xinitrc, xserverrc), or most likely the configuration of KDE (panel, desktop, windo manager).

We can now track down the problem, try following:

   /usr/X11R6/bin/xinit /usr/X11R6/bin/xterm -- 2:0 -auth

(please adapt paths)
You should get a X server with cross cursor and a 80x24 xterm window (but no window frames etc.).
In the xterm window try to start (on of following):

   mwm
   fvwm
   twm
   kde     # will produce a lot of messages/warnings/errors

You can exit this application with Ctrl-C, then exit the sesseion with Ctrl-D (or the command exit) in xterm.

If at least mwm or fvwm works, then check if kde works. If kde does not start please post the messages.
0
 

Author Comment

by:cliffhanger121599
ID: 7151188
<<ok, as I read the log, X starts fine: you see a gray patterned background and you have a cross cursor and you have been able to exit X with Ctrl+Alt+Backspace.>>

I'm able to exit with Ctrl+Alt+Backspace but only after four or five attempts - reason?

<<You should get a X server with cross cursor and a 80x24 xterm window (but no window frames etc.).>>

I do

<<If at least mwm or fvwm works, then check if kde works. >>

twm works, producing xterm window and clock.   Typing KDE produces nothing - only "command not found"


MAC
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7151387
> twm works, producing xterm window and clock.
good.

> Typing KDE produces nothing - only "command not found"
we're getting closer ... hope you typed kde not KDE.

PLease try from the console window:
     which kde
if it does not return a full path to kde, please search for kde as follows:
     find /usr -type f -name kde -ls
     find /opt -type f -name kde -ls
and post the results.

Assuming you have following files in your (user's) home directory:
   .xinitrc
   .xserverrc
   .kderc
Please post result of:
     ls -l .xinitrc .xserverrc .kderc

check the .xinitrc script, it trys to set the WINDOWMANAGER environment variable, does kde exists in one of the tested paths?



0
 

Author Comment

by:cliffhanger121599
ID: 7151512
>PLease try from the console window:
>    which kde

 Returns full path

>Assuming you have following files in your (user's) home directory:
  .xinitrc              -  no
  .xserverrc            -  no
  .kderc                - yes


>Please post result of:
>    ls -l  .kderc

-rw-r--r--   1 cliffy   root          380 Jul 25  2001 /home/cliffy/.kderc

The only xinitrc file is under /etc/X11/xinit, as one would expect

As mentioned earlier, xserverrc does not exist anywhere - should it?

From the console window, "startkde" does produce errors - a stream of them.   How do I copy data from a console window, i.e. twm?


MAC
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7151540
sh -c "startkde >kde.log 2>&1"

about the missing .xinitrc, I'll test ...
0
 

Author Comment

by:cliffhanger121599
ID: 7151624
Log file:

/opt/kde/bin/startkde: /dev/null: Permission denied
/opt/kde/bin/startkde: /dev/null: Permission denied
LD_LIBRARY_PATH=/opt/kde/lib
kdeinit: Launched DCOPServer, pid = 165 result = 0
DCOPServer: SetAProc_loc: conn 0, prot=local, file=/tmp/.ICE-unix/167
DCOP: register 'anonymous-165' -> number of clients is now 1
DCOPServer up and running.
DCOP:  unregister 'anonymous-165'
DCOP: number of clients is now down to 0
kdeinit: Launched KLauncher, pid = 168 result = 0
DCOP: register 'klauncher' -> number of clients is now 1
DCOP: register 'anonymous-168' -> number of clients is now 2
DCOP: new daemon klauncher
DCOP:  unregister 'anonymous-168'
DCOP: number of clients is now down to 0
kdeinit: Launched KDED, pid = 170 result = 0
DCOP: register 'kded' -> number of clients is now 1
DCOP: register 'anonymous-170' -> number of clients is now 2
QFile::open: No file name specified
Couldn't open
kded: Does not exist! (/home/cliffy/.kde/share/servicetypes/)
kded: Does not exist! (/home/cliffy/.kde/share/mimelnk/)
DCOP: register 'anonymous-171' -> number of clients is now 3
QFile::open: No file name specified
Couldn't open
klauncher: KLauncher: Got kdeinit_exec_wait('kbuildsycoca', ...)
KInit: Got EXEC 'kbuildsycoca' from klauncher.
klauncher: kbuildsycoca (pid 172) up and running.
DCOP: register 'kbuildsycoca' -> number of clients is now 4
Error can't open database!
DCOP:  unregister 'kbuildsycoca'
DCOP: number of clients is now down to 3
kdeinit: PID 172 terminated.
DCOP:  unregister 'anonymous-171'
DCOP: number of clients is now down to 2
DCOP: new daemon kded
DCOP:  unregister 'anonymous-170'
DCOP: number of clients is now down to 0
kdeinit: PID 170 terminated.
kdeinit: opened connection to :0.0
kdeinit: Launched 'kcminit', pid = 173 result = 0
DCOP: register 'anonymous-173' -> number of clients is now 1
Initializing libkcm_arts: init_arts
kdeinit: Got SETENV 'KDE_DISPLAY=:0.0' from klauncher.
klauncher: KLauncher: Got kdeinit_exec('artsd', ...)
KInit: Got EXEC 'artsd' from klauncher.
library=artsd.la: No file names artsd.la found in paths.
Could not load library! Trying exec....
klauncher: artsd (pid 174) up and running.
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_arts
kcminit: Deleting KLibrary 0x807fb70  libkcm_arts
kcminit: library libkcm_kmix.la not found under 'module' but under 'lib'
kcminit: Initializing libkcm_kmix: init_kmix
kdeinit: Got SETENV 'KDE_DISPLAY=:0.0' from klauncher.
klauncher: KLauncher: Got start_service_by_desktop_name('kmixctrl_restore', ...)
KInit: Got EXEC 'kmixctrl' from klauncher.
klauncher: kmixctrl (pid 175) up and running.
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_kmix
kcminit: Deleting KLibrary 0x807fb70  libkcm_kmix
kcminit: Will not unload libkcm_energy
kcminit: Initializing libkcm_energy: init_energy
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_energy
kcminit: Deleting KLibrary 0x8080fa8  libkcm_energy
kcminit: library libkcm_layout.la not found under 'module' but under 'lib'
kdeinit: PID 175 terminated.
kcminit: Initializing libkcm_layout: init_layout
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_layout
kcminit: Deleting KLibrary 0x80816a0  libkcm_layout
kcminit: library libkcm_laptop.la not found under 'module' but under 'lib'
kcminit: Initializing libkcm_laptop: init_battery
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_laptop
kcminit: Deleting KLibrary 0x8081f20  libkcm_laptop
kcminit: library libkcm_xmlrpcd.la not found under 'module' but under 'lib'
kcminit: Initializing libkcm_xmlrpcd: init_xmlrpcd
kdeinit: Got SETENV 'KDE_DISPLAY=:0.0' from klauncher.
klauncher: KLauncher: Got start_service_by_desktop_name('kxmlrpcd', ...)
KInit: Got EXEC 'kxmlrpcd' from klauncher.
klauncher: kxmlrpcd (pid 176) up and running.
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_xmlrpcd
kcminit: Deleting KLibrary 0x80823c0  libkcm_xmlrpcd
DCOP: register 'kxmlrpcd' -> number of clients is now 2
DCOP: register 'anonymous-176' -> number of clients is now 3
WARNING: Could not create socket
Couldn't create a server socket!
DCOP:  unregister 'anonymous-176'
DCOP: number of clients is now down to 2
kdeinit: PID 176 terminated.
kcminit: Initializing libkcm_input: init_keyboard
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_input
kcminit: Deleting KLibrary 0x8085900  libkcm_input
Error while initializing the sound driver:
device /dev/dsp can't be opened (Permission denied)
kdeinit: PID 174 terminated.
kcminit: Initializing libkcm_access: init_access
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_access
kcminit: Deleting KLibrary 0x8086920  libkcm_access
kcminit: Initializing libkcm_style: init_style
kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
kdeinit: sending SIGTERM to children.
kdeinit: Exit.
KLauncher: Exiting on signal 15
DCOP:  unregister 'anonymous-173'
DCOP: number of clients is now down to 1
DCOP:  unregister 'kded'
DCOP:  unregister 'kxmlrpcd'
DCOP: number of clients is now down to 0
DCOP:  unregister 'klauncher'
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7151634
1) correct permissions of /dev/null and /dev/dsp
   chmod g+w /dev/null
   chmod o+w /dev/null
   chmod g+w /dev/dsp /dev/dsp0

2) you have started statkde with the :2.0 option (or similar), then I'm wondering that the log contains DISPLAY=:0.0, seems to be hardcoded then :-(

3) if 1) does not solve the problem, following seems to be the dragon:
     kdeinit: Fatal IO error: client killed

    do you have a cache file?
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

Author Comment

by:cliffhanger121599
ID: 7151704
> chmod g+w /dev/null
> chmod o+w /dev/null
> chmod g+w /dev/dsp /dev/dsp0

These are all correct, the result is the same.

> do you have a cache file?

Can you be more specific, within KDE or what?

MAC

0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7152074
> These are all correct, the result is the same.

and

> /opt/kde/bin/startkde: /dev/null: Permission denied

so, something must be wrong. Please post:
     ls -l /dev/null

>> do you have a cache file?
>>Can you be more specific, within KDE or what?
dammn, I meant core, sorry
 kdeinit terminated abnormaly, sometimes it will produce a file named core for further debuggimg purpose.
Traditionally this file was named core, so try:
     find . -name core -ls
unfortunatelly, Linux developers sometimes decide to use other names:
     find . -name \*core -ls
     find . -name core\* -ls

This file is only created if the shell allows it, check with:
     ulimit -a|grep -i core     # for ash,bash,ksh,sh
or:
     limiz|grep -i core     # for csh, tcsh
(value must not be 0)
0
 

Author Comment

by:cliffhanger121599
ID: 7152114
>so, something must be wrong. Please post:
>    ls -l /dev/null

crw-rw-rw-   1 root     root       1,   3 Jan 26 19:49 /dev/null

> Traditionally this file was named core, so try:
    find . -name core -ls
    find . -name \*core -ls
>    find . -name core\* -ls

No core dump

>This file is only created if the shell allows it, check with:
>ulimit -a|grep -i core     # for ash,bash,ksh,sh

core file size (blocks)     0

I was able to boot into a user from a console window last night for the first time, but it did not last, it is now unavailable again both from the console and KDM - does this help?


MAC
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7152135
>>so, something must be wrong. Please post:
>>    ls -l /dev/null
>  crw-rw-rw-   1 root     root       1,   3 Jan 26 19:49 /dev/null

That's ok.
Why is kdeinit then complaining? Can you please post:
    grep null /opt/kde/bin/startkde

Also, does following work:
    echo 1 > /dev/null

> core file size (blocks)     0
try to change with
   ulimit -c 50000000
0
 

Author Comment

by:cliffhanger121599
ID: 7152145
Further developments.   Within a console window in xterm I can now boot into a KDE desktop using "startkde" sometimes as mentioned, but more than this if I save the KDE desktop by logging out, it's possible to boot in everytime after that, but NOT from KDM.   If I Ctrl-Alt-Backspace and start a new xterm session it then becomes pot luck whether I boot into KDE.

Back shortly with the other requests.

MAC
0
 

Author Comment

by:cliffhanger121599
ID: 7152171
>Why is kdeinit then complaining? Can you please post:
> grep null /opt/kde/bin/startkde

lnusertemp tmp >/dev/null
lnusertemp socket >/dev/null

>Also, does following work:
  > echo 1 > /dev/null

Returns to prompt, no output

> core file size (blocks)     0
>ry to change with
> ulimit -c 50000000

Changed, but no core dumps.

MAC
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7152603
> > echo 1 > /dev/null
> Returns to prompt, no output
That's what I expected.
But makes things even more strange.

> Changed, but no core dumps.
That's ok too, 'cause process termiated legal, somehow.

All in all it will be hard to identify the problem now. Posting all the involved scripts is not a good solution.
Kan you please edit (temporarily) startkde, add a
   set -x
at the beginning (second line or so), then start it
   startkde > kde.log 2>&1
check the log file (you'll get a lot of line with + as very first character), post +/-5 arround the line producing the "permission denied" error, and +/-5 lines around the kdeinit call.

Silly question (not really a Linux solution):
  did you ever try to reinstall kde?
something in your system is corrupted ...
0
 

Author Comment

by:cliffhanger121599
ID: 7152772
Read out:

+ mkfontdir /home/cliffy/.kde/share/fonts
+ xset fp+ /home/cliffy/.kde/share/fonts
+ test -d /opt/kde/share/fonts
+ xset fp+ /opt/kde/share/fonts
+ xset fp rehash
+ lnusertemp tmp
/opt/kde/bin/startkde: /dev/null: Permission denied
+ lnusertemp socket
/opt/kde/bin/startkde: /dev/null: Permission denied
+ LD_BIND_NOW=true
+ kdeinit +kcminit
LD_LIBRARY_PATH=/opt/kde/lib
kdeinit: Launched DCOPServer, pid = 256 result = 0
DCOPServer: SetAProc_loc: conn 0, prot=local, file=/tmp/.ICE-unix/258
DCOP: register 'anonymous-256' -> number of clients is now 1
DCOPServer up and running.



kdeinit: Launched KDED, pid = 261 result = 0
DCOP: register 'kded' -> number of clients is now 1
DCOP: register 'anonymous-261' -> number of clients is now 2
QFile::open: No file name specified
Couldn't open
kded: Does not exist! (/home/cliffy/.kde/share/servicetypes/)
kded: Does not exist! (/home/cliffy/.kde/share/mimelnk/)
DCOP: register 'anonymous-262' -> number of clients is now 3
QFile::open: No file name specified
Couldn't open
klauncher: KLauncher: Got kdeinit_exec_wait('kbuildsycoca', ...)
KInit: Got EXEC 'kbuildsycoca' from klauncher.
klauncher: kbuildsycoca (pid 263) up and running.
DCOP: register 'kbuildsycoca' -> number of clients is now 4
Error can't open database!
DCOP:  unregister 'kbuildsycoca'
DCOP: number of clients is now down to 3
kdeinit: PID 263 terminated.
DCOP: new daemon kded
DCOP:  unregister 'anonymous-262'
DCOP: number of clients is now down to 1
kdeinit: PID 261 terminated.
kdeinit: opened connection to :0.0
kdeinit: Launched 'kcminit', pid = 264 result = 0
DCOP:  unregister 'anonymous-261'
DCOP: number of clients is now down to 0
DCOP: register 'anonymous-264' -> number of clients is now 1
Initializing libkcm_arts: init_arts
kdeinit: Got SETENV 'KDE_DISPLAY=:0.0' from klauncher.
klauncher: KLauncher: Got kdeinit_exec('artsd', ...)
KInit: Got EXEC 'artsd' from klauncher.
library=artsd.la: No file names artsd.la found in paths.
Could not load library! Trying exec....
klauncher: artsd (pid 265) up and running.
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_arts
kcminit: Deleting KLibrary 0x807fb70  libkcm_arts
kcminit: library libkcm_kmix.la not found under 'module' but under 'lib'
kcminit: Initializing libkcm_kmix: init_kmix
kdeinit: Got SETENV 'KDE_DISPLAY=:0.0' from klauncher.
klauncher: KLauncher: Got start_service_by_desktop_name('kmixctrl_restore', ...)
KInit: Got EXEC 'kmixctrl' from klauncher.
klauncher: kmixctrl (pid 266) up and running.
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_kmix
kcminit: Deleting KLibrary 0x807fb70  libkcm_kmix
kcminit: Will not unload libkcm_energy
kcminit: Initializing libkcm_energy: init_energy
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_energy
kcminit: Deleting KLibrary 0x8080fa8  libkcm_energy
kcminit: library libkcm_layout.la not found under 'module' but under 'lib'
kcminit: Initializing libkcm_layout: init_layout
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_layout
kcminit: Deleting KLibrary 0x8081630  libkcm_layout
kcminit: library libkcm_laptop.la not found under 'module' but under 'lib'
kcminit: Initializing libkcm_laptop: init_battery
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_laptop
kcminit: Deleting KLibrary 0x8081eb0  libkcm_laptop
kcminit: library libkcm_xmlrpcd.la not found under 'module' but under 'lib'
kcminit: Initializing libkcm_xmlrpcd: init_xmlrpcd
kdeinit: Got SETENV 'KDE_DISPLAY=:0.0' from klauncher.
klauncher: KLauncher: Got start_service_by_desktop_name('kxmlrpcd', ...)
KInit: Got EXEC 'kxmlrpcd' from klauncher.
DCOP: register 'kxmlrpcd' -> number of clients is now 2
klauncher: kxmlrpcd (pid 267) up and running.
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_xmlrpcd
kcminit: Deleting KLibrary 0x8082350  libkcm_xmlrpcd
kcminit: Initializing libkcm_input: init_keyboard
WARNING: Could not create socket
Couldn't create a server socket!
DCOP: register 'anonymous-267' -> number of clients is now 3
DCOP:  unregister 'anonymous-267'
DCOP: number of clients is now down to 2
kdeinit: PID 267 terminated.
Error while initializing the sound driver:
device /dev/dsp can't be opened (Permission denied)
kdeinit: PID 265 terminated.
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_input
kcminit: Deleting KLibrary 0x8085890  libkcm_input
kcminit: Initializing libkcm_access: init_access
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_access
kcminit: Deleting KLibrary 0x80868b0  libkcm_access
kcminit: Initializing libkcm_style: init_style
kdeinit: PID 266 terminated.
kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
kdeinit: sending SIGTERM to children.
kdeinit: Exit.


>Silly question (not really a Linux solution):
>did you ever try to reinstall kde?

No, but it's looking likely.

MAC
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7152920
> + lnusertemp tmp
> /opt/kde/bin/startkde: /dev/null: Permission denied

following possible reasons:
  1. /opt/kde/bin/startkde is corrupted
  2. lnusertemp function/script/program does somthing wrong, can you check this
 
Can you try to start following:
  export LD_LIBRARY_PATH=/opt/kde/lib
  export LD_BIND_NOW=true
  kdeinit

then try again, but with:
  kdeinit +kcminit
0
 

Author Comment

by:cliffhanger121599
ID: 7155294
>1. /opt/kde/bin/startkde is corrupted

Used backup, no effect

> 2. lnusertemp function/script/program does somthing wrong, can you check this


Sorry, but where is this?


>Can you try to start following:
> export LD_LIBRARY_PATH=/opt/kde/lib
>export LD_BIND_NOW=true
>kdeinit

read out:

LD_LIBRARY_PATH=/opt/kde/lib
kdeinit: Launched DCOPServer, pid = 679 result = 0
---------------------------------
It looks like dcopserver is already running. If you are sure
that it is not already running, remove /home/cliffy/.DCOPserver_cliffhangers_:0
and start dcopserver again.
---------------------------------

kdeinit: Launched KLauncher, pid = 680 result = 0
kdeinit: Launched KDED, pid = 682 result = 0
KDE Daemon (kded) already running.
QFile::open: No file name specified
Couldn't open
klauncher: KLauncher: Got kdeinit_exec_wait('kbuildsycoca', ...)
KInit: Got EXEC 'kbuildsycoca' from klauncher.
klauncher: kbuildsycoca (pid 684) up and running.
Error can't open database!
kdeinit: PID 684 terminated.
kdeinit: PID 682 terminated.
kdeinit: opened connection to :0.0
kdeinit: Killing kdeinit/klauncher.
klauncher: ERROR: KLauncher: KDEInit communication error! Commiting suicide!



>hen try again, but with:
>kdeinit +kcminit

read out:

 LD_LIBRARY_PATH=/opt/kde/lib
kdeinit: Shutting down running client.
---------------------------------
It looks like dcopserver is already running. If you are sure
that it is not already running, remove /home/cliffy/.DCOPserver_cliffhangers_:0
and start dcopserver again.
---------------------------------

kdeinit: Launched DCOPServer, pid = 688 result = 0
kdeinit: Launched KLauncher, pid = 689 result = 0
kdeinit: Launched KDED, pid = 691 result = 0
KDE Daemon (kded) already running.
QFile::open: No file name specified
Couldn't open
klauncher: KLauncher: Got kdeinit_exec_wait('kbuildsycoca', ...)
KInit: Got EXEC 'kbuildsycoca' from klauncher.
klauncher: kbuildsycoca (pid 693) up and running.
Error can't open database!
kdeinit: PID 693 terminated.
kdeinit: PID 691 terminated.
kdeinit: opened connection to :0.0
library=.la: No file names .la found in paths.
Could not load library! Trying exec....
kdeinit: Launched '', pid = 694 result = 1
kdeinit: PID 694 terminated.
kdeinit: Launched 'kcminit', pid = 695 result = 0
Initializing libkcm_arts: init_arts
kdeinit: Got SETENV 'KDE_DISPLAY=:0.0' from klauncher.
klauncher: KLauncher: Got kdeinit_exec('artsd', ...)
KInit: Got EXEC 'artsd' from klauncher.
library=artsd.la: No file names artsd.la found in paths.
Could not load library! Trying exec....
klauncher: artsd (pid 697) up and running.
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_arts
kcminit: Deleting KLibrary 0x807fbd8  libkcm_arts
kcminit: library libkcm_kmix.la not found under 'module' but under 'lib'
kcminit: Initializing libkcm_kmix: init_kmix
kdeinit: Got SETENV 'KDE_DISPLAY=:0.0' from klauncher.
klauncher: KLauncher: Got start_service_by_desktop_name('kmixctrl_restore', ...)
KInit: Got EXEC 'kmixctrl' from klauncher.
klauncher: kmixctrl (pid 698) up and running.
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_kmix
kcminit: Deleting KLibrary 0x807fbd8  libkcm_kmix
kcminit: Will not unload libkcm_energy
kcminit: Initializing libkcm_energy: init_energy
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_energy
kcminit: Deleting KLibrary 0x8081010  libkcm_energy
kcminit: library libkcm_layout.la not found under 'module' but under 'lib'
kcminit: Initializing libkcm_layout: init_layout
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_layout
kcminit: Deleting KLibrary 0x8081698  libkcm_layout
kcminit: library libkcm_laptop.la not found under 'module' but under 'lib'
kcminit: Initializing libkcm_laptop: init_battery
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_laptop
kcminit: Deleting KLibrary 0x8081f18  libkcm_laptop
kcminit: library libkcm_xmlrpcd.la not found under 'module' but under 'lib'
kcminit: Initializing libkcm_xmlrpcd: init_xmlrpcd
kdeinit: Got SETENV 'KDE_DISPLAY=:0.0' from klauncher.
klauncher: KLauncher: Got start_service_by_desktop_name('kxmlrpcd', ...)
KInit: Got EXEC 'kxmlrpcd' from klauncher.
Error while initializing the sound driver:
device /dev/dsp can't be opened (Permission denied)
klauncher: kxmlrpcd (pid 699) up and running.
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_xmlrpcd
kcminit: Deleting KLibrary 0x80823b8  libkcm_xmlrpcd
kcminit: Initializing libkcm_input: init_keyboard
kdeinit: PID 697 terminated.
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_input
kcminit: Deleting KLibrary 0x80858f8  libkcm_input
kcminit: Initializing libkcm_access: init_access
QFile::open: No file name specified
Couldn't open
kcminit: closing library libkcm_access
kcminit: Deleting KLibrary 0x8086918  libkcm_access
kcminit: Initializing libkcm_style: init_style
kdeinit: PID 699 terminated.
kdeinit: PID 698 terminated.
kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
KLauncher: Exiting on signal 1
kdeinit: sending SIGTERM to children.
kdeinit: Exit.

MAC






0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 7155772
> > 2. lnusertemp function/script/program does somthing wrong, can you check this
> Sorry, but where is this?

it is either defined as function in the script itself, or a external program. try to find as follows:
  which lnusertemp
  find /opt -name lnusertemp  -ls
If it is a short script, please post it.

(I'm not shure if I'm barking up the wrong tree, but as long as there is a "permission denied" I won't trust any following command)
0
 

Author Comment

by:cliffhanger121599
ID: 7157514
It is a program within /opt/kde/bin, i.e

 93148   10 -rwxr-xr-x   1 root     root         9391 May 12  2001 /opt/kde/bin/lnusertemp

As you know I am able to boot into root KDE.   The boot script for this shows "permission denied" for /dev/null and yet it works.   How is this?


MAC
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 500 total points
ID: 7157554
out of ideas, probably a corrupted startkde script. Mine look like this:

...
# Ask X11 to rebuild its font list.
xset fp rehash

#
# shutdown possible running dcopserver, which cause a login failure
# Link "tmp" and "socket" resource to directory in /tmp
# Creates a directory /tmp/kde-$USER and links $KDEHOME/tmp-$HOSTNAME to it.
dcopserver_shutdown
rm -rf "/tmp/ksocket-$USER" "/tmp/kde-$USER"
rm -rf "$KDEHOME/tmp-$HOSTNAME" "$KDEHOME/socket-$HOSTNAME"
lnusertemp tmp >/dev/null
lnusertemp socket >/dev/null
...

check if yours is missing the
  dcopserver_shutdown
  rm ..
  rm ..
lines. If so make a local copy of the script and add these lines, so that it look like above.
0
 

Author Comment

by:cliffhanger121599
ID: 7158014
It is a program within /opt/kde/bin, i.e

 93148   10 -rwxr-xr-x   1 root     root         9391 May 12  2001 /opt/kde/bin/lnusertemp

As you know I am able to boot into root KDE.   The boot script for this shows "permission denied" for /dev/null and yet it works.   How is this?


MAC
0
 

Author Comment

by:cliffhanger121599
ID: 7158170
It is a program within /opt/kde/bin, i.e

 93148   10 -rwxr-xr-x   1 root     root         9391 May 12  2001 /opt/kde/bin/lnusertemp

As you know I am able to boot into root KDE.   The boot script for this shows "permission denied" for /dev/null and yet it works.   How is this?


MAC
0
 

Author Comment

by:cliffhanger121599
ID: 7158186
Okay, the points are yours.   Added the lines, but no difference.    Many thanks for your time and patience, I'm off to reinstall KDE.

MAC
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

Suggested Solutions

In this tutorial I will explain how to make squid prevent malwares in five easy steps: Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now