Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MythTV can't connect to X server?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Toonytony
n00b
n00b


Joined: 26 Nov 2006
Posts: 42
Location: Seattle, WA

PostPosted: Tue Dec 05, 2006 2:21 am    Post subject: MythTV can't connect to X server? Reply with quote

I have gotten past my previous obstacle of MythTV not compiling, but now I'M GETTING ANOTHER ERROR!!!! AAAGGHH!!!

This is the error message:
Code:
mythtv-setup: cannot connect to X server


I don't really know what all that implies, other than there is something wrong with the X server. How do I get it to connect?
_________________
-Tony McCoy
(www.MySpace.com/TonyMcCoy)


Last edited by Toonytony on Wed Dec 06, 2006 9:06 am; edited 2 times in total
Back to top
View user's profile Send private message
phsdv
Guru
Guru


Joined: 13 Mar 2005
Posts: 372
Location: Europe

PostPosted: Tue Dec 05, 2006 6:48 am    Post subject: Reply with quote

This can happen when you run mythtv-setup as an other user or you are not running it within a X window session. You need to have X running {X is shot fro the X11 graphical system) And you need to have the rights to open a new window within this X session. If you have no X session running yet, please start one and try again (try startx, but make sure you have X windows configured correctly. search the wiki for more info). If you already have a X session open you probably changed to root using the su command. If this is the case, emerge sux instead and use sux to change to a root session.

If you are still stuck, please tell us more on how and what you are exactly doing.
Back to top
View user's profile Send private message
Toonytony
n00b
n00b


Joined: 26 Nov 2006
Posts: 42
Location: Seattle, WA

PostPosted: Tue Dec 05, 2006 7:45 am    Post subject: Reply with quote

phsdv wrote:
This can happen when you run mythtv-setup as an other user or you are not running it within a X window session. You need to have X running {X is shot fro the X11 graphical system) And you need to have the rights to open a new window within this X session. If you have no X session running yet, please start one and try again (try startx, but make sure you have X windows configured correctly. search the wiki for more info). If you already have a X session open you probably changed to root using the su command. If this is the case, emerge sux instead and use sux to change to a root session.

If you are still stuck, please tell us more on how and what you are exactly doing.

Thanks. It works.....at least.... I can configure it. It turns out my tuner card doesn't work with it. Oh well....

Thanks. :)
_________________
-Tony McCoy
(www.MySpace.com/TonyMcCoy)
Back to top
View user's profile Send private message
phsdv
Guru
Guru


Joined: 13 Mar 2005
Posts: 372
Location: Europe

PostPosted: Tue Dec 05, 2006 6:44 pm    Post subject: Reply with quote

What tuner card do you have?
Back to top
View user's profile Send private message
Toonytony
n00b
n00b


Joined: 26 Nov 2006
Posts: 42
Location: Seattle, WA

PostPosted: Tue Dec 05, 2006 10:39 pm    Post subject: Reply with quote

phsdv wrote:
What tuner card do you have?

lspci says it's a Conexant CX23880/1/2/3 PCI Video and Audio decoder (rev 5)

I bought my computer from the store, so I didn't pick the card myself. I'm probably going to get one from Hippauge soon, if I can't get this one to work.
_________________
-Tony McCoy
(www.MySpace.com/TonyMcCoy)
Back to top
View user's profile Send private message
phsdv
Guru
Guru


Joined: 13 Mar 2005
Posts: 372
Location: Europe

PostPosted: Wed Dec 06, 2006 6:23 am    Post subject: Reply with quote

Most Conexant cards are supported by ivtv. Did you try installing the ivtv driver? What is the output of dmesg between these 2 lines?
Code:
ivtv:  ==================== START INIT IVTV ====================
ivtv:  ====================  END INIT IVTV  ====================
Back to top
View user's profile Send private message
Toonytony
n00b
n00b


Joined: 26 Nov 2006
Posts: 42
Location: Seattle, WA

PostPosted: Wed Dec 06, 2006 9:00 am    Post subject: Reply with quote

phsdv wrote:
Most Conexant cards are supported by ivtv. Did you try installing the ivtv driver? What is the output of dmesg between these 2 lines?
Code:
ivtv:  ==================== START INIT IVTV ====================
ivtv:  ====================  END INIT IVTV  ====================

I just tried installing the ivtv driver, and I got this:
Code:
*   CONFIG_I2C:          is not set when it should be.
*   CONFIG_VIDEO_WM8775:           is not set when it should be.
*   CONFIG_VIDEO_MSP3400:          is not set when it should be.
*   CONFIG_VIDEO_CX25840:          is not set when it should be.
*   CONFIG_VIDEO_TUNER:              is not set when it should be.
*   CONFIG_VIDEO_SAA711X:          is not set when it should be.
*   CONFIG_VIDEO_CX2341X:          is not set when it should be.
*   CONFIG_VIDEO_SAA7127:          is not set when it should be.
*   CONFIG_VIDEO_TVEEPROM:       is not set when it should be.
*Please check to make sure these options are set correctly.
*Failure to do so may cause unexpected problems.
*Once you have satisfied these options, please try merging this package again.

!!! ERROR: media-tv/ivtv-0.8 failed.
Call stack:
   ebuild.sh, line 1512:   Called dyn_setup
   ebuild.sh, line 665:   Called pkg-setup
   ivtv-0.8.0.ebuild, line 47:   Called linux-mod_pkg_setup
   linux-mod.eclass, line 458:   Called linux-info_pkg_setup
   linux-info.eclass, line 572:   Called check_extra_config
   linux-info.eclass, line 471:   Called die

!!! Incorrect kernel configuration options
!!! If you need support, post the topmost build error, and the call stack if relevant.

_________________
-Tony McCoy
(www.MySpace.com/TonyMcCoy)
Back to top
View user's profile Send private message
link1305
Apprentice
Apprentice


Joined: 17 May 2004
Posts: 168
Location: Cleveland, Ohio

PostPosted: Wed Dec 06, 2006 1:38 pm    Post subject: Reply with quote

It looks like you need to enable those options in your kernel.

Check out this wiki:

http://gentoo-wiki.com/HOWTO_Setup_Kernel/System_for_MythTV
Back to top
View user's profile Send private message
phsdv
Guru
Guru


Joined: 13 Mar 2005
Posts: 372
Location: Europe

PostPosted: Wed Dec 06, 2006 5:45 pm    Post subject: Reply with quote

please also note that for different kernels you need different versions of IVTV.
2.6.18 -> ivtv 0.8.*
2.6.17 -> ivtv 0.7.*
2.6.16 -> ivtvt 0.6.*
<= 2.6.15 -> ivtv 0.4.*
This is because ivtvt is migrating into the kernel. It started with kernel 2.6.16.
Back to top
View user's profile Send private message
kf0yn
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jan 2003
Posts: 84

PostPosted: Wed Dec 06, 2006 8:51 pm    Post subject: Reply with quote

