LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-19-2008, 08:51 PM   #1
pratyushbroken
LQ Newbie
 
Registered: Jan 2008
Posts: 10

Rep: Reputation: 0
kaffeine crash innn mandriva 2008


hello every body im a newbie who has just started off with mandriva 2008 linux.recently i discovered that playing video files on kaffeine the media player made the system go back to the login page .I wonder why this is happening and i'm looking forward to a solution to rectify it.
 
Old 01-20-2008, 05:07 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos
Posts: 3,404
Blog Entries: 33

Rep: Reputation: 222Reputation: 222Reputation: 222
I would check the install.

Of kaffeine first and xine, as kaffeine uses xine engine.

If you haven't done so, update your package repos, in the software installer, rpmdrake.

If you need to find repos near you goto easyurpmi (search) and follow the instructions.

You should be able to update your system after that.

I hope this is what you need, and wanted.

Regards, Glenn

p.s. You may find an error message about it in .xsession-errors in your user and/or root directory. Also logs in /var/log/

Last edited by GlennsPref; 01-20-2008 at 05:11 AM.
 
Old 01-30-2008, 07:39 AM   #3
pratyushbroken
LQ Newbie
 
Registered: Jan 2008
Posts: 10

Original Poster
Rep: Reputation: 0
sir i do not know anything bout linux just starting out as a newbie and yes i have re-installed entire linux but it has not solved my problem i would be greatfull if you could guide me stepwise.
thank you.
 
Old 01-30-2008, 11:47 AM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos
Posts: 3,404
Blog Entries: 33

Rep: Reputation: 222Reputation: 222Reputation: 222
first, You might need to use urpmi on a command line like konsole or an other terminal.

Youĺl need to be root to do this.

Then you can upgrade some of the packages involved, like kaffeine xine and any codecs you might want, like win32-codecs, real-codec and quicktime [from plf repos]. Thereś heaps of others, but see how you go.

There is a really good guide by Ernie....

http://www.linuxquestions.org/linux/..._Media_Sources

post back with any questions,

regards, Glenn
 
Old 01-30-2008, 02:19 PM   #5
pratyushbroken
LQ Newbie
 
Registered: Jan 2008
Posts: 10

Original Poster
Rep: Reputation: 0
sir,
im quite trying to get a hold of the link you posted me.i could understand that they were some packages which needed to be installed and im trying to install them but first im reading what all that means and how to install it through a console.
Kindly bear with me as it shall be a little late than you expect me to do it ..
Thank You for the support and i'll shall keep troublin with my stupid queries but i find them important as windows has made me dumb enough.
pratyush gupta
 
Old 01-30-2008, 08:13 PM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos
Posts: 3,404
Blog Entries: 33

Rep: Reputation: 222Reputation: 222Reputation: 222
No problems.

Which console questions do you have?

Did you go to easy-urpmi website to add repositories to your data base?

If so, just copy and paste the list, from step 3, into a console and wait for the action to finish.

It could take a while to down load as some of them are 50mb.

After all that you should be able to upgrade the packages we spoke of.

Talk to you soon, regards, Glenn

ps. The only stupid questions are those not asked. Just Ask!

Last edited by GlennsPref; 01-30-2008 at 08:15 PM.
 
Old 01-30-2008, 08:25 PM   #7
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos
Posts: 3,404
Blog Entries: 33

Rep: Reputation: 222Reputation: 222Reputation: 222
From Ernies blog... you need the first 3 groups to get by. (standard)

quote:
following the directions on the WEB site at http://easyurpmi.zarb.org/. (easy-urpmi)

All users should set up at least the following (official) Internet Software Media Sources:
Quote:
contrib
contrib_updates
main
main_updates
These are the popular and system packages
If you have no objection to the use of non-GPL'd or proprietary software add the following (Official) Internet Software Media Sources:
Quote:
non-free
non-free updates
Some good stuff here
You may also wish to add the following (Penguin Liberation Front) Internet Software Media Sources:
Quote:
plf-free
plf-nonfree
Media codecs and programs Mandriva cannot distribute

end quote.

Hope this helps, Glenn
 
Old 01-31-2008, 09:14 AM   #8
pratyushbroken
LQ Newbie
 
Registered: Jan 2008
Posts: 10

Original Poster
Rep: Reputation: 0
sir i had pasted the link and then executed the command on the konsole but it said command not found.but there is one thing that im logged in as another user not as the 'root' so i do not know now how to login as the root because i had created my own login id and now when i try to enter as the root it says invalid password though at the time of install it did not ask for a root password.But i shall try again to login as the root and for that i guess i have to re-install the enire linux.
will get back to you really soon.
thank you sir.
 
Old 01-31-2008, 01:45 PM   #9
pratyushbroken
LQ Newbie
 
Registered: Jan 2008
Posts: 10

Original Poster
Rep: Reputation: 0
hllo sir,
now im faced with a new problem.i had now typed 'su' at the konsole to become a superuser and logged in as the root but now as i am entering the commands for downloading those packages it says "urpmi database locked".

what do i do now sir?please help
thank you.
 
Old 01-31-2008, 06:15 PM   #10
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos
Posts: 3,404
Blog Entries: 33

Rep: Reputation: 222Reputation: 222Reputation: 222
The data base is locked so you can't run more that one instance of the urpmi program.
If you can't see all of the instances or rpm [urpmi, smart, rpmdrake] running,
In a gui, I use KSysGuard to explore all processes.[a process monitor for kde]

So, open it up and type in a search for urpmi and rpm and if you find one, kill it.

Make sure you have finished downloading, or you might have to start all over.

regards, Glenn

Last edited by GlennsPref; 02-09-2008 at 03:39 PM.
 
Old 02-04-2008, 12:08 AM   #11
pratyushbroken
LQ Newbie
 
Registered: Jan 2008
Posts: 10

Original Poster
Rep: Reputation: 0
hello sir,
i'm sorry for disappearing for so many days,i was on a trip to home.
Sir,i had tried killing the process name you mentioned but it said "insufficient permissions to kill the process".Sir i have another query as well,that whnevr at login i try to enter as root it says "root logins not permitted".how do i resolve this as well?

thanking you
pratyush
 
Old 02-04-2008, 12:37 AM   #12
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: pclinuxos
Posts: 3,404
Blog Entries: 33

Rep: Reputation: 222Reputation: 222Reputation: 222
As root edit the file, /etc/kde/kdm/kdmrc
line 16 on my system, change to true.

14 [X-*-Core]
15 AllowNullPasswd=false
16 AllowRootLogin=true
17 AllowShutdown=None
18 AutoReLogin=false

To kill a process run by root, you'll need to start ksysguard as root.

In a terminal type su

enter root password

type ksysguard

That will give you permission to kill a process.

Cheers, Glenn

type exit to go back to user.

Last edited by GlennsPref; 02-04-2008 at 12:39 AM.
 
Old 02-04-2008, 01:18 AM   #13
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
If what you are attempting to do is run urpmi, it is safer to open a terminal window when logged in as a regular user, then su to root:
Code:
[user@localhost ~]$ su
Password: )enter your root password here)
urpmi (packagename)
I understand that many users who are familiar with Windows but new to Linux find it inconvenient to be required to enter the root password to execute an administrative command or run an administrative program. Mandriva (and most Linux distributions) do this to enhance system security. Working as a regular user and executing administrative programs by providing the root password when prompted creates a situation where only a single window is running with administrative authority rather than the entire session. If needed, you could open your WEB browser to a page with a guide for completing an administrative procedure you want to follow as a regular user and complete the procedure (as root) safely in the same session.

I may be somewhat paranoid, but my thinking is that if something can go wrong it will (Murphy's Law), so I try to leave as little to chance as possible. After becoming accustomed to accessing administrative programs this way, I have come to find it inconvenient to open a root session to do the same work. I have been using Mandriva (Mandrake) since about 3rd quarter 1998, and I can not remember the last time I have needed to do so.
 
Old 02-05-2008, 03:57 AM   #14
pratyushbroken
LQ Newbie
 
Registered: Jan 2008
Posts: 10

Original Poster
Rep: Reputation: 0
ernie sir,
what i am attempting to do here is fix my kaffeine player in mandriva2008 which takes me back to the login menu on playing a video file.on being suggestd by mr glenn(i assume that to be his name) had suggestd me to select packages from a site and i simply copied the comaands from there n trid pasting them at the comaand prompt.i had logged in just the way you have described but it said that databases are locked.so i could not figure what to do with it next.
thank you for your interest sir
pratyush gupta
 
Old 02-05-2008, 11:47 PM   #15
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
urpmi or any other RPM management tool will create a lock file to control access to the rpm database while it is in use. If the rpm management tool exits abnormally, the lock file may be left behind. Also, if you have the Mandriva Online tool running and it is checking for updates, you may get a locked database error until it completes. If Mandriva Online shows a green check mark or a red exclamation mark icon in the system dock, it has completed its start up run. An orange question mark indicates a check for updates. If no other rpm management program is running, and urpmi returns an error that the rpm database is locked, the solution may be as simple as rebooting the system to unlock the database. If that fails, you can try deleting /var/lib/urpmi/.LOCK as root in a terminal window:
Code:
rm /var/lib/urpmi/LOCK
HTH,

Last edited by ernie; 02-05-2008 at 11:48 PM.
 
  


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
Mandriva 2008 leram12 Linux - Newbie 3 12-21-2007 04:46 AM
Mandriva 2008 Fails To Update Mandriva 2007 Spring Free max53000 Mandriva 1 10-20-2007 04:53 AM
LXer: The Perfect Desktop - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-16-2007 07:20 PM
LXer: The Perfect Server - Mandriva 2008 Free (Mandriva 2008.0) LXer Syndicated Linux News 0 10-11-2007 09:41 PM
kaffeine crash konqueror delta function Slackware 0 01-14-2005 05:52 AM

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

All times are GMT -5. The time now is 01:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration