LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-14-2010, 09:55 AM   #1
arj1singh
LQ Newbie
 
Registered: Dec 2010
Posts: 4

Rep: Reputation: 0
Unhappy 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.

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...
 
Old 12-14-2010, 11:32 AM   #2
reed9
Member
 
Registered: Jan 2009
Location: Boston, MA
Distribution: Arch Linux
Posts: 653

Rep: Reputation: 142Reputation: 142
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/startkde
And then run
Code:
startx
 
Old 12-14-2010, 11:55 AM   #3
arj1singh
LQ Newbie
 
Registered: Dec 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you reed9. This works now.
I will try to know more regarding this myself.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
why is GUI not getting started with startx marifh Linux - Newbie 2 06-15-2008 06:42 AM
X screwey on startup, fine after killed & started again 95se Linux - Laptop and Netbook 0 11-18-2006 12:27 PM
can't start gdm, kdm and others fine whtriced Linux - Software 6 08-08-2006 03:02 PM
Need Xorg To Listen On Network When Started By, kdm-3.4 qwijibow Linux - General 3 04-20-2006 03:27 PM
kdm cannot login to KDE, but gdm and xdm work fine?? ming0 Slackware 2 09-01-2004 02:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration