LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-01-2008, 11:44 PM   #1
chuanweizuo
Member
 
Registered: Feb 2005
Location: China
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
Question TWO problems of my new installed SLK12.1, need help please


1) As a non-root user, when I logged on through KDM in runlevel 4, a error message was given:

/dev/dsp can't be opened (Permission denied)

Funny thing is, if I logged on through "startx" in runlevel 3, there was no error message and the system can have sound.

What's the problem?
ls -l /dev/dsp gives:
crw-rw----


2) My firefox cannot be launched. I tried to start it from the menu, but it failed after long busy-launching seen from the task bar. Seamonkey can be successfully launched, but with long launching time. So I guess maybe there is some config problems about my internet browser.


Thank you guys! Hope you can help me out!

PS: SLK 12.1 is amazing^_^
 
Old 06-01-2008, 11:55 PM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
If you add yourself to the "audio" group, you shouldn't get the message about /dev/dsp. Have you tried launching Firefox from a terminal to see if there are any error messages?
 
Old 06-02-2008, 06:21 AM   #3
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Also, try creating a new profile for firefox. Try temporarily moving~/.mozilla to ~/.mozilla.old. Then relaunch Firefox. This will create a new ~/.moziila folder, and a new profile with it.
You can always [mv ~/.mozilla.old ~/.mozilla] to put it back if it doesn't fix it.
 
Old 06-02-2008, 07:29 AM   #4
chuanweizuo
Member
 
Registered: Feb 2005
Location: China
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: 15
I found every time I launched a program, SCIM always started first, which made the process of launching that program quite slow. So, this might be the problem about firefox.

Does anyone also have this problem? How to fix this?

Thank you!!
 
Old 06-02-2008, 08:53 AM   #5
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
This sounds like a problem I had.
http://www.linuxquestions.org/questi...oot-ok-640837/
 
Old 06-02-2008, 09:39 AM   #6
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by Nylex View Post
If you add yourself to the "audio" group, you shouldn't get the message about /dev/dsp. Have you tried launching Firefox from a terminal to see if there are any error messages?
This issue has been covered many times in even recent threads in this forum. Just to reiterate, the issue is that in runlevel 3 you get added to "bonus" groups as set by /etc/login.defs
Quote:
Originally Posted by /etc/login.defs
# Note that users are added to these default groups only when
# logging into a shell with /bin/login, not when using a login
# manager such as kdm. In that case, users who should have
# hardware access must be added to the appropriate groups
# when the user is added with adduser or useradd, or by editing
# /etc/group directly.
#
CONSOLE_GROUPS floppy:audio:cdrom:video
As a result, your audio seems to work fine in runlevel 3, but not in runlevel 4 unless you user is a part of the audio group.

Code:
gpasswd -a user audio
should add your user to the audio group. Be sure to relogin that user and then run groups to check if the group is there. While you are at it, make sure your user is at least part of the plugdev group as well to make sure HAL works properly. Also, the lp group is suggested for printing in 12.1 (see the CHANGES_AND_HINTS.TXT).

Quote:
Originally Posted by tommcd View Post
Also, try creating a new profile for firefox. Try temporarily moving~/.mozilla to ~/.mozilla.old. Then relaunch Firefox. This will create a new ~/.moziila folder, and a new profile with it.
You can always [mv ~/.mozilla.old ~/.mozilla] to put it back if it doesn't fix it.
~/.mozilla/firefox/ is the default location for Firefox profiles. If you mess with the entire .mozilla folder you are also messing with your seamonkey profiles as well. Running firefox -P lets you create a new (and delete or rename) a profile anyways, so you should not have to clear anything out.

If allend's advice on SCIM isn't what you need I first recommend that you check for any lock files under your profile that may be preventing it from opening. It will be called something like .parentlock. If firefox is not running then remove this file. If you have to kill any running instances of firefox first (pkill firefox).

If you think it is a profile problem then by all means try a new profile. As I said earlier, you can simply create a new profile for testing by using the Profile Manager (firefox -P).
 
Old 06-06-2008, 03:58 AM   #7
chuanweizuo
Member
 
Registered: Feb 2005
Location: China
Distribution: Slackware
Posts: 35

Original Poster
Rep: Reputation: 15
Thank you guys!
I've figured out the two problems.

Adding the user to 'audio' group solved the first one. As for the second, it was caused by scim. I fixed by:

chmod +x /etc/profile.d/scim.*
 
  


Reply



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
Problems when 12.1 is installed http:// Slackware 27 05-29-2008 06:16 AM
Cannot enable DMA on slk12 darkslack Slackware 10 02-07-2008 06:16 AM
MPX on slk12 howto (multi pointer X) SCerovec Slackware 2 08-15-2007 05:10 AM
just installed, few problems... jack.s-suse Ubuntu 2 11-28-2005 06:28 PM
rpm problems... is it installed or not? pdmackenzie Linux - Software 3 12-29-2002 10:14 PM

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

All times are GMT -5. The time now is 10:40 AM.

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