This applies to Slackware.

Q: How does startx know to start kde?

A: The /usr/X11/bin/startx script calls xinit (/usr/X11R6/bin/xinit ?) The shell script /etc/X11/xinit/xinitrc contains a call to startkde (/opt/kde/bin/startkde ?). Note that there are other windows managers in the same directory.

Q: How do I start and stop services?

A: For interactive start-stop go to /etc/rc.d Execute a script with a start or stop argument.

Generally, an executable script will be executed at startup to start those services.

Q: How do I install additional Linux apps.

A(partial): [http://www.codecoffee.com/tipsforlinux/articles/27.html]()

Q: What is an .rc file?

A: rc is an abbreviation of runcom, which is a script file containing startup instructions for an application

Other important files:

General information:

Here is a good explanation of configure, make, make install


Starting Samba

1) edit the configuration file 2) start samba 3) add users

1) su

    cd /etc/samba
    cp smb.conf-sample smb.conf

    jed smb.conf

add to the bottom of the file

    [lgrove]                                                                        
    path = /home/lgrove                                                             
    valid users = lgrove                                                            
    public = no                                                                     
    writable = yes                                                                  
    printable = no                                                                  
    create mask = 0765

2) /etc/rc.d/rc.samba start

3) smbpasswd -a lgrove