X (or mythfrontend) not starting

Help with booting MiniMyth

Moderator: Pablo

Post Reply
pt95cca
Member
Posts: 16
Joined: Sat Apr 21, 2007 7:24 am

X (or mythfrontend) not starting

Post by pt95cca » Wed Mar 26, 2008 1:45 pm

I have just upgraded both client and server to 0.21. Minimyth boots up ok until it's supposed to start the mythfrontend.

I suspect the reason is this: (snippet from running xinit over telnet)

Code: Select all

2008-03-26 13:36:27.547 Using runtime prefix = /usr, libdir = /usr/lib
2008-03-26 13:36:28.205 DPMS is disabled.
2008-03-26 13:36:28.206 Empty LocalHostName.
2008-03-26 13:36:28.206 Using localhost value of 
2008-03-26 13:36:28.207 Testing network connectivity to 10.0.0.101
2008-03-26 13:36:28.238 New DB connection, total: 1
2008-03-26 13:36:28.252 Connected to database 'mythconverg' at host: 10.0.0.101
2008-03-26 13:36:28.258 Closing DB connection named 'DBManager0'
2008-03-26 13:36:28.259 Total desktop dim: 720x576, with 1 screen[s].
2008-03-26 13:36:28.270 Connected to database 'mythconverg' at host: 10.0.0.101
2008-03-26 13:36:28.274 Using screen 0, 720x576 at 0,0
2008-03-26 13:36:28.291 New DB connection, total: 2
2008-03-26 13:36:28.302 Connected to database 'mythconverg' at host: 10.0.0.101
2008-03-26 13:36:28.305 mythfrontend version: 0.21.20080304-1 www.mythtv.org
2008-03-26 13:36:28.306 Enabled verbose msgs:  important general
2008-03-26 13:36:28.660 Could not find theme: G.A.N.T
Couldn't find theme G.A.N.T

waiting for X server to shut down (II) CHROME(0): ViaTVPower: On.
(II) CHROME(0): VT1625Power
(II) CHROME(0): VIACloseScreen
(II) CHROME(0): [drm] Cleaning up DMA ring-buffer.
(II) CHROME(0): [drm] Freeing agp memory
(II) CHROME(0): [drm] Releasing agp module
(II) CHROME(0): [drm] removed 1 reserved context for kernel
(II) CHROME(0): [drm] unmapping 8192 bytes of SAREA 0xf8cf5000 at 0xb3a72000
(II) CHROME(0): [drm] Closed DRM master.
Freed 6638464 (pool 1)
(II) CHROME(0): [drm] Irq handler uninstalled.
(II) CHROME(0): VIARestore
(II) CHROME(0): VT162xRestore
(II) CHROME(0): ViaDisablePrimaryFIFO
(II) CHROME(0): VIAUnmapMem
FreeFontPath: FPE "/usr/lib/X11/fonts/misc" refcount is 2, should be 1; fixing.
Can't open display
I'm using MythCenter-wide as theme, which is specified in minimyth.conf.

Any suggestions on why it complains about G.A.N.T?

/Chris

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Post by Pablo » Wed Mar 26, 2008 3:03 pm

Could you post your minimyth.conf file?
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

pt95cca
Member
Posts: 16
Joined: Sat Apr 21, 2007 7:24 am

Post by pt95cca » Wed Mar 26, 2008 3:09 pm

Here it is:

Code: Select all

################################################################################
# minimyth.conf
#
# The required MiniMyth configuration file.
#
# For information on this file, see either
# <http>
# or
# <http>,
# where '{frontend}' is the IPv4 address or hostname of your MiniMyth frontend.
################################################################################

################################################################################
# The following line will fetch and include a file named 'minimyth-common.conf'
# from the MiniMyth read-only configuration directory. If you have multiple
# MiniMyth frontends with common configuration, then you can include this line
# in each 'minimyth.conf' file and put the common configuration in the file
# 'default/minimyth-common.conf'.
################################################################################
#mm_minimyth_conf_include minimyth-common.conf

################################################################################
# MiniMyth configuration variables.
#
# MM_MINIMYTH_UPDATE_URL
# MM_MINIMYTH_BOOT_URL
# MM_MINIMYTH_FETCH_MINIMYTH_SCRIPT
################################################################################
MM_MINIMYTH_BOOT_URL='tftp://10.0.0.101/PXEClient/'
MM_MINIMYTH_FETCH_MINIMYTH_SCRIPT='yes'

################################################################################
# DHCP overrides configuration variables.
#
# MM_DHCP_HOST_NAME
# MM_DHCP_DOMAIN_NAME
# MM_DHCP_TCODE
# MM_DHCP_DOMAIN_NAME_SERVERS
# MM_DHCP_NTP_SERVERS
# MM_DHCP_LOG_SERVERS
################################################################################
MM_DHCP_NTP_SERVERS='ntp1.mmo.netnod.se ntp1.mmo.netnod.se ntp1.mmo.netnod.se 10.0.0.101'
MM_DHCP_TCODE='Europe/Stockholm'

################################################################################
# Security configuration variables.
#
# MM_SECURITY_ENABLED
# MM_SECURITY_USER_MINIMYTH_UID
# MM_SECURITY_USER_MINIMYTH_GID
# MM_SECURITY_FETCH_CREDENTIALS_CIFS
# MM_SECURITY_FETCH_CA_BUNDLE_CRT
################################################################################
#MM_SECURITY_ENABLED='yes'
#MM_SECURITY_FETCH_CREDENTIALS_CIFS='yes'
#MM_SECURITY_FETCH_CA_BUNDLE_CRT='yes'

################################################################################
# ACPI configuration variables.
#
# MM_ACPI_EVENT_BUTTON_POWER
# MM_ACPI_VIDEO_FLAGS
################################################################################

################################################################################
# CPU configuration variables.
#
# MM_CPU_FREQUENCY_GOVERNOR
# MM_CPU_FETCH_MICROCODE_DAT
################################################################################
#MM_CPU_FREQUENCY_GOVERNOR='userspace'

################################################################################
# Audio configuration variables.
#
# MM_AUDIO_TYPE
# MM_AUDIO_CARD_NUMBER
# MM_AUDIO_DEVICE_NUMBER
################################################################################
#MM_AUDIO_TYPE='digital'

################################################################################
# Video configurion variables.
#
# MM_VIDEO_ASPECT_RATIO
# MM_VIDEO_DEINTERLACER
# MM_VIDEO_FONT_SCALE
# MM_VIDEO_MPEG2_DECODER
# MM_VIDEO_PLAYBACK_PROFILE
# MM_VIDEO_RESIZE_ENABLED
################################################################################
MM_VIDEO_ASPECT_RATIO='16:9'
MM_VIDEO_DEINTERLACER='auto'
MM_VIDEO_FONT_SCALE='100'
MM_VIDEO_RESIZE_ENABLED='yes'

################################################################################
# X configuration variables.
#
# MM_X_ENABLED
# MM_X_RESTART_ON_SLEEP_ENABLED
# MM_X_WM_ENABLED
# MM_X_VNC_ENABLED
# MM_X_SCREENSAVER
# MM_X_SCREENSAVER_TIMEOUT
# MM_X_SCREENSAVER_HACK
# MM_X_MYTH_PROGRAM
# MM_X_OUTPUT_DVI
# MM_X_OUTPUT_VGA
# MM_X_OUTPUT_TV
# MM_X_TV_TYPE
# MM_X_TV_OUTPUT
# MM_X_TV_OVERSCAN
# MM_X_SYNC
# MM_X_REFRESH
# MM_X_RESOLUTION
# MM_X_MODELINE
# MM_X_MODE
# MM_X_MODELINE_0
# MM_X_MODELINE_1
# MM_X_MODELINE_2
# MM_X_MODE_0
# MM_X_MODE_1
# MM_X_MODE_2
# MM_X_HACK_HIDE_BLUE_LINE_ENABLED
# MM_X_FETCH_XINITRC
# MM_X_FETCH_XORG_CONF
################################################################################
MM_X_OUTPUT_TV='auto'
MM_X_TV_TYPE='PAL'
MM_X_TV_OUTPUT='Composite'
MM_X_MODE='720x576Over'

################################################################################
# Font configuration variables.
#
# MM_FONT_FILE_TTF_ADD
# MM_FONT_FILE_TTF_DELETE
################################################################################

################################################################################
# Myth master backend communication configuration variables.
#
# MM_MASTER_SERVER
# MM_MASTER_DBUSERNAME
# MM_MASTER_DBPASSWORD
# MM_MASTER_DBNAME
# MM_MASTER_WOL_ENABLED
# MM_MASTER_WOL_MAC
# MM_MASTER_WOLSQLRECONNECTWAITTIME
# MM_MASTER_WOLSQLCONNECTRETRY
# MM_MASTER_WOLSQLCOMMAND
# MM_MASTER_WOL_ADDITIONAL_DELAY
################################################################################
MM_MASTER_SERVER='10.0.0.101'
MM_MASTER_DBUSERNAME='mythtv'
MM_MASTER_DBPASSWORD='mythtv'      
MM_MASTER_DBNAME='mythconverg'          

################################################################################
# Myth plugin configuration variables.
#
# MM_PLUGIN_OPTICAL_DISK_ENABLED
# MM_PLUGIN_BROWSER_ENABLED
# MM_PLUGIN_DVD_ENABLED
# MM_PLUGIN_GALLERY_ENABLED
# MM_PLUGIN_GAME_ENABLED
# MM_PLUGIN_MUSIC_ENABLED
# MM_PLUGIN_NEWS_ENABLED
# MM_PLUGIN_PHONE_ENABLED
# MM_PLUGIN_STREAM_ENABLED
# MM_PLUGIN_VIDEO_ENABLED
# MM_PLUGIN_WEATHER_ENABLED
# MM_PLUGIN_ZONEMINDER_ENABLED
################################################################################
MM_PLUGIN_GALLERY_ENABLED=''
MM_PLUGIN_GAME_ENABLED='no'
MM_PLUGIN_MUSIC_ENABLED='no'
MM_PLUGIN_PHONE_ENABLED='no'
MM_PLUGIN_STREAM_ENABLED='no'
MM_PLUGIN_ZONEMINDER_ENABLED='no'

################################################################################
# Extras directory configuration variables.
#
# MM_EXTRAS_URL
################################################################################

################################################################################
# CODECs directory configuration variables.
#
# MM_CODECS_URL
################################################################################

################################################################################
# Theme configuration variables.
#
# MM_THEME_NAME
# MM_THEMEOSD_NAME
# MM_THEME_URL
# MM_THEMEOSD_URL
# MM_THEMECACHE_URL
################################################################################
MM_THEME_NAME='MythCenter-wide'
MM_THEMEOSD_NAME='Gray-OSD'

################################################################################
# Remote media directory configuration variables.
#
# MM_MEDIA_GALLERY_MOUNTPOINT
# MM_MEDIA_GALLERY_URL
# MM_MEDIA_GAME_MOUNTPOINT
# MM_MEDIA_GAME_URL
# MM_MEDIA_MUSIC_MOUNTPOINT
# MM_MEDIA_MUSIC_URL
# MM_MEDIA_VIDEO_MOUNTPOINT
# MM_MEDIA_VIDEO_URL
# MM_MEDIA_DVD_RIP_MOUNTPOINT
# MM_MEDIA_DVD_RIP_URL
################################################################################
#MM_MEDIA_GALLERY_URL="cifs://${MM_TFTP_SERVER}/pictures?credentials=/etc/cifs/credentials_cifs"
#MM_MEDIA_GAME_URL="cifs://${MM_TFTP_SERVER}/games?credentials=/etc/cifs/credentials_cifs"
#MM_MEDIA_MUSIC_URL="cifs://${MM_TFTP_SERVER}/music?credentials=/etc/cifs/credentials_cifs"
#MM_MEDIA_VIDEO_URL="cifs://${MM_TFTP_SERVER}/videos?credentials=/etc/cifs/credentials_cifs"
#MM_MEDIA_DVD_RIP_URL="nfs://${MM_TFTP_SERVER}/home/public/minimyth/themecache"

################################################################################
# Game configuration variables.
#
# MM_GAME_SAVE_ENABLE
# MM_GAME_SAVE_LIST
# MM_GAME_BIOS_ROOT
# MM_GAME_GAME_ROOT
################################################################################

################################################################################
# Wii remote control configuration variables.
#
# MM_WIIMOTE_ENABLED
# MM_WIIMOTE_ADDRESS_0
# MM_WIIMOTE_ADDRESS_1
# MM_WIIMOTE_ADDRESS_2
# MM_WIIMOTE_ADDRESS_3
################################################################################

################################################################################
# LIRC configuration variables.
#
# MM_LIRC_AUTO_ENABLED
# MM_LIRC_DRIVER
# MM_LIRC_REMOTE
# MM_LIRC_DEVICE
# MM_LIRC_KERNEL_MODULE
# MM_LIRC_KERNEL_MODULE_OPTIONS
# MM_LIRC_IREXEC_ENABLED
# MM_LIRC_SLEEP_ENABLED
# MM_LIRC_WAKEUP_ENABLED
# MM_LIRC_FETCH_LIRCD_CONF
# MM_LIRC_FETCH_LIRCRC
################################################################################
MM_LIRC_AUTO_ENABLED='yes'
MM_LIRC_FETCH_LIRCD_CONF='yes'
MM_LIRC_FETCH_LIRCRC='yes'
MM_LIRC_SLEEP_ENABLED='no'
MM_LIRC_WAKEUP_ENABLED='no'

################################################################################
# LCDPROC configuration variables.
#
# MM_LCDPROC_DRIVER
# MM_LCDPROC_FETCH_LIRCD_CONF
################################################################################

################################################################################
# External equipment control configuration variables.
#
# MM_EXTERNAL_POWER_OFF
# MM_EXTERNAL_POWER_ON
# MM_EXTERNAL_VOLUME_DOWN
# MM_EXTERNAL_VOLUME_UP
# MM_EXTERNAL_VOLUME_MUTE
################################################################################
#MM_EXTERNAL_POWER_OFF='
#	/usr/bin/irsend <television> KEY_POWEROFF ;
#	/usr/bin/irsend <receiver> KEY_POWEROFF'
#MM_EXTERNAL_POWER_ON='
#	/usr/bin/irsend <television> KEY_POWERON ;
#	/usr/bin/irsend <receiver> KEY_POWERON'
#MM_EXTERNAL_VOLUME_DOWN='
#	/usr/bin/irsend <receiver> KEY_VOLUMEDOWN'
#MM_EXTERNAL_VOLUME_UP='
#	/usr/bin/irsend <receiver> KEY_VOLUMEUP'
#MM_EXTERNAL_VOLUME_MUTE='
#	/usr/bin/irsend <receiver> KEY_MUTE'

################################################################################
# SSH server configuration variables.
#
# MM_SSH_SERVER_ENABLED
################################################################################

################################################################################
# Cron configuration variables.
#
# MM_CRON_FETCH_CRONTAB
################################################################################

################################################################################
# MiniMyth Myth frontend configuration variables.
#
# MM_MYTHDB_JUMPPOINTS_{key}
# MM_MYTHDB_KEYBINDINGS_{key}
# MM_MYTHDB_SETTINGS_{key}
################################################################################
#MM_MYTHDB_JUMPPOINTS_MythGallery='MythGallery~Alt+G'
#MM_MYTHDB_JUMPPOINTS_Play_music='Play music~Alt+M'
#MM_MYTHDB_JUMPPOINTS_MythStream='MythStream~Alt+S'
#MM_MYTHDB_JUMPPOINTS_TV_Recording_Playback='TV Recording Playback~Alt+T'
#MM_MYTHDB_JUMPPOINTS_MythVideo='MythVideo~Alt+V'

#MM_MYTHDB_KEYBINDINGS_Music_FFWD='Music~FFWD~)'
#MM_MYTHDB_KEYBINDINGS_Music_RWND='Music~RWND~('
#MM_MYTHDB_KEYBINDINGS_Stream_FULLSCREEN='Stream~FULLSCREEN~W'
#MM_MYTHDB_KEYBINDINGS_TV_Playback_SEEKFFWD='TV Playback~SEEKFFWD~),Right'
#MM_MYTHDB_KEYBINDINGS_TV_Playback_SEEKRWND='TV Playback~SEEKRWND~(,Left'

#MM_MYTHDB_SETTINGS_GalleryMoviePlayerCmd='GalleryMoviePlayerCmd~xine -pfhq --no-splash --loop=loop'
#MM_MYTHDB_SETTINGS_VCDPlayerCommand='VCDPlayerCommand~xine -pfhq --no-splash  --loop=loop vcd://'
#MM_MYTHDB_SETTINGS_VideoDefaultPlayer='VideoDefaultPlayer~xine -pfhq --no-splash --loop=loop'
[/code]

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Post by Pablo » Thu Mar 27, 2008 1:13 am

Very odd.

What is the value of MM_THEME_NAME in /etc/conf.d/minimyth?
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

pt95cca
Member
Posts: 16
Joined: Sat Apr 21, 2007 7:24 am

Post by pt95cca » Sat Mar 29, 2008 4:35 pm

It appears to be the same contents of that entire file as minimyth.conf on the server.

This is what the setup looks like:
- Debian 4.0 R3
- Packaged version of mythtv server (apt-get install mythtv) from Debian Multimedia packages

... and then basically nothing else. It's a clean install on fairly new hardware.

A side note; does it matter whether I run a window manager on the server? I'd like to use as little memory as possible for other stuff than mythtv-backend, so I'm stopping before launch gdm (or xdm, I've used both).

Chris

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Post by Pablo » Sat Mar 29, 2008 5:03 pm

There is no need to run a window manager on your back end.

I noticed something in your output. Did you remove the hostname from this line of your output before posting:

Code: Select all

2008-03-26 13:36:28.206 Using localhost value of 
If not, then there should be a hostname at the end of the line and there is not.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

pt95cca
Member
Posts: 16
Joined: Sat Apr 21, 2007 7:24 am

Post by pt95cca » Sat Mar 29, 2008 5:28 pm

I didn't remove that. Do you think it's the hostname of the server or the minimyth client that is unset?

Thanks for the hint, I hadn't noticed that.

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Post by Pablo » Sat Mar 29, 2008 6:06 pm

The value should be the hostname of the frontend. It is used by Myth to retrieve its settings from the MySQL database. If the value is not correct, then it will retrieve the wrong settings, which might explain why it is using the wrong theme.

MiniMyth relies on the hostname option provided by the DHCP server.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

Post Reply