This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Problem with embedded Desktop (Xephyr)

Tags: None
(comma "," separated)
Smjert
Registered Member
Posts
8
Karma
0
I just finished to configure/build all, i'm trying to start xephyr to embed kde4 in my kde3, but i have these errors:
Fatal server error:
Server is already active for display 1
If this server is no longer running, remove /tmp/.X1-lock
and start again.

smjert@Debora:~/kde$ AUDIT: Tue Oct 21 22:25:43 2008: 8559 Xephyr: client 1 rejected from local host (uid 1000)
AUDIT: Tue Oct 21 22:25:43 2008: 8559 Xephyr: client 1 rejected from local host (uid 1000)
No protocol specified
xsetroot: unable to open display ':1'
AUDIT: Tue Oct 21 22:25:43 2008: 8559 Xephyr: client 1 rejected from local host (uid 1000)
No protocol specified
xset: unable to open display ":1"
AUDIT: Tue Oct 21 22:25:43 2008: 8559 Xephyr: client 1 rejected from local host (uid 1000)
No protocol specified
xsetroot: unable to open display ':1'
startkde: Starting up...
AUDIT: Tue Oct 21 22:25:43 2008: 8559 Xephyr: client 1 rejected from local host (uid 1000)
No protocol specified
ksplash: cannot connect to X server :1
AUDIT: Tue Oct 21 22:25:43 2008: 8559 Xephyr: client 1 rejected from local host (uid 1000)
No protocol specified
xprop: unable to open display ':1'
AUDIT: Tue Oct 21 22:25:43 2008: 8559 Xephyr: client 1 rejected from local host (uid 1000)
No protocol specified
kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
AUDIT: Tue Oct 21 22:25:43 2008: 8559 Xephyr: client 1 rejected from local host (uid 1000)
No protocol specified
kded: cannot connect to X server :1
DCOP aborting call from 'anonymous-8916' to 'kded'
AUDIT: Tue Oct 21 22:25:44 2008: 8559 Xephyr: client 1 rejected from local host (uid 1000)
No protocol specified
kcminit_startup: cannot connect to X server :1
AUDIT: Tue Oct 21 22:25:44 2008: 8559 Xephyr: client 1 rejected from local host (uid 1000)
No protocol specified
AUDIT: Tue Oct 21 22:25:44 2008: 8559 Xephyr: client 1 rejected from local host (uid 1000)
No protocol specified
ksmserver: cannot connect to X server :1
startkde: Shutting down...


I'm using this script to start kde and so on:

#! /bin/bash
NESTED_KDE_DISPLAY_BACKUP=$DISPLAY
export DISPLAY=:0
Xephyr :1 -screen 1024x768 &
export DISPLAY=:1
$HOME/kde/bin/startkde-modified &
export DISPLAY=${NESTED_KDE_DISPLAY_BACKUP}


Smjert, proud to be a member of KDE forums since 2008-Oct.
Smjert
Registered Member
Posts
8
Karma
0
I solved, it was a problem of .Xauthority "cookie".
I used a script from here http://wiki.debian.org/XStrikeForce/FAQ#howtoxnest (since i have Debian Lenny), put it in some PATH and changed the embedded desktop starting script like this:

Code: Select all
#! /bin/bash
NESTED_KDE_DISPLAY_BACKUP=$DISPLAY
export DISPLAY=:0
XephyrAuth :1 -screen 1024x768 -extension GLX  &
export DISPLAY=:1
$HOME/kde/bin/startkde-modified &
export DISPLAY=${NESTED_KDE_DISPLAY_BACKUP}


Where XephyrAuth is the name of the script which create the necessary cookie.
Now Xephyr starts but it initialize Kde3 not Kde4.
This is my startkde-modified (took from the original one but different for the first lines because i added some exports as the guide says):

Code: Select all
#!/bin/sh
#
#  DEFAULT KDE STARTUP SCRIPT ( KDE-3.5.9 )
#

