You are not logged in.

#1 2013-03-02 00:49:23

xpt
Member
Registered: 2012-10-23
Posts: 60

[SOLVED] Problem witch qt4 , KDE and startx

Hi!
With the recent update of qt4 i had a problem to start X session.
First, i update all with pacman -Syu (qt4 to 4.8.4-11), and then update only qt4 to 4.8.4-12.
A few hours i have a problem to start KDE and show me a message:

Could not start d-bus. Can you call qdbus?

After trying to use the following command:

xinit steam -- :1

and to my surprise, run KDE without problems, but with xinitrc exec startkde and startx it continues equal

Last edited by xpt (2013-03-08 20:40:33)

Offline

#2 2013-03-02 06:40:44

bowshock
Member
From: Indonesia
Registered: 2013-02-08
Posts: 26

Re: [SOLVED] Problem witch qt4 , KDE and startx

Do you use KDM?

Offline

#3 2013-03-02 06:51:35

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Problem witch qt4 , KDE and startx

xpt wrote:

First, i update all with pacman -Syu (qt4 to 4.8.4-11), and then update alone qt4 to 4.8.4-12.

Partial upgrades are unsupported


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2013-03-02 06:53:07

xpt
Member
Registered: 2012-10-23
Posts: 60

Re: [SOLVED] Problem witch qt4 , KDE and startx

No, I do not use any dm
Always start with startx, but now does not work sad
Other environments (like razon and LXDE) it work without problem, it's just KDE
But with xinit steam -- :1 open KDE =/

Last edited by xpt (2013-03-02 06:53:47)

Offline

#5 2013-03-02 07:01:26

xpt
Member
Registered: 2012-10-23
Posts: 60

Re: [SOLVED] Problem witch qt4 , KDE and startx

jasonwryan wrote:
xpt wrote:

First, i update all with pacman -Syu (qt4 to 4.8.4-11), and then update alone qt4 to 4.8.4-12.

Partial upgrades are unsupported

Firts i do

 pacman -Syu 

And updated all packages ( qt4 to 4.8.4-11, and other KDE packages ),
Few hours after i  repeated pacman -Syu, and  updated only qt4 to 4.8.4-12

Offline

#6 2013-03-02 11:00:27

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: [SOLVED] Problem witch qt4 , KDE and startx

-13 is out.

Offline

#7 2013-03-04 07:20:18

xpt
Member
Registered: 2012-10-23
Posts: 60

Re: [SOLVED] Problem witch qt4 , KDE and startx

I update to -13 but still the same sad

Offline

#8 2013-03-04 08:41:09

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: [SOLVED] Problem witch qt4 , KDE and startx

How does your xinitrc look like?

Offline

#9 2013-03-04 20:56:57

xpt
Member
Registered: 2012-10-23
Posts: 60

Re: [SOLVED] Problem witch qt4 , KDE and startx

with xinit steam -- :1, run KDE ( as using startx normally ), but with startx i get the message and will not start.
With other users happen the same

Offline

#10 2013-03-04 21:49:28

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: [SOLVED] Problem witch qt4 , KDE and startx

Awebb wrote:

How does your xinitrc look like?

So?

Offline

#11 2013-03-04 21:59:57

xpt
Member
Registered: 2012-10-23
Posts: 60

Re: [SOLVED] Problem witch qt4 , KDE and startx

xinitrc

 exec startkde 

Offline

#12 2013-03-04 22:47:37

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: [SOLVED] Problem witch qt4 , KDE and startx

gnome-session, startkde and startxfce4 will start a D-Bus session automatically if one is not already running. The skeleton file for ~/.xinitrc (/etc/skel/.xinitrc) will do the same. Make sure that your ~/.xinitrc is based on the skeleton file /etc/skel/.xinitrc.

https://wiki.archlinux.org/index.php/D-Bus

So...

$ cat /etc/skel/.xinitrc 
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

... because ...

$ ls /etc/X11/xinit/xinitrc.d/
30-dbus  40-libcanberra-gtk-module  xdg-user-dirs

That's why dbus is not started.

EDIT:

As a side note: I strongly suggest using KDM in your case. You can create a session file only for steam and switch to a seperate session with only steam from inside KDE. This will also stop KDE from running, when all you want is steam.

Last edited by Awebb (2013-03-04 22:50:54)

Offline

#13 2013-03-04 23:24:57

xpt
Member
Registered: 2012-10-23
Posts: 60

Re: [SOLVED] Problem witch qt4 , KDE and startx

xinitrc

#! /bin/sh
if [ -d /etc/X11/xinit/xinitrc.d ]; then
  for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
  done
  unset f
fi
#xrdb ~/.Xresources &
#exec gnome-session
#exec startlxde
#exex steam
exec startkde
#exec /usr/bin/xbmc-standalone
#exec unity
#exec razor-session
#exec startxfce4

with startx still does not work, but with KDM works to choose KDE
I don't understand why it doesn't work with startx =/

Offline

#14 2013-03-08 19:15:39

xpt
Member
Registered: 2012-10-23
Posts: 60

Re: [SOLVED] Problem witch qt4 , KDE and startx

I upgraded and the problem was solved

Offline

Board footer

Powered by FluxBB