General Troubleshooting Tips

From MythTV Official Wiki
Revision as of 20:41, 12 March 2011 by Wagnerrp (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

General Troubleshooting

To display all output information:

 mythfrontend -v all

Log Files

A good first step when things aren't working right is to take a look at the log files. There are several that may help, depending on what problem you're having. Some logs can be displayed from the frontend, for others you'll need to either ssh into your box or open a terminal and cat the log so you can see it.

cat /var/log/mythtv/mythbackend.log
cat /var/log/syslog
cat /var/log/mysqld/mysqld.log

Also try executing dmesg which will show you messages from the kernel ring buffer (stuff generated during system boot).

Resources

Remote Access

Terminal

Putty.png PuTTY (Windows)

Site: http://www.chiark.greenend.org.uk/~sgtatham/putty/

Download: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Direct Download (HTTP): http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
Direct Download (FTP): ftp://ftp.chiark.greenend.org.uk/users/sgtatham/putty-latest/x86/putty.exe
RSA Signature: http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe.RSA
DSA Signature: http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe.DSA


Ensure your Myth box is running a SSH server, for example, sshd - openSSH SSH daemon. In ubuntu, you would use 'apt-get' or 'Synaptic Package Manager' to install 'openssh-server.'

Open Putty

(location of Putty)\putty.exe

Place Hostname or IP address of your myth box in the 'Host Name (or IP address)' field. Select SSH as the protocol. Then click 'Open.'

Putty configuration session ip-address and protocol.png

On your first time accessing the server, verify the fingerprint of your myth box and select 'Yes.'

Putty server host key cache request.png

You will then be prompted to provide authentication to access your myth box.

File Browsing

Winscp.png WinSCP is an open source free SFTP client for Windows using SSH. It is a very convenient tool for remotely accessing the file system on a mythtv box from windows. The program can be installed or run as a stand alone executable.

Graphical

VNC

This will enable you to view the graphical desktop of your Myth machine over the network without having to plug a monitor into the back. To run VNC, emerge it and review the documentation at http://realvnc.com You will also want to download a VNC client to the desktop you will be working from. Remotely login to the Myth box, then run VNC

#vncserver

Run the VNC client, and specify the IP address and display

192.168.1.102:1

Then enter your password. You should be faced with a simple graphical desktop. To run setup, simply run

#mythtv-setup

You may also want to see what is seen on the TV

#mythfrontend

Now you will not have to be running back and forth between the TV room and computer room! ;)

NX

NX is another remote display technology similar to VNC.

NoMachineNX provides a free windows NX client.

FreeNX is an open source linux NX server