# When the X server dies we get a HUP signal from xinit. We must ignore it
# because we still need to do some cleanup.
export KDEDIR=`kde4-config --prefix`
export LD_LIBRARY_PATH=$KDEDIR/lib
export PATH=$KDEDIR/bin/:$PATH
export KDEHOME=~/.kde4

trap 'echo GOT SIGHUP' HUP

# Check if a KDE session already is running
if kcheckrunning >/dev/null 2>&1; then
   echo "KDE seems to be already running on this display."
   xmessage -geometry 500x100 "KDE seems to be already running on this display." > /dev/null 2>/dev/null
   exit 1
fi

# Set the background to plain grey.
# The standard X background is nasty, causing moire effects and exploding
# people's heads. We use colours from the standard KDE palette for those with
# palettised displays.
if test -z "$XDM_MANAGED" || echo "$XDM_MANAGED" | grep ",auto" > /dev/null; then
  xsetroot -solid "#000000"
fi

# we have to unset this for Darwin since it will screw up KDE's dynamic-loading
unset DYLD_FORCE_FLAT_NAMESPACE

# in case we have been started with full pathname spec without being in PATH
bindir=`echo "$0" | sed -n 's,^(/.*)/[^/][^/]*$,1,p'`
if [ -n "$bindir" ]; then
  case $PATH in
    $bindir|$bindir:*|*:$bindir|*:$bindir:*) ;;
    *) PATH=$bindir:$PATH; export PATH;;
  esac
fi

# Boot sequence:
#
# kdeinit is used to fork off processes which improves memory usage
# and startup time.
#
# * kdeinit starts the dcopserver and klauncher first.
# * Then kded is started. kded is responsible for keeping the sycoca
#   database up to date. When an up to date database is present it goes
#   into the background and the startup continues.
# * Then kdeinit starts kcminit. kcminit performs initialisation of
#   certain devices according to the user's settings
#
# * Then ksmserver is started which takes control of the rest of the startup sequence

# The user's personal KDE directory is usually ~/.kde, but this setting
# may be overridden by setting KDEHOME.

kdehome=$HOME/.kde
test -n "$KDEHOME" && kdehome=`echo "$KDEHOME"|sed "s,^~/,$HOME/,"`

# see kstartupconfig source for usage
mkdir -m 700 -p $kdehome
mkdir -m 700 -p $kdehome/share
mkdir -m 700 -p $kdehome/share/config
cat >$kdehome/share/config/startupconfigkeys /env/*.sh and /env/*.sh
# (where  is $KDEHOME or ~/.kde, and  is where KDE is installed)
#
# This is where you can define environment variables that will be available to
# all KDE programs, so this is where you can run agents using e.g. eval `ssh-agent`
# or eval `gpg-agent --daemon`.
# Note: if you do that, you should also put "ssh-agent -k" as a shutdown script
#
# (see end of this file).
# For anything else (that doesn't set env vars, or that needs a window manager),
# better use the Autostart folder.

exepath=`kde-config --path exe | tr : 'n'`

for prefix in `echo "$exepath" | sed -n -e 's,/bin[^/]*/,/env/,p'`; do
  for file in "$prefix"*.sh; do
    test -r "$file" && . "$file"
  done
done

# Activate the kde font directories.
#
# There are 4 directories that may be used for supplying fonts for KDE.
#
# There are two system directories. These belong to the administrator.
# There are two user directories, where the user may add her own fonts.
#
# The 'override' versions are for fonts that should come first in the list,
# i.e. if you have a font in your 'override' directory, it will be used in
# preference to any other.
#
# The preference order looks like this:
# user override, system override, X, user, system
#
# Where X is the original font database that was set up before this script
# runs.

usr_odir=$HOME/.fonts/kde-override
usr_fdir=$HOME/.fonts

# Add any user-installed font directories to the X font path
kde_fontpaths=$usr_fdir/fontpaths
do_usr_fdir=1
do_usr_odir=1
if test -r "$kde_fontpaths" ; then
    savifs=$IFS
    IFS="
"
    for fpath in `grep -v '^[    ]*#' /dev/null; then
        echo 'startkde: Call to lnusertemp failed (temporary directories full?). Check your installation.'  1>&2
        xmessage -geometry 600x100 "Call to lnusertemp failed (temporary directories full?). Check your installation."
        exit 1
    fi
done

# In case of dcop sockets left by a previous session, cleanup
dcopserver_shutdown

echo 'startkde: Starting up...'  1>&2

# run KPersonalizer before the session, if this is the first login
if test "$kpersonalizerrc_general_firstlogin" = "true"; then
    if [ ! -x /usr/bin/kpersonalizer ]; then
        echo 'startkde: kpersonalizer not found! Please install to properly configure your user.'  1>&2
    else
        # start only dcopserver, don't start whole kdeinit (takes too long)
        echo 'startkde: Running kpersonalizer...'  1>&2
        dcopserver
        kwin --lock &
        kpersonalizer --before-session
        # handle kpersonalizer restarts (language change)
        while test $? -eq 1; do
            kpersonalizer --r --before-session
        done
        dcopquit kwin
        dcopserver_shutdown --wait
    fi
fi

if test -z "$dl"; then
  # the splashscreen and progress indicator
  case "$ksplashrc_ksplash_theme" in
    None)
       ;; # nothing
    Simple)
       if test "$kpersonalizerrc_general_firstlogin" = "true"; then
           ksplashsimple
       fi # otherwise started earlier
       ;;
    *)
       ksplash --nodcop
       ;;
  esac
fi

# Mark that full KDE session is running (e.g. Konqueror preloading works only
# with full KDE running). The KDE_FULL_SESSION property can be detected by
# any X client connected to the same X session, even if not launched
# directly from the KDE session but e.g. using "ssh -X", kdesu. $KDE_FULL_SESSION
# however guarantees that the application is launched in the same environment
# like the KDE session and that e.g. KDE utilities/libraries are available.
# KDE_FULL_SESSION property is also only available since KDE 3.5.5.
# The matching tests are:
#   For $KDE_FULL_SESSION:
#     if test -n "$KDE_FULL_SESSION"; then ... whatever
#   For KDE_FULL_SESSION property:
#     xprop -root | grep "^KDE_FULL_SESSION" >/dev/null 2>/dev/null
#     if test $? -eq 0; then ... whatever
#
# Additionally there is (since KDE 3.5.7) $KDE_SESSION_UID with the uid
# of the user running the KDE session. It should be rarely needed (e.g.
# after sudo to prevent desktop-wide functionality in the new user's kded).
#
KDE_FULL_SESSION=true
export KDE_FULL_SESSION
xprop -root -f KDE_FULL_SESSION 8t -set KDE_FULL_SESSION true
KDE_SESSION_UID=$(id -ru)
export KDE_SESSION_UID

# We set LD_BIND_NOW to increase the efficiency of kdeinit.
# kdeinit unsets this variable before loading applications.
LD_BIND_NOW=true start_kdeinit_wrapper --new-startup +kcminit_startup
if test $? -ne 0; then
  # Startup error
  echo 'startkde: Could not start kdeinit. Check your installation.'  1>&2
  xmessage -geometry 500x100 "Could not start kdeinit. Check your installation."
fi

# If the session should be locked from the start (locked autologin),
# lock now and do the rest of the KDE startup underneath the locker.
if test -n "$dl"; then
  kwrapper kdesktop_lock --forcelock &
  # Give it some time for starting up. This is somewhat unclean; some
  # notification would be better.
  sleep 1
fi

# finally, give the session control to the session manager
# see kdebase/ksmserver for the description of the rest of the startup sequence
# if the KDEWM environment variable has been set, then it will be used as KDE's
# window manager instead of kwin.
# if KDEWM is not set, ksmserver will ensure kwin is started.
# kwrapper is used to reduce startup time and memory usage
# kwrapper does not return usefull error codes such as the exit code of ksmserver.
# We only check for 255 which means that the ksmserver process could not be
# started, any problems thereafter, e.g. ksmserver failing to initialize,
# will remain undetected.
test -n "$KDEWM" && KDEWM="--windowmanager $KDEWM"
kwrapper ksmserver $KDEWM
if test $? -eq 255; then
  # Startup error
  echo 'startkde: Could not start ksmserver. Check your installation.'  1>&2
  xmessage -geometry 500x100 "Could not start ksmserver. Check your installation."
fi

# wait if there's any crashhandler shown
while dcop | grep -q ^drkonqi- ; do
    sleep 5
done

echo 'startkde: Shutting down...'  1>&2

# Clean up
kdeinit_shutdown
dcopserver_shutdown --wait
artsshell -q terminate
# KDE4 support
kde4 kdeinit4_shutdown 2>/dev/null

echo 'startkde: Running shutdown scripts...'  1>&2

# Run scripts found in $KDEDIRS/shutdown
for prefix in `echo "$exepath" | sed -n -e 's,/bin[^/]*/,/shutdown/,p'`; do
  for file in `ls "$prefix" 2> /dev/null | egrep -v '(~|.bak)$'`; do
    test -x "$prefix$file" && "$prefix$file"
  done
done

unset KDE_FULL_SESSION
xprop -root -remove KDE_FULL_SESSION
unset KDE_SESSION_UID

echo 'startkde: Done.'  1>&2


The command kde4-config --prefix works and return the right path..


Smjert, proud to be a member of KDE forums since 2008-Oct.
Smjert
Registered Member
Posts
8
Karma
0
No one knows why it starts kde3 and not 4?
I think it's a stupid reason but i can't understand why it behave like that.


Smjert, proud to be a member of KDE forums since 2008-Oct.
User avatar
YeahReally
Registered Member
Posts
71
Karma
1
OS
That script is made for KDE3. And, since Debian does not provide co-installable packages for KDE3 & 4, I assume you're compiling from source. If that is the case, you have to set some paths correctly before calling startkde.

This is how I start a KDE 4.2 session in KDE 4.1:

Xephyr :1&
DISPLAY=:1 ssh -X localhost
export KDEDIR=/path/to/KDE/4.2
export KDEHOME=$HOME/.kde42
export KDETMP=/tmp/kde42-$USER
mkdir -p $KDETMP
export KDEDIRS=$KDEDIR
export PATH=$KDEDIR/bin:$PATH
export QT_PLUGIN_PATH=$KDEDIR/lib/kde4/plugins:$QT_PLUGIN_PATH
startkde

Last edited by YeahReally on Mon Oct 27, 2008 12:12 pm, edited 1 time in total.


Debian GNU/Linux Lenny
KDE 4.1.96

How many bugs have you triaged today?
Smjert
Registered Member
Posts
8
Karma
0
YeahReally wrote:That script is made for KDE3. And, since Debian does not provide co-installable packages for KDE3 & 4, I assume you're compiling from source. If that is the case, you have to set some paths correctly before calling startkde.

This is how I start a KDE 4.2 session in KDE 4.1:

Xephyr :1&
DISPLAY=:1 ssh -X localhost
export KDEDIR=/path/to/KDE/4.2
export KDEHOME=$HOME/.kde42
export KDETMP=/tmp/kde42-$USER
mkdir -p $KDETMP
export KDEDIRS=$KDEDIR
export PATH=$KDEDIR/bin:$PATH
export QT_PLUGIN_PATH=$KDEDIR/lib/kde4/plugins:$QT_PLUGIN_PATH
startkde


Yes i compiled from source.
I used your script but it says that an x server is already running (anyway my kde3 DISPLAY is 0):
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't already running


I tried various combination but it always says that there's already a X server running.

Last edited by Smjert on Mon Oct 27, 2008 5:38 pm, edited 1 time in total.


Smjert, proud to be a member of KDE forums since 2008-Oct.
User avatar
YeahReally
Registered Member
Posts
71
Karma
1
OS
Smjert wrote:Yes i compiled from source.
I used your script but it says that an x server is already running (anyway my kde3 DISPLAY is 0):

That was not a script. It was meant to be written line by line in a terminal.


Translated to script my solution is:

startkde4-paths
Code: Select all
#!/bin/sh
export KDEDIR=/path/to/KDE/4.2
export KDEHOME=$HOME/.kde42
export KDETMP=/tmp/kde42-$USER
mkdir -p $KDETMP
export KDEDIRS=$KDEDIR
export PATH=$KDEDIR/bin:$PATH
export QT_PLUGIN_PATH=$KDEDIR/lib/kde4/plugins:$QT_PLUGIN_PATH
startkde


startkde4
Code: Select all
#!/bin/sh
Xephyr :1 &
export DISPLAY=:1
ssh -X localhost "startkde4-paths"


Put both files in a directory in your $PATH and run "startkde4".

Last edited by YeahReally on Mon Oct 27, 2008 6:45 pm, edited 1 time in total.


Debian GNU/Linux Lenny
KDE 4.1.96

How many bugs have you triaged today?
Smjert
Registered Member
Posts
8
Karma
0
Nothing to do, i created the files and put them in /usr/local/bin (just to try, this path is in my $PATH variable):

startkde4:
Code: Select all
#!/bin/sh
XephyrAuth :1 & <- i used XephyrAuth because it complains about xauth and magiccookie
export DISPLAY=:1
ssh -X localhost "startkde4-paths"


XephyrAuth is:
Code: Select all
#!/bin/sh

MCOOKIE=$(mcookie)
xauth add $(hostname)/unix$1 . $MCOOKIE
xauth add localhost/unix$1 . $MCOOKIE
Xephyr "$@"
xauth remove $(hostname)/unix$1 localhost/unix$1

exit 0


and my startkde4-paths:
Code: Select all
#!/bin/sh
export KDEDIR=/home/smjert/kde
export KDEHOME=$HOME/.kde4
export KDETMP=/tmp/kde4-$USER
mkdir -p $KDETMP
export KDEDIRS=$KDEDIR
export PATH=$KDEDIR/bin:$PATH
export QT_PLUGIN_PATH=$KDEDIR/lib/kde4/plugins:$QT_PLUGIN_PATH
startkde


Still kde3 is loaded... and here some output from the terminal, from when i called the script to when i closed the xephyr window (as you can see it says "unrecognised device identifier", after that i pressed Enter and then i put my password.

smjert@Debora:/usr/local/bin$ ./StartKde4
smjert@localhost's password: Could not init font path element /usr/share/fonts/X
11/cyrillic, removing from list!
unrecognised device identifier!

Permission denied, please try again.
smjert@localhost's password:
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing
.
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from li
st!
unrecognised device identifier!
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing
.
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from li
st!
unrecognised device identifier!
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing
.
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from li
st!
unrecognised device identifier!
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, should be 1; fixing
.
startkde: Starting up...
Could not init font path element /usr/share/fonts/X11/cyrillic, removing from li
st!
unrecognised device identifier!
kbuildsycoca running...
amidi-plug(amidi-plug.c:amidiplug_init:97): init, read configuration
amidi-plug(i_backend.c:i_backend_load:107): loading backend '/usr/lib/audacious/
Input/amidi-plug/ap-alsa.so'
amidi-plug(i_backend.c:i_backend_load:145): backend /usr/lib/audacious/Input/ami
di-plug/ap-alsa.so (name 'alsa') successfully loaded
Could not find 'guidance-power-manager.py' executable.
Session save requested. Saving state.
ASSERT: "firstOption == listItems.size() || found" in /build/buildd/kdelibs-3.5.
9.dfsg.1/./khtml/rendering/render_form.cpp (1254)
ASSERT: "firstOption == listItems.size() || found" in /build/buildd/kdelibs-3.5.
9.dfsg.1/./khtml/rendering/render_form.cpp (1254)
ASSERT: "firstOption == listItems.size() || found" in /build/buildd/kdelibs-3.5.
9.dfsg.1/./khtml/rendering/render_form.cpp (1254)
ASSERT: "firstOption == listItems.size() || found" in /build/buildd/kdelibs-3.5.
9.dfsg.1/./khtml/rendering/render_form.cpp (1254)
ASSERT: "firstOption == listItems.size() || found" in /build/buildd/kdelibs-3.5.
9.dfsg.1/./khtml/rendering/render_form.cpp (1254)
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2e00006
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2e00006
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 20
Minor opcode: 0
Resource id: 0x2e00006
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 19
Minor opcode: 0
Resource id: 0x2e00006
QLayout "unnamed" added to IndexView "unnamed", which already has a layout
LASTFM: (cleanup) Cleanup finished
amidi-plug(i_backend.c:i_backend_unload:164): unloading backend 'alsa'
amidi-plug(i_backend.c:i_backend_unload:167): backend 'alsa' unloaded
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 19
Minor opcode: 0
Resource id: 0x2400003
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
after 57866 requests (57866 known processed) with 0 events remaining.
kwrite: Fatal IO error: client killed
kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
kicker: sighandler called
klauncher: Exiting on signal 1
kdeinit: sending SIGTERM to children.
kdeinit: Exit.
*** kdesktop got signal 15 (Exiting)
*** kdesktop got signal 1 (Exiting)
klauncher: Fatal IO error: client killed
kdesktop: Fatal IO error: client killed
kdeinit: Fatal IO error: client killed
kdeinit: sending SIGHUP to children.
kwin: Fatal IO error: client killed
Corrupt data!

Corrupt data!

QGArray::at: Absolute index -1 out of range
kicker: sighandler called
kicker: sighandler called
kicker: Fatal IO error: client killed
ICE default IO error handler doing an exit(), pid = 4767, errno = 32
ICE default IO error handler doing an exit(), pid = 4755, errno = 32
kdeinit: sending SIGTERM to children.
kdeinit: Exit.
DCOPClient::attachInternal. Attach failed Could not open network socket
DCOPClient::attachInternal. Attach failed Could not open network socket
ERROR: Couldn't attach to DCOP server!
startkde: Shutting down...
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!
startkde: Running shutdown scripts...
connect /tmp/.X11-unix/X1: Connection refused
xprop: unable to open display 'localhost:10.0'
startkde: Done.

Last edited by Smjert on Sat Nov 01, 2008 12:14 am, edited 1 time in total.


Smjert, proud to be a member of KDE forums since 2008-Oct.
User avatar
YeahReally
Registered Member
Posts
71
Karma
1
OS
I used your script (including XephyrAuth) only changing the KDE installation dir and it works as expected.

I suspect you have some files missing or are pointing to the wrong KDE dir. Try changing

startkde
to
/home/smjert/kde/bin/starkde

Also verify you have reading and execution privileges to /home/smjert/kde and subdirectories


Debian GNU/Linux Lenny
KDE 4.1.96

How many bugs have you triaged today?
Smjert
Registered Member
Posts
8
Karma
0
YeahReally wrote:I used your script (including XephyrAuth) only changing the KDE installation dir and it works as expected.

I suspect you have some files missing or are pointing to the wrong KDE dir. Try changing

startkde
to
/home/smjert/kde/bin/starkde

Also verify you have reading and execution privileges to /home/smjert/kde and subdirectories


I don't have startkde file under /home/smjert/kde/bin (only the one under /usr/bin/ from kde3, which is currentrly installed) :|
All my directories privileges are 755, owner is smjert.

NEWS: I'm rebuilding kde4 with kdesvn-build and now startkde appears in /home/smjert/kde/bin, probably i didn't built someting well the last time (and the last time i used terminal, with cmake and so on).

Last edited by Smjert on Sat Nov 01, 2008 1:44 pm, edited 1 time in total.


Smjert, proud to be a member of KDE forums since 2008-Oct.
Smjert
Registered Member
Posts
8
Karma
0
Ok now i launched the script and xephyr loaded the right kde.
Xephyr window was small so i closed it and modified the call to XephyrAuth, to use 1024x768 resolution and so on, i started again the script but it gave errors about Xauthority, so i closed Kde3, (no grafic environment running) and reopen it with startx and.. first it loads Kde3 with some Kde4 icons on the Desktop, after that it loads Kde4 desktop background and bars, so now i have a mixed grafic environment... what the hell..? :D

Here's an image...

ImageImage

NEWS: I partially solved my problems commenting some lines in .bashrc (provided by kde4 building guide :|):
Code: Select all
# KDE
#export KDEDIR=$HOME/kde
#export KDEHOME=$HOME/.kde4
#export KDETMP=/tmp/kde4-$USER
#mkdir -p $KDETMP
#export KDEDIRS=$KDEDIR
#prepend PATH $KDEDIR/bin
#prepend LD_LIBRARY_PATH $KDEDIR/lib
#prepend PKG_CONFIG_PATH $KDEDIR/lib/pkgconfig
#prepend QT_PLUGIN_PATH $KDEDIR/lib/kde4/plugins
 
#export PATH
#export LD_LIBRARY_PATH
#export PKG_CONFIG_PATH
#export QT_PLUGIN_PATH


I can continue without them or i need them?
I said partially resolved only because my desktot icons (trash and home) has no icon, tried also to set them one but nothing...

I only want to help this project (starting with juniorsjobs obviously), but it's really difficult to start! eheh.

Last edited by Smjert on Sat Nov 01, 2008 4:35 pm, edited 1 time in total.


Smjert, proud to be a member of KDE forums since 2008-Oct.
User avatar
YeahReally
Registered Member
Posts
71
Karma
1
OS
Kool! Now you have the best of both worlds ;P

KDE4 should not be loading at all unless you have setup your .bashrc or other environment script to include KDE4 paths. I suggest to separate or remove those settings.

EDIT: You updated your post 4 minutes after my reply :p
I can continue without them or i need them?

For building KDE you need to move those lines and others to a different script (eg. development.sh) and source it (eg.: source development.sh). Then cmakekde as usual.
I said partially resolved only because my desktot icons (trash and home) has no icon, tried also to set them one but nothing...

No idea what is happening there.

Last edited by YeahReally on Sat Nov 01, 2008 8:51 pm, edited 1 time in total.


Debian GNU/Linux Lenny
KDE 4.1.96

How many bugs have you triaged today?
Smjert
Registered Member
Posts
8
Karma
0
YeahReally wrote:Kool! Now you have the best of both worlds ;P

KDE4 should not be loading at all unless you have setup your .bashrc or other environment script to include KDE4 paths. I suggest to separate or remove those settings.

EDIT: You updated your post 4 minutes after my reply :p
I can continue without them or i need them?

For building KDE you need to move those lines and others to a different script (eg. development.sh) and source it (eg.: source development.sh). Then cmakekde as usual.
I said partially resolved only because my desktot icons (trash and home) has no icon, tried also to set them one but nothing...

No idea what is happening there.


Don't worry, now i have other problems with KDevelop not finding qt includes (even if QTDIR has the right path).
Anyway i will deal with that another time ^^.


Smjert, proud to be a member of KDE forums since 2008-Oct.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell