View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 16 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Feb 15, 2006 2:16 pm 
Offline
Joined: Thu Feb 02, 2006 6:47 pm
Posts: 7
Ok so this is a guide for total newbs like myself for knoppmyth.

So first thing you need to do is download the os. Download from one of the mirror links. Once you have downloaded the file check the MD5 sum! After that you MUST burn it but the key is to FINALIZE the cd. I had a problem b/c I thought nero was doing it but it really wasent. There is a program called CDBurnerXP PRO 3 that is free and will do what we need.

Read the instructions and install mythtv. Once you have everything installed you might want to do some of these things. If you are a total noob then these things are hard so im going to walk you through them..

1) If you don't have a monitor hooked up already then its hard to edit the system. First step is installing VNC that lets you use your xp system to control mythtv.
Right click on the desktop

Apps
System
X-Termial as root. Run it and type in your root password.
Code:
apt-get update

Code:
apt-get install x11vnc

Code:
xedit /etc/gdm/PreSession/Default

Insert the following after the PATH line where xxxx is the desired password:

Code:
/usr/bin/x11vnc -nap -wait 50 -passwd xxxx -display :0 -forever -o    /var/log/x11vnc.log -bg

Save

2) Next is to actually switch it to the TV settings
Right click on the desktop

Apps
System
X-Termial as root. Run it and type in your root password.
Code:
mv /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.original

Code:
cp /etc/X11/XF86Config-4.nvidia-tvout.sample /etc/X11/XF86Config-4

Code:
Y

Code:
/etc/init.d/gdm restart


3) My remote would work every other time just about when I booted up.. to fix do this
Right click on the desktop
Apps
System
X-Termial as root. Run it and type in your root password.
Code:
xedit  /etc/modules

Add
Code:
lirc_dev

Add
Code:
lirc_i2c

Save

4) Setting up FTP
Right click on the desktop
Apps
System
X-Termial as root. Run it and type in your root password.
Code:
/etc/init.d/samba start

Code:
update-rc.d samba defaults


5) Setting up channel icons
Right click on the desktop
Apps
System
X-Termial as root. Run it and type in your root password.
Code:
wget http://members.cox.net/danielarbour/mkiconmap.pl

Code:
perl mkiconmap.pl

Code:
mythfilldatabase --import-icon-map iconmap.xml --update-icon-map


6) Adding a black background
Right click on the desktop
Apps
System
X-Termial as root. Run it and type in your root password.
Code:
wget http://members.cox.net/danielarbour/knoppmyth1.png

Code:
mv knoppmyth1.png /usr/local/lib/knoppmyth.png


7) DVD Player (mplayer) language = English
Add this in mythtv to the command line
Code:
-alang en


8) Add more cool themes
Right click on the desktop
Apps
System
X-Termial as root. Run it and type in your root password.
Code:
wget http://members.cox.net/danielarbour/themes

Code:
chmod 755 themes

Code:
./themes


9) Eject dvd button
Right click on the desktop
Apps
System
X-Termial as root. Run it and type in your root password.
-For "Classic" menus
Code:
xedit /usr/share/mythtv/dvdmenu.xml

-For "Default" menus
Code:
xedit /usr/share/mythtv/optical_menu.xml

Add this above </mythmenu> and below the last </button>

Code:
<button>
      <type>DVD</type>
      <text>Eject DVD</text>
      <action>EXEC umount /dev/cdrom;eject hdc</action>
   </button>


Save

10) Mythweb! VERY COOL!
Right click on the desktop
Apps
System
X-Termial as root. Run it and type in your root password.
Code:
xedit /etc/apache/httpd.conf

Search for port:80 change to whatever you want
Search for Directory /var/ww/
After Allowoverride None/Allowoverride All type this

Code:
# Force a password
   AuthType Basic
   AuthName "BasicAuth"
   AuthUserFile /etc/apache/basicauth
   Require valid-user

Save
Quit
Code:
htpasswd -c /etc/apache/basicauth mythtv

Code:
/etc/init.d/apache restart

Forward the port on your router

