I also found the problem:
Since the DISPLAY variable is not fully set (it shows ":0" only), I entered in /etc/profile the line:
Code:
export DISPLAY=lcnpc.epfl.ch:0.0
For reason unclear to me - this confused the KDE.
Here is a log file:
Code:
lcnpc:~ # startkde &> startkde.log
lcnpc:~ # cat startkde.log
xsetroot: unable to open display 'lcnpc.epfl.ch:0.0'
xset: unable to open display "lcnpc.epfl.ch:0.0"
xset: unable to open display "lcnpc.epfl.ch:0.0"
xsetroot: unable to open display 'lcnpc.epfl.ch:0.0'
startkde: Starting up...
ksplash: cannot connect to X server lcnpc.epfl.ch:0.0
kded: cannot connect to X server lcnpc.epfl.ch:0.0
DCOP aborting call from 'anonymous-3674' to 'kded'
kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
kcminit: cannot connect to X server lcnpc.epfl.ch:0.0
knotify: cannot connect to X server lcnpc.epfl.ch:0.0
DCOP aborting call from 'anonymous-3677' to 'knotify'
ksmserver: cannot connect to X server lcnpc.epfl.ch:0.0
startkde: Shutting down...
klauncher: Exiting on signal 1
startkde: Running shutdown scripts...
startkde: Done.
lcnpc:~ #
Currently, when I ssh, the remote computer cannot open the X display since the DISPLAY variable is not set properly.
Any idea what should I do in order to set the DISPLAY variable properly? (Without trashing the computer

)