The Conexant CX23880 does not use the ivtv driver. Instead, it uses its own driver (called "Conexant 2388x (bt878 successor) support" in the kernel config menus. The driver itself is called "cx8800".
Back to top
View user's profile Send private message
Toonytony
n00b
n00b


Joined: 26 Nov 2006
Posts: 42
Location: Seattle, WA

PostPosted: Wed Dec 06, 2006 10:41 pm    Post subject: Reply with quote

kf0yn wrote:
The Conexant CX23880 does not use the ivtv driver. Instead, it uses its own driver (called "Conexant 2388x (bt878 successor) support" in the kernel config menus. The driver itself is called "cx8800".

I am wandering through my kernel config, and I found the driver "Conexant CX2341x MPEG encoders"

Would this work, or is it the wrong one?
_________________
-Tony McCoy
(www.MySpace.com/TonyMcCoy)
Back to top
View user's profile Send private message
Hobbes-X
l33t
l33t


Joined: 04 Feb 2004
Posts: 823
Location: Seattle, WA

PostPosted: Wed Dec 06, 2006 11:00 pm    Post subject: Reply with quote

Probably the wrong one- you'd be looking for something like:

Quote:
Multimedia devices --->
<M> Video For Linux
Video For Linux --->
<M> Conexant 2388x (bt878 successor) support


It should be a separate driver, at least in my kernel .config:
Code:
# CONFIG_VIDEO_CX88 is not set
CONFIG_VIDEO_CX2341X=y

Edit: I should've mentioned that I'm not using the same card, so my config doesn't match what I cut and pasted from the web- either way you're probably looking for '<M> Conexant 2388x (bt878 successor) support' which should set CONFIG_VIDEO_CX88=m or =y...
Back to top
View user's profile Send private message
Toonytony
n00b
n00b


Joined: 26 Nov 2006
Posts: 42
Location: Seattle, WA

PostPosted: Thu Dec 07, 2006 7:09 am    Post subject: Reply with quote

Hobbes-X wrote:
Probably the wrong one- you'd be looking for something like:

Quote:
Multimedia devices --->
<M> Video For Linux
Video For Linux --->
<M> Conexant 2388x (bt878 successor) support


It should be a separate driver, at least in my kernel .config:
Code:
# CONFIG_VIDEO_CX88 is not set
CONFIG_VIDEO_CX2341X=y

Edit: I should've mentioned that I'm not using the same card, so my config doesn't match what I cut and pasted from the web- either way you're probably looking for '<M> Conexant 2388x (bt878 successor) support' which should set CONFIG_VIDEO_CX88=m or =y...

I can't find a "Conexant 2388x (bt878 successor) support" anywhere. I found the other driver in
Quote:
Device drivers --->
Multimedia Devices --->
<M> Video for Linux
Video Capture Adapters --->
Encoders and Decoders --->
< > Conexant CX2341x MPEG encoders

There are no other drivers for Conexant stuff..... What kernel are you using?
_________________
-Tony McCoy
(www.MySpace.com/TonyMcCoy)
Back to top
View user's profile Send private message
Hobbes-X
l33t
l33t


Joined: 04 Feb 2004
Posts: 823
Location: Seattle, WA

PostPosted: Thu Dec 07, 2006 8:22 am    Post subject: Reply with quote

Toonytony wrote:
There are no other drivers for Conexant stuff..... What kernel are you using?


There might be some other requirements before it shows... Maybe I2C or something? I'll take a look around and see what I can find. I'm running 2.6.18 (gentoo-sources) right now, but the bit I posted earlier was from a DVB card howto that just so happens to use the 2388X chipset (in addition to the 2341X actually...)

In my current kernel, it's under:
Code:

Device Drivers  --->
  Multimedia devices  --->
    Video Capture Adapters  --->
      < > Conexant 2388x (bt878 successor) support


Looks like it does have some pre-req's:
Code:

  │ CONFIG_VIDEO_CX88:                                                      │
  │                                                                         │
  │ This is a video4linux driver for Conexant 2388x based                   │
  │ TV cards.                                                               │
  │                                                                         │
  │ To compile this driver as a module, choose M here: the                  │
  │ module will be called cx8800                                            │
  │                                                                         │
  │ Symbol: VIDEO_CX88 [=n]                                                 │
  │ Prompt: Conexant 2388x (bt878 successor) support                        │
  │   Defined at drivers/media/video/cx88/Kconfig:5                         │
  │   Depends on: VIDEO_DEV && PCI && I2C                                   │
  │   Location:                                                             │
  │     -> Device Drivers                                                   │
  │       -> Multimedia devices                                             │
  │         -> Video Capture Adapters 
  │   Selects: I2C_ALGOBIT && FW_LOADER && VIDEO_BTCX && VIDEO_BUF && VIDEO


Double check and see if you've got I2C enabled, I imagine you've already got PCI support being built in-
Back to top
View user's profile Send private message
Toonytony
n00b
n00b


Joined: 26 Nov 2006
Posts: 42
Location: Seattle, WA

PostPosted: Mon Dec 11, 2006 10:27 am    Post subject: Reply with quote

Hobbes-X wrote:
Toonytony wrote:
There are no other drivers for Conexant stuff..... What kernel are you using?


There might be some other requirements before it shows... Maybe I2C or something? I'll take a look around and see what I can find. I'm running 2.6.18 (gentoo-sources) right now, but the bit I posted earlier was from a DVB card howto that just so happens to use the 2388X chipset (in addition to the 2341X actually...)

In my current kernel, it's under:
Code:

Device Drivers  --->
  Multimedia devices  --->
    Video Capture Adapters  --->
      < > Conexant 2388x (bt878 successor) support


Looks like it does have some pre-req's:
Code:

  │ CONFIG_VIDEO_CX88:                                                      │
  │                                                                         │
  │ This is a video4linux driver for Conexant 2388x based                   │
  │ TV cards.                                                               │
  │                                                                         │
  │ To compile this driver as a module, choose M here: the                  │
  │ module will be called cx8800                                            │
  │                                                                         │
  │ Symbol: VIDEO_CX88 [=n]                                                 │
  │ Prompt: Conexant 2388x (bt878 successor) support                        │
  │   Defined at drivers/media/video/cx88/Kconfig:5                         │
  │   Depends on: VIDEO_DEV && PCI && I2C                                   │
  │   Location:                                                             │
  │     -> Device Drivers                                                   │
  │       -> Multimedia devices                                             │
  │         -> Video Capture Adapters 
  │   Selects: I2C_ALGOBIT && FW_LOADER && VIDEO_BTCX && VIDEO_BUF && VIDEO


Double check and see if you've got I2C enabled, I imagine you've already got PCI support being built in-


AH!!! The drivers weren't there, but I think I found them here instead.
Code:
-> Device Drivers
  -> Graphics support
<M> ATI Radeon display support
[*] DDC/I2C for ATI Radeon display support


I'll recompile my kernel, and reboot, and see what happens :) Thanks.
_________________
-Tony McCoy
(www.MySpace.com/TonyMcCoy)
Back to top
View user's profile Send private message
Hobbes-X
l33t
l33t


Joined: 04 Feb 2004
Posts: 823
Location: Seattle, WA

PostPosted: Mon Dec 11, 2006 3:18 pm    Post subject: Reply with quote

Toonytony wrote:


AH!!! The drivers weren't there, but I think I found them here instead.
Code:
-> Device Drivers
  -> Graphics support
<M> ATI Radeon display support
[*] DDC/I2C for ATI Radeon display support


I'll recompile my kernel, and reboot, and see what happens :) Thanks.


Hmm- that should actually enable the Radeon's ability to access I2C support, but perhaps menuconfig will force I2C to enable it? Just out of curiousity, which kernel sources and version are you using? I'm running gentoo-sources for the location of I2C I posted.
Back to top
View user's profile Send private message
Toonytony
n00b
n00b


Joined: 26 Nov 2006
Posts: 42
Location: Seattle, WA

PostPosted: Tue Dec 12, 2006 2:42 am    Post subject: Reply with quote

Hobbes-X wrote:
Toonytony wrote:


AH!!! The drivers weren't there, but I think I found them here instead.
Code:
-> Device Drivers
  -> Graphics support
<M> ATI Radeon display support
[*] DDC/I2C for ATI Radeon display support


I'll recompile my kernel, and reboot, and see what happens :) Thanks.


Hmm- that should actually enable the Radeon's ability to access I2C support, but perhaps menuconfig will force I2C to enable it? Just out of curiousity, which kernel sources and version are you using? I'm running gentoo-sources for the location of I2C I posted.

I'm using gentoo-sources 2.6.18-r3, compiled with genkernel.
_________________
-Tony McCoy
(www.MySpace.com/TonyMcCoy)
Back to top
View user's profile Send private message
Hobbes-X
l33t
l33t


Joined: 04 Feb 2004
Posts: 823
Location: Seattle, WA

PostPosted: Wed Dec 13, 2006 4:50 pm    Post subject: Reply with quote

Toonytony wrote:

I'm using gentoo-sources 2.6.18-r3, compiled with genkernel.


Hmmm- I've never used genkernel before... Does it simplify the drivers available? I'm running a nearly identical kernel, so you should be able to see it listed in the same place. Can you try running 'make menuconfig' from /usr/src/linux, just to see if it's listed there?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum