AVS › AVS Forum › Video Components › Home Theater Computers › HTPC - Linux Chat › Official Mandriva Linux 2010.0 thread
New Posts  All Forums:Forum Nav:

Official Mandriva Linux 2010.0 thread - Page 3

post #61 of 130
Mythbuntu does have a GUI for LIRC setup. If you use mythbuntu-control-centre it will actually generate an .lircrc (in addition to the lircd.conf) file for you to start with as well if you ask it to, as well as setup and lirc transmitter.
post #62 of 130
Quote:
Originally Posted by tux99 View Post

Thanks, the /usr/share/lirc/remotes/mceusb/lircd.conf.mceusb file you posted is the same file livingjean is using, and lirc 0.8.5 is older than the 0.8.6 that comes with Mandriva 2010.0, which explains why you still have the separate lirc_mceusb and lirc_mceusb2 modules.

Does Mandriva have the modinfo command? Out of curiosity, run it for the lirc_mceusb and lirc_mceusb2 modules. See if it lists this remote.
post #63 of 130
Thread Starter 
Quote:
Originally Posted by waterhead View Post

Does Mandriva have the modinfo command? Out of curiosity, run it for the lirc_mceusb and lirc_mceusb2 modules. See if it lists this remote.

Sure it has, even if you don't seem to believe it all Linux distros have basically the same software, especially with regards to such basic fundamental tools.
The main differences between distros (once installed) are the packaging tools and the choice of software installed by default and the default GUI theme, apart from that they are all the same Linux!

Anyway I posted that output already you probably missed it (and yes it lists that remote):
http://www.avsforum.com/avs-vb/showp...8&postcount=53

Again see here:
http://www.lirc.org/html/install.html#updating085
post #64 of 130
Quote:
Originally Posted by tux99 View Post

Sure it has, even if you don't seem to believe it all Linux distros have basically the same software, especially with regards to such basic fundamental tools.
The main differences between distros (once installed) are the packaging tools and the choice of software installed by default and the default GUI theme, apart from that they are all the same Linux!

Please don't talk down to me. I'm not an idiot! I also am not an Ubuntu fanboy. I started using it for MythTV because it was a lot easier to get MythTV up and running in it. I still prefer using Fedora for everything else.

I know that basic commands are in most distros, but there is no law that says they have to include them. that is why I first asked, politely.
Quote:


Anyway I posted that output already you probably missed it (and yes it lists that remote):
http://www.avsforum.com/avs-vb/showp...8&postcount=53

Again see here:
http://www.lirc.org/html/install.html#updating085

Yes, I did miss it. Thanks.
post #65 of 130
Thread Starter 
Quote:
Originally Posted by waterhead View Post

Please don't talk down to me. I'm not an idiot! I also am not an Ubuntu fanboy.

I'm sorry if you got the impression that I was talking down on you, I didn't intend to. My apologies.

Your posts gave me the impression you might have never experienced any other distro apart from *buntu (which these days is rather common among newer Linux users), that's why I replied with that explanation about distro differences.
post #66 of 130
Thread Starter 
Quote:
Originally Posted by tux99 View Post

but I will try to retrieve the config out of a XBMC Live iso image later tonight and post it here.

I have checked the XBMC Live ISO and found that it has lircd set up by default with the /usr/share/lirc/remotes/mceusb/lircd.conf.mceusb config file, so nothing new/unusual there.
post #67 of 130
Thread Starter 
I just discovered that due to changes in lircd 0.8.6 (used by Mandriva 2010.0) XBMC doesn't find the lircd device by default, lircd 0.8.6 now puts the device in /var/run/lirc/ while XBMC is expecting it by default in /dev.

I have therefore updated my Mandriva XBMC RPM with a postinstall script that creates a symlink from /dev/lircd to /var/run/lirc/lircd.

Therefore I advise anyone using my Mandriva XBMC RPM to download the latest version (which is also based on a newer svn version) or else run the following command as root to create the link manually:

ln -s /var/run/lirc/lircd /dev/

With this symlink and the config explained in post #post17581201 and follow-ups, my mceusb remote works fine with XBMC.
post #68 of 130
Quote:
Originally Posted by tux99 View Post

