![]() |
No sound in KDE when started by startx while working fine when started by kdm/gdm
I recently installed KDE in my ubuntu 10.10. To access KDE, I want to use
startx /usr/bin/startkde But using it disables sound in KDE (Sound is working fine in GNOME). It doesn't sound for anything like login sound, totem, mplayer or any other player. But when I press Alt+Ctrl+F1 to change to virtual console, the playback resumes from where it was in time and when coming back Alt+Ctrl+F7 and the time in totem (or any other player) doesn't move. While log out also it doesn't play logout sound and doesn't logout, so I have to press Ctrl+Alt+F1 so that logout sound play then it exits.:banghead: When starting KDE by kdm or gdm, the sound works normally. But I don't want to login again using kdm or gdm and not to use root user to start kdm or gdm. I don't know what is the difference between when KDE is started by startx or by kdm/gdm where the same user login in kdm/gdm as that for startx. Help me please. Please... |
I would guess running startx it's not connecting to the consolekit session.
You could try putting this in ~/.xinitrc Code:
exec /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/startkdeCode:
startx |
Thank you reed9. This works now.
I will try to know more regarding this myself. |
| All times are GMT -5. The time now is 07:31 AM. |