LinHES Forums
http://forum.linhes.org/

Guide for 100% LINUX NOOBS! aka me Just trying to help!
http://forum.linhes.org/viewtopic.php?f=3&t=8520
Page 1 of 2

Author:  yellowsnow [ Wed Feb 15, 2006 2:16 pm ]
Post subject:  Guide for 100% LINUX NOOBS! aka me Just trying to help!

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

Author:  mschlott [ Sun Feb 19, 2006 8:36 am ]
Post subject: 

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

Author:  yellowsnow [ Sun Feb 19, 2006 4:37 pm ]
Post subject: 

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!

Author:  weblst [ Mon Feb 20, 2006 2:46 pm ]
Post subject: 

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.

Author:  weblst [ Thu Feb 23, 2006 3:29 am ]
Post subject: 

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.

Author:  MrE [ Sat Feb 25, 2006 12:41 pm ]
Post subject: 

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

Author:  wabonnett [ Sat Feb 25, 2006 5:47 pm ]
Post subject: 

Great stuff! I wish I would have seen this thread sooner. :) Good job!

Author:  yellowsnow [ Sat Feb 25, 2006 11:49 pm ]
Post subject: 

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?

Author:  j0dest3r [ Sun Feb 26, 2006 8:55 pm ]
Post subject:  This is Awesome!!

Thanks for this!!

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

:D

Author:  bzImage [ Fri Mar 17, 2006 1:14 pm ]
Post subject: 

Great guide for noobs, but just one thing.. Samba is not FTP (samba is SMB protocol, FTP is another protocol).

just that.

Author:  RacerX [ Tue Mar 21, 2006 1:50 pm ]
Post subject: 

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

Author:  Linux... what? [ Thu Mar 30, 2006 10:40 am ]
Post subject:  More instructions like this please!!!

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:

Author:  yellowsnow [ Sun Jul 23, 2006 11:25 pm ]
Post subject: 

=\ 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!!!

Author:  hawkbox [ Thu Jul 27, 2006 8:35 am ]
Post subject: 

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.

Author:  ceenvee703 [ Thu Jul 27, 2006 8:58 am ]
Post subject: 

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.

Page 1 of 2 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/