I have verified that my IR receiver is working by doing the following:

ps -ef|grep lirc
then killed lircd and lircmd

then ran:
irrecord -d /dev/lirc/0 /tmp/lircd.conf

when following the on-screen instructions I get feedback for my remote key-presses and in the end I get a valid lircd.conf for my remote (which actually looks different than the default mceusb one, maybe because I'm using the Harmony remote).

After that I copied /tmp/lircd.conf to /etc/lirc/ and restarted lircd and lircmd (or reboot the PC) and ran irw again and now I get output for each key-press.

As I said, I'm not a lirc expert so I'm not sure this is the best/easiest way to do this but it seems to work for me.

thanks a lot tux, i followed the directions and generated lircd.conf file for my remote, which is available here

also, I found this nice site http://lircconfig.commandir.com/ which contains configs for lots of diffrent types of remotes. Also it can help to generate your customized
.lircrc, currently they have bunch of popular tools listed there (vlc, mplayer etc.) for which you can map your remote's keys to various functions in these tools.

using the above mentioned site I created my .lircrc for VLC and got my remote to work with VLC ...........so awesome...........some keys are not working, I am pretty sure its a mapping issue, will use waterhead's config to figure it out.

again, thanks everybody for there feedback/suggestions /comments.
post #69 of 130
Quote:
Originally Posted by tux99 View Post

I just discovered that due to changes in lircd 0.8.6 (used by Mandriva 2010.0) XBMC doesn't find the lircd device by default, lircd 0.8.6 now puts the device in /var/run/lirc/ while XBMC is expecting it by default in /dev.

I have therefore updated my Mandriva XBMC RPM with a postinstall script that creates a symlink from /dev/lircd to /var/run/lirc/lircd.

Therefore I advise anyone using my Mandriva XBMC RPM to download the latest version (which is also based on a newer svn version) or else run the following command as root to create the link manually:

ln -s /var/run/lirc/lircd /dev/

With this symlink and the config explained in post #post17581201 and follow-ups, my mceusb remote works fine with XBMC.

I think the button names in lircd.conf (/etc/lirc/lircd.conf) and what XBMC is expecting should be same, right ? how else would XBMC know which function is mapped to which button ?

EDIT: forgot to notice tux99's reply in post #66, I will use the button names from /usr/share/lirc/remotes/mceusb/lircd.conf.mceusb and see how it plays out (if it works, I will update .lircrc as well)
post #70 of 130
Thread Starter 
Quote:
Originally Posted by livinjean View Post

I think the button names in lircd.conf (/etc/lirc/lircd.conf) and what XBMC is expecting should be same, right ? how else would XBMC know which function is mapped to which button ?

EDIT: forgot to notice tux99's reply in post #66, I will use the button names from /usr/share/lirc/remotes/mceusb/lircd.conf.mceusb and see how it plays out (if it works, I will update .lircrc as well)

Yes the button names should be the same ones as in the lircd.conf.mceusb file, at least that's how I did it and it's working for me like that.

Here is my lircd.conf which works with my Harmony H655 that emulates a mceusb remote (maybe try this first too, in case it works for you it saves you the hassle to make your own):

Code:
# this config file was automatically generated
# using lirc-0.8.6(default) on Mon Nov 23 03:55:18 2009
#
# contributed by
#
# brand:                Harmony H655 mceusb mode
# model no. of remote control:
# devices being controlled by this remote:
#

begin remote

  name          mceusb
  bits                      13
  flags       RC6|CONST_LENGTH
  eps                       30
  aeps                     100

  header            2637   867
  one                447   429
  zero               447   429
  pre_data_bits             24
  pre_data            0x1BFF83
  gap                   105000
  toggle_bit_mask       0x8000
  rc6_mask         0x100000000

    begin codes
        Blue          0x1ba1
        Yellow        0x1ba2
        Green         0x1ba3
        Red           0x1ba4
        Teletext      0x1ba5
        Radio         0x1baf
        Print         0x1bb1
        Videos        0x1bb5
        Pictures      0x1bb6
        RecTV         0x1bb7
        Music         0x1bb8
        TV            0x1bb9
        Eject         0x1bcb
        SlideShow     0x1bcc
        Visualization 0x1bcd
        Aspect        0x1bd8
        Guide         0x1bd9
        LiveTV        0x1bda
        DVD           0x1bdb
        Back          0x1bdc
        OK            0x1bdd
        Right         0x1bde
        Left          0x1bdf
        Down          0x1be0
        Up            0x1be1
        Star          0x1be2
        Hash          0x1be3
        Replay        0x1be4
        Skip          0x1be5
        Stop          0x1be6
        Pause         0x1be7
        Record        0x1be8
        Play          0x1be9
        Rewind        0x1bea
        Forward       0x1beb
        ChanDown      0x1bec
        ChanUp        0x1bed
        VolDown       0x1bee
        VolUp         0x1bef
        More          0x1bf0
        Mute          0x1bf1
        Home          0x1bf2
        Power         0x1bf3
        Enter         0x1bf4
        Clear         0x1bf5
        Nine          0x1bf6
        Eight         0x1bf7
        Seven         0x1bf8
        Six           0x1bf9
        Five          0x1bfa
        Four          0x1bfb
        Three         0x1bfc
        Two           0x1bfd
        One           0x1bfe
        Zero          0x1bff
    end codes

end remote
post #71 of 130
Quote:
Originally Posted by livinjean View Post

ok so I checked the BIOS, all settings are normal i.e. no overclocking and most of them are set to "auto".

and memtest....i beleive RAM is the culprit here, I had a crunchbang live CD lying around so I used it to run memtest, after 8 hrs of over-night run it reported 9 errors (items highlighted in red, I have took pictures, can upload if required).

The RAM i am using is this, please let me know if I need to change the brand or specification.

another thing, on the memtest screen it displayed memory as 466MHz PC933, I am confused by this since this RAM is supposed to be either 800 MHz (PC2-6400) or 667 MHz (PC2-5300) or 533 MHz (PC2-4200).

Many times the system bios doesn't set the ram speed or voltage correctly. In this case it's up to you to do it manually. I've seen lots of times people replace the ram when all they really needed to do was set it up to the proper speed and voltage. In your case you should have manually set the ram speed to 800MHz (200MHz bus really) and made sure you had the proper voltage and set it manually if needed. I'll be more than happy to take your old failing ram.:-) BTW, default voltages for DDR2 ram varies from 1.8v to 2.10v depending on brand/speed.
post #72 of 130
Quote:
Originally Posted by livinjean View Post

I also tried commenting the devfs DEVICE line and setting /dev/lirc/0 for without devfs with lircd restart, still no output in irw.

Are you sure your IR receiver is the old model? If it's the newer version you should be using the newer driver, mceusb2.
post #73 of 130
As for button names in lircd.conf, they don't matter. As long as your lircrc file uses the same names. I've created my own lircd.conf and lircrc files ever since I started using mythtv back in 05. Most times I combine the files so I can use more than one remote or code profile.
post #74 of 130
Thread Starter 
Quote:


Are you sure your IR receiver is the old model? If it's the newer version you should be using the newer driver, mceusb2.

Again: "The functionality of the lirc_mceusb2 driver has been merged into the lirc_mceusb driver. The lirc_mceusb2 driver is now obsolete and has been removed. You should use lirc_mceusb from now on."
http://www.lirc.org/html/install.html#updating085

Quote:
Originally Posted by wnewell View Post

As for button names in lircd.conf, they don't matter. As long as your lircrc file uses the same names. I've created my own lircd.conf and lircrc files ever since I started using mythtv back in 05. Most times I combine the files so I can use more than one remote or code profile.

XBMC doesn't need a .lircrc, I don't have one and my remote works fine without it.
post #75 of 130
Quote:
Originally Posted by tux99 View Post

XBMC doesn't need a .lircrc, I don't have one and my remote works fine without it.

It may not have a .lircrc file, but be sure there is something that has to interface with the output of lirc for it to work. So it needs something. It may have the interface hardcoded in. Don't know about xbmc, but I do know how lirc works.
post #76 of 130
There is a Keymap.xml file...
http://xbmc.org/wiki/?title=Keymap.xml
post #77 of 130
Thread Starter 
Quote:
Originally Posted by tux99 View Post