11) Removing the blue border at the top and right
Right click on the desktop
Apps
System
X-Termial as root. Run it and type in your root password.
Code:
xedit /home/mythtv/.fluxbox/apps

Add this after "[startup] {KnoppMyth-Run}"
Code:
[startup] {xvattr -a XV_COLORKEY -v 0}

Save

12) Adding full FTP rights for samba!
Right click on the desktop
Apps
System
X-Termial as root. Run it and type in your root password.
Code:
xedit /etc/samba/smb.conf

Under [homes] change "read only = yes" to
Code:
read only = no

Under [Myth] change valid users = mythtv to
Code:
admin users = mythtv

Save
Quit
Code:
/etc/init.d/samba restart


*Things I have yet to learn. Help if you can please!*
1) Get the games to work. Installing all the old games and such
2) Auto delete the commercials from the show to save room
3) Add FTP rights so I can edit files
4) Remove Mythphone from menu (some reason it wont work..)
5) Mythtv Sounds
6) VNC over web java
7) Start vnc server on bootup


Last edited by yellowsnow on Wed Feb 22, 2006 3:00 pm, edited 4 times in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 19, 2006 8:36 am 
Offline
Joined: Sun Jan 29, 2006 8:24 am
Posts: 145
Great howto. This is the only place I found that told me how to eject a cd.

The dvd eject line did not work however until I changed "Exec" to "EXEC". I noticed that this is how the other XML files were written.

mike

_________________
KnoppMyth R5B7
Asus P4P800-VM
P4 2.4 Ghz - 1GB RAM
PVR-150 - HD-5000
Geforce FX 5200


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 19, 2006 4:37 pm 
Offline
Joined: Thu Feb 02, 2006 6:47 pm
Posts: 7
sweet thanks man! that was on my to do list of why it didnt work.... But yea basically i am very very new to linux and these are the things that I install/do to make it even more enjoyable.. Hopefully w/ everyone's help it will keep growing and growing. I started this bascially b/c i would use 2-3 sites to finally figure out how to do some of this b/c everyway is different.. in this case my guide should work 100% if you are using the new version of knoppmyth!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 20, 2006 2:46 pm 
Offline
Joined: Wed Feb 15, 2006 3:18 pm
Posts: 47
To get write access via samba edit /etc/samba/smb.conf and at the bottom in the [Myth] section change valid users = mythtv to admin users = mythtv. Also under the section [homes] change read only = yes to read only = no. Do a /etc/init.d/samba restart and you have write access. You may want to consider only binding this service to a secure iterface. Hope this helps a bit. Great work on the new release guys my system worked out the box and I restored my previous database with very little hair loss.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 23, 2006 3:29 am 
Offline
Joined: Wed Feb 15, 2006 3:18 pm
Posts: 47
To edit your menus simply copy the .xml file from /usr/share/mythtv to HOME/.mythtv then edit it as you wish. Make sure you chown and chgrp the file else problems will arise. This should also survive an upgrade.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 25, 2006 12:41 pm 
Offline
Joined: Tue Feb 21, 2006 8:21 pm
Posts: 1
Location: U.S.
Nice post.

I found it easier to manage Samba (and some other services) using WebMin - which provides a nice web-page like GUI for the Samba settings, etc.

Configuring Webmin to manage the Mysqyl and samba:
http://knoppmythwiki.org/index.php?page=WebminHowTo

Starting vnc server (x11vnc) on startup:
If you want to have x11vnc start automatically at boot up, follow last comment on this wiki post: http://knoppmythwiki.org/index.php?page=x11vncHowTo

so when you edit the /etc/gdm/PreSession/Default, the line after the PATH statement will look something like this (replace xxxx with your password):
Code:
/usr/bin/x11vnc -nap -wait 50 -passwd xxxx -display :0 -forever -o /var/log/x11vnc.log -bg -auth /var/lib/gdm/:0.Xauth

I also added the "-allow 192.168.1." so that only computers inside my LAN can connect, so mine looks like this (but all on a single line of course):
Code:
/usr/bin/x11vnc -nap -wait 50 -passwd xxxx -display :0 -forever -o /var/log/x11vnc.log -bg -allow 192.168.1. -auth /var/lib/gdm/:0.Xauth


Last edited by MrE on Sat Feb 25, 2006 11:41 pm, edited 4 times in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 25, 2006 5:47 pm 
Offline
Joined: Thu Feb 09, 2006 11:44 am
Posts: 12
Location: Louisville / Shepherdsville KY
Great stuff! I wish I would have seen this thread sooner. :) Good job!


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 25, 2006 11:49 pm 
Offline
Joined: Thu Feb 02, 2006 6:47 pm
Posts: 7
um i like to vnc from remote places.. like dads house ect.. and as for getting x11vnc to start on boot.. thats already in the guide.. im trying to get vncserver to boot up.. like x11vnc is the real desktop.. but sometimes someone is using the box to watch a show and i want to run vncserver and work on it while they are using it.. you know?


Top
 Profile  
 
 Post subject: This is Awesome!!
PostPosted: Sun Feb 26, 2006 8:55 pm 
Offline
Joined: Sun Feb 26, 2006 8:09 pm
Posts: 8
Location: Canada
Thanks for this!!

KnoppMyth is basically my first real crack at Linux so this is going to help a lot!!

:D


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 17, 2006 1:14 pm 
Offline
Joined: Wed Feb 01, 2006 8:31 pm
Posts: 45
Great guide for noobs, but just one thing.. Samba is not FTP (samba is SMB protocol, FTP is another protocol).

just that.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 21, 2006 1:50 pm 
Offline
Joined: Sun Sep 05, 2004 7:06 pm
Posts: 690
Thanks for tip #11

I launched WinScp and connected to my Myth machine as root

Editing /home/mythtv/.fluxbox/apps

after the line "[startup] {KnoppMyth-Run}"

I inserted

Code:
[startup] {xvattr -a XV_COLORKEY -v 0}

Saved and Rebooted and the thin blue line on the top and the far left of the screen was gone from R5B7.... :P

Many thanks for the tip


Top
 Profile  
 
PostPosted: Thu Mar 30, 2006 10:40 am 
Offline
Joined: Sat Mar 04, 2006 9:45 am
Posts: 12
Location: Finland
This kind of instructions "for linux dummies" like me, is so welcome!!! It would be so mutch easyer to enjoy and, at the same, time learn about linux!!

All i ever wanted :)

I just wish there where inst. like this to patch my Hauppauge Nova-T drivers to work and ATI 9100 chipset to function. Now i got no sound, picture (SVHS), live TV or anything else but working menu (= Baah... :evil:

_________________
---------------------------------------------------
ASUS PUNDIT-R ID3 BLACK S478 ATI RS300
Samsung DVD-RW
CELERON D 335 2.8GHZ
HD Barracuda 200GB ATA
512MB DDR PC400/PC3200
Targa Visionary 32"
---------------------------------------------------


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jul 23, 2006 11:25 pm 
Offline
Joined: Thu Feb 02, 2006 6:47 pm
Posts: 7
=\ So i just put on the new rc7 or w/e.. and these commands are outdated/wont work =\ Like apt-get install x11vnc..
before i start mass reading and trying to figure it out.. can anyone save my time and help me update these commands for the new version? Thanks!!!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 27, 2006 8:35 am 
Offline
Joined: Thu May 25, 2006 4:06 pm
Posts: 12
That is actually a very good question. I was attempting to install VNC a while back and it seems as if that program no longer exists.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jul 27, 2006 8:58 am 
Offline
Joined: Fri Apr 02, 2004 10:08 am
Posts: 1637
Location: Virginia, USA
R5C7 comes with NX server installed and running. All you have to do is get the nx client, make sure you can connect to your machine via ssh, and you can do everything VNC lets you do, no need to apt-get anything.

http://www.knoppmythwiki.org/index.php?page=NXHowTo

Also, as far as MythWeb security goes, there is a script that runs during R5C7 installation that prompts you for a MythWeb password, and an option to secure just MythWeb or all pages served by Apache. The name is something like "togglemythwebsecurity.sh"... I can't recall the exact name.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 21 guests


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu