You are not logged in.

#1 2013-11-18 17:10:59

stormforce133
Member
From: Argentina
Registered: 2013-11-18
Posts: 14

KDE won't launch any app when using KDM

Hi! I'm having this issue... when I log on to KDE Plasma Desktop I can't run any app, but startup applications does. Even desktop settings form right-click menu works, but when I try to launch something from the menu, it doesn't open... When it's a KDE App, it says that KDEInit could not start that app. Some ideas? Thanks!

Last edited by stormforce133 (2013-11-19 10:12:59)

Offline

#2 2013-11-18 17:19:36

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,258

Re: KDE won't launch any app when using KDM

Welcome to Arch Linux.

Can you launch a terminal emulator? (urxvt, xterm)
Also, it is not clear what you mean by, " I can't run any app, but startup applications does".  Does that mean you can autostart applications, but you cannot launch them by hand?

Also, if you could provide a bit more information.  How did you start KDE, is this a 32 or a 64 bit installation, is your system fully up to date.  Has the installation ever worked? (Is it a new installation, or did something break)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#3 2013-11-18 17:36:21

stormforce133
Member
From: Argentina
Registered: 2013-11-18
Posts: 14

Re: KDE won't launch any app when using KDM

Sorry, my english is awful.

My system is up to date, 64bits Arch Linux. KDE 4.11.
One workaround I've found is to use another Display Manager (I'm using entrance from AUR)

The first installation of KDE worked flawlessly, but at some point this happened... I don't remember having altered any config related to KDM or KDEInit.
I'm using catalyst-test-pxp... but I don't think that changes anything.

As I was saying, startup applications like Skype or Insync runs well. But I can't open anything else, even starting from command window (Alt+F2).
The clue is that KDE apps like Konsole throws up a message dialog, that KDEInit could not start that application.

What does work is, for example, the desktop properties window from right-cllick menu.

Offline

#4 2013-11-18 18:00:35

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,258

Re: KDE won't launch any app when using KDM

I knew exactly zero about Entrance.  Having glanced at the wiki, I can now say I have an infinitesimal amount of knowledge.  Perhaps if you could share your /etc/entrance.conf file, maybe there is something in there that is glaring.

Edit:

Sorry, my english is awful.

No, it isn't.  And it is a whole lot better than my Spanish.

Last edited by ewaller (2013-11-18 18:02:08)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#5 2013-11-18 18:06:00

stormforce133
Member
From: Argentina
Registered: 2013-11-18
Posts: 14

Re: KDE won't launch any app when using KDM

Entrance is my workaround, I can use any display manager to get KDE working properly... the problem is with KDM. This only happens when I use KDM to login.
Anyway, here's the file tongue

group "Entrance_Config" struct {
    value "session_path" string: "/usr/local/sbin:/usr/local/bin:/usr/bin";

    /* X server path */
    value "xinit_path" string: "/usr/bin/X";
    /* X server args */
    value "xinit_args" string: "-nolisten tcp -br vt7";

    /* xauth path binary */
    value "xauth_path" string: "/usr/bin/xauth";
    /* xauth file for server */
    value "xauth_file" string: "/var/run/entrance.auth";


    /* Commands executed when starting a session */
    value "session_start" string: "/usr/bin/sessreg -a -l :0.0";
    /* Commands executed when exiting a session */
    value "session_stop" string: "/usr/bin/sessreg -d -l :0.0";


    /* Commands executed to shutdown */
    value "shutdown" string: "/usr/bin/systemctl poweroff";
    /* Command executed to reboot */
    value "reboot" string: "/usr/bin/systemctl reboot";
    /* Command executed to suspend */
    value "suspend" string: "/usr/bin/systemctl suspend";


   /** Start in daemon mode. This can be overriden by the command line
     *  1 = True, 0 = False */
    value "daemonize" uchar: 1;

    /* Enable numlock TODO support it */
    value "numlock" uchar: 1;

    /** Bool to determine if entrance could use the xdg desktop files and
     * determine the command to use
     * 1 = desktop_file_cmd, 0 = session_login,
     * 2 = pass window manager choice to system command */
    value "xsessions" uchar: 1;

    /** Bool to determine if entrance must autologin user when X start
     *  1 = autologin enabled, 0 = autologin disabled */
    value "autologin" uchar: 0;

    /* The name of the user to use when autologin are enabled */
    value "userlogin" string: "eze";

    /* Lock file */
    value "lockfile" string: "/var/run/entrance.pid";

    /* Log file */
    value "logfile" string: "/var/log/entrance.log";

    /* Theme to use. This one could be overided if you permit setting below */
    value "theme" string: "default";

    /* Allow settings in gui, who overides this one until it's updated */
    value "custom_conf" uchar: 1;

    /* background */
    value "background_path" string: "";
    /* if it's an edj file */
    value "background_group" string: "";

    /* Elementary profile */
    value "elementary_profile" string: "default";

    /* Use a virtual keyboard */
    value "virtual_keyboard" uchar: 0;
}

Offline

#6 2013-11-18 21:10:25

stormforce133
Member
From: Argentina
Registered: 2013-11-18
Posts: 14

Re: KDE won't launch any app when using KDM

SOLVED!
I don't know why, but either my user and root user where not members of "kdm" group, so:

# usermod -aG username kdm
# usermod -aG root kdm

That did the trick... I'm having this issue with almost every group... video, audio, disk.... No idea why.

Thanks anyway!! I'll change the topic title.

Last edited by stormforce133 (2013-11-18 21:11:27)

Offline

#7 2013-11-19 10:16:21

stormforce133
Member
From: Argentina
Registered: 2013-11-18
Posts: 14

Re: KDE won't launch any app when using KDM

NOT SOLVED!! tongue
The problem appeared again, this time I can't tell why... the only changes I've made was installing pulseaudio and pulseaudio-alsa... and play with HDMI output..
Then I turned on my laptop today... and again, no apps running, even the ones that are configured in startup applications.
I have no idea what's going on, if someone have a clue, I will appreciate it.

EDIT: Now I can't mount my NTFS USB drive (permissons issue)
Something is going on with my system groups/permissons...

Last edited by stormforce133 (2013-11-19 11:53:15)

Offline

#8 2013-11-19 12:13:03

stormforce133
Member
From: Argentina
Registered: 2013-11-18
Posts: 14

Re: KDE won't launch any app when using KDM

After some wiki reading.... here comes a question:

Which groups should a standard user be member of?

This is my id:

uid=1000(eze) gid=100(users) grupos=100(users),6(disk),10(wheel),90(network),91(video),92(audio),95(storage),135(kdm)

And this is my /etc/group

root:x:0:root
bin:x:1:root,bin,daemon
daemon:x:2:root,bin,daemon
sys:x:3:root,bin
adm:x:4:root,daemon
tty:x:5:
disk:x:6:root,eze
lp:x:7:daemon
mem:x:8:
kmem:x:9:
wheel:x:10:root,eze
ftp:x:11:
mail:x:12:
uucp:x:14:
log:x:19:root
utmp:x:20:
locate:x:21:
rfkill:x:24:
smmsp:x:25:
http:x:33:
games:x:50:
lock:x:54:
uuidd:x:68:
dbus:x:81:
network:x:90:eze
video:x:91:eze
audio:x:92:eze
optical:x:93:
floppy:x:94:
storage:x:95:eze
scanner:x:96:
power:x:98:eze
nobody:x:99:
users:x:100:eze
systemd-journal:x:190:
polkitd:x:102:
avahi:x:84:
vboxusers:x:108:
gdm:x:120:
git:x:619:
mdm:x:128:
usbmux:x:140:
mysql:x:89:
kdm:x:135:eze,root
rtkit:x:133:

Last edited by stormforce133 (2013-11-19 12:19:37)

Offline

#9 2013-11-27 01:15:29

dyadin
Member
Registered: 2012-11-03
Posts: 3

Re: KDE won't launch any app when using KDM

hello ,I'm a Chakra Linux user and met the same problem as yours yesterday.
Then I solved it ! 
the day before yesterday I wrote a shell script and put it into ~/.kde4/Autostart ,then I can't launch any kde-based apps after rebooting ,even xterm or konsole can't start...
but when i delete the script ,everything back to normal...
I saw you said you have some autostart programs maybe you've also put them in  ~/kde4/Autostart . so just delete them or move them to ~/.config/autostart .
wish you good luck

Offline

#10 2014-01-17 16:26:08

EdCates
Member
Registered: 2012-04-22
Posts: 3

Re: KDE won't launch any app when using KDM

dyadin thank you SO much! I was having exactly the same problem, and it turns out I had removed the executable bit (chmod -x) on a script in ~/.kde4/Autostart/! I did the un-lazy thing and removed the script, and now I can use KDE again.

Also, what a ridiculously silly bug.

Last edited by EdCates (2014-01-17 16:26:28)

Offline

Board footer

Powered by FluxBB