I just discovered that due to changes in lircd 0.8.6 (used by Mandriva 2010.0) XBMC doesn't find the lircd device by default, lircd 0.8.6 now puts the device in /var/run/lirc/ while XBMC is expecting it by default in /dev.

I have therefore updated my Mandriva XBMC RPM with a postinstall script that creates a symlink from /dev/lircd to /var/run/lirc/lircd.

Therefore I advise anyone using my Mandriva XBMC RPM to download the latest version (which is also based on a newer svn version) or else run the following command as root to create the link manually:

ln -s /var/run/lirc/lircd /dev/

I just realized that my symlink solution in the rpm is no good as the /dev filesystem isn't persistent across reboots, it get's regenerated at each boot, so after a reboot the link is gone.

A quick fix would be to put the symlink command mentioned above into the /etc/rc.d/rc.local script, but I'm currently looking into a better solution for the rpm package.
post #78 of 130
Quote:
Originally Posted by tux99 View Post

Therefore I advise anyone using my Mandriva XBMC RPM to download the latest version (which is also based on a newer svn version) or else run the following command as root to create the link manually:

ln -s /var/run/lirc/lircd /dev/

With this symlink and the config explained in post #post17581201 and follow-ups, my mceusb remote works fine with XBMC.

created the symbolic link and modified my /etc/lirc/lircd.conf to match the button names as expected by XBMC and magic............remote is working.

thanks again tux99.
post #79 of 130
Thread Starter 
Quote:
Originally Posted by livinjean View Post

created the symbolic link and modified my /etc/lirc/lircd.conf to match the button names as expected by XBMC and magic............remote is working.

thanks again tux99.

It could be useful for anyone else using the same remote as you, who might come across this thread, if you post your lircd.conf here.

Also I'm not sure if you have seen my post (#77) about persistency across reboots of the symlink (since we posted almost at the same time).
post #80 of 130
Thread Starter 
I have made an updated XBMC Mandriva 2010.0 rpm package available on my website at the usual address: http://www.linuxtech.net/downloads/X...driva_rpm.html

Highlights of this update include:

- fresh svn version 25146, which is 9.11 beta1 + recent patches/updates since beta1

- new default Confluence XBMC skin

- fixed lircd 0.8.6 path issue properly, no more need to create any symlinks

If you are running an earlier version of my XBMC package then I strongly recommend an upgrade, the proper fix for the lircd path issue and the new Confluence skin are well worth it.
post #81 of 130
Thread Starter 
I have packaged up the latest 0.9.4 Handbrake release for Mandriva 2010.0 now.

It's available on my website at:

http://www.linuxtech.net/downloads/h...driva_rpm.html
post #82 of 130
Okeedokee! Got my new system built and Mandriva 2010 installed! Now, here's my hardware:

CPU: Intel Core i5 2.66GHz
Mobo: Gigabyte GA-P55M-UD2
Graphics: MSI GeForce 220GT N220GT
Audio: Intel 7.1 built onto mobo

My questions before I get too far into this:
Graphics: How can I check which video driver I have? When I go to MCC > Hardware > Set Up X Server > Graphic Card, it shows NVidia GeForce 6100 and Later. Seems a little old to me...or maybe it's not. How can I check the version? Compiz is working fine and everything is smooth and nice (though I haven't tried playing anything yet).
EDIT: I found the NVidia-Settings control and I'm running the 190 Driver after updating through the Add/Remove software utility.

Audio:
How do I properly set up my audio so that all sound comes out of the optical SPdif port on the motherboard? So far, I have no sound at all out of the Optical...there's not even the red light that I can see.

Here's the output of aplay -l:
Code:
[shane@localhost ~]$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC887 Analog [ALC887 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC887 Digital [ALC887 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
[shane@localhost ~]$
In the Multimedia section of the Desktop configuration utility, the only options I have are "internal Audio Analog Audio Surround," and "Internal Audio Analog Stereo."

Software:
-I am trying to install Handbrake from tux99's website. I added the PLF repos and was able to install k9copy from them but the Handbrake RPM is still demanding a package that i cannot find: libxcb.xlib.o.0.
-XBMC is installed and works great with VDPAU (I even have sound though it's the only thing I have sound with) but it won't play a DVD straight. it gives the error, "XBMC cannot find a disc to play..."

Thanks in advance!!!
post #83 of 130
Thread Starter 
Quote:
Originally Posted by shane2943 View Post

Graphics: How can I check which video driver I have? When I go to MCC > Hardware > Set Up X Server > Graphic Card, it shows NVidia GeForce 6100 and Later. Seems a little old to me...or maybe it's not. How can I check the version?

"NVidia GeForce 6100 and Later" is the official nvidia-current driver, it supports all cards from the 6100 to the current ones. Nothing old about it, it's just Nvidia being friendly to people with older cards (unlike ATI...).

Quote:
Originally Posted by shane2943 View Post

Audio: How do I properly set up my audio so that all sound comes out of the optical SPdif port on the motherboard? So far, I have no sound at all out of the Optical...there's not even the red light that I can see.

Hard to give specific advice, sound config is hardware specific, rather than distro specific. Have a look at KMix or the 'Pulse Audio Volume Control' and see if Digital out (often labelled IEC958) is unmuted and the volume up.
With Mandriva 2010.0 I would not suggest to disable Pulseaudio as for the first time it seems to be working very well for everyone.
Also in some apps like xine for example you have to select the sound output channel and set it to digital or IEC958.

Quote:
Originally Posted by shane2943 View Post

-I am trying to install Handbrake from tux99's website. I added the PLF repos and was able to install k9copy from them but the Handbrake RPM is still demanding a package that i cannot find: libxcb.xlib.o.0.

I just made the package today so you are the first one to give me feedback, therefore it's quite possible that I still have to tweak the dependecies, but are you sure about libxcb.xlib.o.0? Even I don't have such a lib on the PC where I built the package!
The package has a depency to /usr/lib/libxcb.so.1 which is part of the package called libxcb1-1.4-3.2mdv2010.0, but urpmi should be able to find that automatically.

Can you copy and past the exact error you are getting here so I can figure out the issue and fix the package if necessary?

Quote:
Originally Posted by shane2943 View Post

-XBMC is installed and works great with VDPAU (I even have sound though it's the only thing I have sound with) but it won't play a DVD straight. it gives the error, "XBMC cannot find a disc to play..."

I'm glad XBMC works great for you, the fact that you have sound with it means sound is fine on your Mandriva install you just have to unmute or select digital out as default in the other apps too (or possibly in Pulseaudio, I'm no Pulseaudio expert as I have avoided it so far )

When you say 'it won't play a DVD straight' I guess you mean physical DVDs not backups from hard disk?
There is a bug in XBMC that has been reported on the XBMC forum too that affects disc playback on some systems, it's not working for me either, when I get round to it I'll provide them debug logs.
But playback from hard disk works great, that's what I mostly use anyway, all my DVDs are backed up to hard disk.
post #84 of 130
Quote:
Originally Posted by tux99 View Post

"NVidia GeForce 6100 and Later" is the official nvidia-current driver, it supports all cards from the 6100 to the current ones. Nothing old about it, it's just Nvidia being friendly to people with older cards (unlike ATI...).

Gotcha. The NVidia-setting CP gave me the version number I was after.

Quote:
Originally Posted by tux99 View Post

Hard to give specific advice, sound config is hardware specific, rather than distro specific. Have a look at KMix or the 'Pulse Audio Volume Control' and see if Digital out (often labelled IEC958) is unmuted and the volume up.
With Mandriva 2010.0 I would not suggest to disable Pulseaudio as for the first time it seems to be working very well for everyone.
Also in some apps like xine for example you have to select the sound output channel and set it to digital or IEC958.

The Pulse Audio Volume Control did it! I have audio everywhere!!! Even flash in Firefox!!!! I'm so stinking excited! THANKS! I had to change the hardware from 5.1 Analog, to 5.1 Digital.

Quote:
Originally Posted by tux99 View Post

I just made the package today so you are the first one to give me feedback, therefore it's quite possible that I still have to tweak the dependecies, but are you sure about libxcb.xlib.o.0? Even I don't have such a lib on the PC where I built the package!
The package has a depency to /usr/lib/libxcb.so.1 which is part of the package called libxcb1-1.4-3.2mdv2010.0, but urpmi should be able to find that automatically.

Can you copy and past the exact error you are getting here so I can figure out the issue and fix the package if necessary?

Sure thing!

Code:
[root@localhost Downloads]# urpmi handbrake-svn2508-1mdv2008.1.i586.rpm
A requested package cannot be installed:
HandBrake-svn2508-1mdv2008.1.i586 (due to unsatisfied libxcb-xlib.so.0)
Continue installation anyway? (Y/n)
I've been choosing no thinking that choosing yes will break it upon install.

Quote:
Originally Posted by tux99 View Post

I'm glad XBMC works great for you, the fact that you have sound with it means sound is fine on your Mandriva install you just have to unmute or select digital out as default in the other apps too (or possibly in Pulseaudio, I'm no Pulseaudio expert as I have avoided it so far )

When you say 'it won't play a DVD straight' I guess you mean physical DVDs not backups from hard disk?
There is a bug in XBMC that has been reported on the XBMC forum too that affects disc playback on some systems, it's not working for me either, when I get round to it I'll provide them debug logs.
But playback from hard disk works great, that's what I mostly use anyway, all my DVDs are backed up to hard disk.

Correct, it won't play the disc itself. I haven't tried playing a rip. I just did a rip of a movie with k9copy earlier so I'll give that a shot. Moovida won't play directly from disc either. It says I need a plugin but doesn't say which one.

Thank you, Tux99, for your continued help!!!
post #85 of 130
Thread Starter 
Quote:
Originally Posted by shane2943 View Post

Code:
[root@localhost Downloads]# urpmi handbrake-svn2508-1mdv2008.1.i586.rpm
A requested package cannot be installed:
HandBrake-svn2508-1mdv2008.1.i586 (due to unsatisfied libxcb-xlib.so.0)
Continue installation anyway? (Y/n)
I've been choosing no thinking that choosing yes will break it upon install.

I see now, you downloaded the wrong package!
You downloaded the one for Mandriva 2008.1, instead you need the one for 2010.0.
(that's why it's asking for a lib that doesn't even exist in 2010.0...)
post #86 of 130
DOH!!! *facepalm* I downloaded and installed the right package. Went through fine. That's what I get for paying attention.

Couple more side questions:
-I can't seem to run anything as root. I can't open kwrite or Dolphin as root. I get "pipe" errors. I at least need to run Dolphin so I can change the permissions of my 1TB drive so I can write to it. I'm not skilled at the chmod or chown command otherwise I'd use them.
-What settings are equivilant to the "Film" preset in the old Handbrake?

Uh, oh. Seems I do still have a sound problem. After getting the sound working everywhere else, now XBMC gives the error: "Failed to initialize audio device" even though I can hear the menu sounds and whatnot.

Thank you again, Tux. I will dance at your next family reunion.
post #87 of 130
Thread Starter 
Quote:
Originally Posted by shane2943 View Post

-I can't seem to run anything as root. I can't open kwrite or Dolphin as root. I get "pipe" errors. I at least need to run Dolphin so I can change the permissions of my 1TB drive so I can write to it. I'm not skilled at the chmod or chown command otherwise I'd use them.

You need to be more specific, I need the complete and exact error message you get and I need to know how exactly do you attempt to open kwrite or dolphin as root (but I suggest you look at the man pages of chmod and chown anyway as these are really handy commands to know, they are not difficult).

Quote:
Originally Posted by shane2943 View Post

-What settings are equivilant to the "Film" preset in the old Handbrake?

I'm no Handbbrake expert but I think the "High Profile" (but I would use MKV as container rather then the default MP4). See the sticky Handbrake thread here in this forum for lots of useful advice too or ask in there for more advice.

Quote:
Originally Posted by shane2943 View Post

Uh, oh. Seems I do still have a sound problem. After getting the sound working everywhere else, now XBMC gives the error: "Failed to initialize audio device" even though I can hear the menu sounds and whatnot.

Check the settings in XBMC under "System" > "Audio Output especially the "Audio output device" and the "Passthrough output device" and try changing them.
It could also be related to the following bug:
http://www.xbmc.org/forum/showthread.php?t=62603
post #88 of 130
Quote:
Originally Posted by tux99 View Post

You need to be more specific, I need the complete and exact error message you get and I need to know how exactly do you attempt to open kwrite or dolphin as root (but I suggest you look at the man pages of chmod and chown anyway as these are really handy commands to know, they are not difficult).

Sorry. Here's the error when trying to run dolphin as root:
Code:
[root@localhost shane]# dolphin
(7390)/: KUniqueApplication: Cannot find the D-Bus session server:  "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."

(7389)/: KUniqueApplication: Pipe closed unexpectedly.

[root@localhost shane]#
And here's what I get when trying to run kwrite (I'm using the /ect/X11/xorg.conf path just to give kwrite something to open):
Code:
[root@localhost shane]# kwrite /etc/X11/xorg.conf
kdeinit4: preparing to launch /usr/lib/libkdeinit4_klauncher.so
kdeinit4: Communication error with launcher. Exiting!
KCrash: Application 'kwrite' crashing...
sock_file=/root/.kde4/socket-localhost.localdomain/kdeinit4__0
Warning: connect() failed: : Connection refused
KCrash cannot reach kdeinit, launching directly.

[1]+  Stopped                 kwrite /etc/X11/xorg.conf
[root@localhost shane]#
Both of the commands above work fine as a normal user, but, obviosuly, without the elevated permissions.


Quote:
Originally Posted by tux99 View Post

I'm no Handbbrake expert but I think the "High Profile" (but I would use MKV as container rather then the default MP4). See the sticky Handbrake thread here in this forum for lots of useful advice too or ask in there for more advice.

Kewl. Thanks!

Quote:
Originally Posted by tux99;17665441Check the settings in XBMC under "System" > "Audio Output especially the "Audio output device" and the "Passthrough output device" and try changing them.
It could also be related to the following bug:
[url
View Post

http://www.xbmc.org/forum/showthread.php?t=62603[/url]

I just checked out that thread and it does seem as though XBMC will play audio after the second try. Might have to put up with that until the bug is fixed.
post #89 of 130
Thread Starter 
Quote:
Originally Posted by shane2943 View Post

Sorry. Here's the error when trying to run dolphin as root.
Both of the commands above work fine as a normal user, but, obviosuly, without the elevated permissions.

Ok I see, that's because there is no root KDE session running, these days KDE is more like a framework, each single app doesn't run on it's own anymore.
(I don't like it, I preferred the good old days when fvwm2 was the window manager of choice and every app was standalone and could be run even remotely over the network...)

The correct way to run any KDE GUI app as root is by using kdesu, from a terminal (as your user, not as root!) that would be:

$ /usr/lib/kde4/libexec/kdesu dolphin

or replace dolphin with kwrite

You could put this as a new item in you KDE menu using the menu editor (right-click on the menu buttom on the task bar) for this and/or you could put a symlink for kdesu into /usr/bin so you don't have to type the whole path (don't know why Mandriva didn't do that by default):

ln -s /usr/lib/kde4/libexec/kdesu /usr/bin (run this as root)

After you have done that you can from then on just type:

$ kdesu dolphin

Quote:
Originally Posted by shane2943 View Post

I just checked out that thread and it does seem as though XBMC will play audio after the second try. Might have to put up with that until the bug is fixed.

Yeah, XBMC is certainly not bug-free yet, but they are working hard on it, see here how many changes they apply to the code every day:
http://www.xbmc.org/trac/timeline

I have reported that CD/DVD playing issue and there are a few other people who confirmed the problem too, one on Suse and one on Kubuntu Karmic so it seems to be a general issue, not specific to a particular setup.
post #90 of 130
Thank you for the tip on running gui apps with elevated privlidges. Gonne try that when I get home!

Well, I spoke too soon about XBMC playing on the second try. It works if I play a directly ripped DVD (not transcoded or compressed) but if I play one of my .mkv files, it doesn't work at all. What I can do until they get this resolved, is set my main audio (Pulse Audio Volume Control) to run out of Analog Stereo and run an extra cord to my reciever for all audio other than XBMC. Hopefully that will work....
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: HTPC - Linux Chat
AVS › AVS Forum › Video Components › Home Theater Computers › HTPC - Linux Chat › Official Mandriva Linux 2010.0 thread