LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-30-2005, 05:26 PM   #1
kasra_23
Member
 
Registered: Feb 2005
Posts: 36

Rep: Reputation: 15
2 Fedora Problems I have


Hi
I switched to FC4 yesterday (From Mandrake, because it stopped working ) and I am happy for the most part. I use KDE, and all the default software.

Hardware:
P4 3.00 GH Prescott Channel (HyperThreading)
512MB ram
ATI 9200PRO (256MB)
120gb HDD
AverMedia TV card
HP All-In-One PSC 2110

Problem #1:
In mandrake, the all-in-one's scanner was set up automatically.
I have gotten the printing to work, but no scanner. When I start XSane or Kooka, I only get the option of scanning from the TV card. What should I do to get the scanner to work?

Problem #2:
In KDE, the log out screen only gives me the option of "Log Out" (but no "Reboot" or "Shut Down"). I think this is because GDM is running, not KDM. How can I get KDM to run instead?

Also, is there any easy guide for setting up a home network between Fedora and WinXP?

By the way, I have read the Stanton-Finley guide.
Thanks in Advance!
Kasra

UPDATE: I don't know what I did, but FC4 is now using KDM. So problem #2 is solved. Now only if the scanner would work.

Last edited by kasra_23; 07-30-2005 at 06:43 PM.
 
Old 07-31-2005, 10:18 AM   #2
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
Quote:
Also, is there any easy guide for setting up a home network between Fedora and WinXP?
What kind of home network are you trying to setup? File sharing? Printing? DHCP/DNS/Routing?

Quote:
How can I get KDM to run instead?
FYI, if you have a look at /etc/sysconfig/desktop, this stores the default desktop manager. On my system, it has the following line:

Code:
DESKTOP="GNOME"
When the /etc/X11/prefdm script runs at X server startup to determine the preferred display manager, it looks at the /etc/sysconfig/desktop file to determine which desktop manager to use. If you look in the prefdm file, you'll see there are some lines testing the various options:

Code:
if [ -f /etc/sysconfig/desktop ]; then
        . /etc/sysconfig/desktop
        if [ "$DISPLAYMANAGER" = GNOME ]; then
                preferred=gdm
        elif [ "$DISPLAYMANAGER" = KDE ]; then
                preferred=kdm
        elif [ "$DISPLAYMANAGER" = XDM ]; then
                preferred=xdm
        elif [ -n "$DISPLAYMANAGER" ]; then
                preferred=$DISPLAYMANAGER
        fi
fi
So if you ever want to change it manually in the future, you just have to edit /etc/sysconfig/desktop and set the DESKTOP variable to GNOME, KDE or XDM as appropriate.
 
Old 07-31-2005, 01:08 PM   #3
kasra_23
Member
 
Registered: Feb 2005
Posts: 36

Original Poster
Rep: Reputation: 15
Ok, thanks. Now I know how to switch between GDM, and KDM.
For the network, I just want to have file sharing and maybe print sharing.
Oh, and the scanner still doesn't work. I installed the HPOJ, HPIJS, XSANE-HPOJ but nothing happens.
 
Old 07-31-2005, 01:34 PM   #4
equinox
Member
 
Registered: Dec 2003
Location: Johannesburg, South Africa
Posts: 846

Rep: Reputation: 30
Here's how I do SAMBA for home networking with a Linux box and a Windows box...

1) Make sure you have the correct packages installed, you need these:

Code:
samba-common-3.0.14a-2
samba-client-3.0.14a-2
samba-3.0.14a-2
Don't worry about version number, my pc up to date with the latest FC4 updates so yours may differ.

2) Make a share on your file system (as root) eg:

Code:
cd /
mkdir public
3) Change the ownerships and permissions on the folder (as root):

Code:
chown -R username:group /public
chmod 777 /public
Now what I've done is made this folder writable by everyone and the folder will be owned by you, so make sure to replace username:group with your details eg my name is michael and there is a group called michael, so I have michael:michael

4) Open your favourite text editor as root (I use vi):

Code:
vi /etc/samba/smb.conf
Now the [GLOBAL] information is pretty self explanatory, here's mine for example:

Code:
[global]

# workgroup = NT-Domain-Name or Workgroup-Name
   workgroup = RASPBERRY

# server string is the equivalent of the NT Description field
   server string = Michael's PC
All I've done is added myself to a workgroup and added a server string, just a description of my pc on the network.

5) Now to make it easier, just scroll down to where you see [public] and uncomment those lines:

Code:
[public]
   path = /public
   public = yes
   only guest = yes
   writable = yes
   printable = no
6) Add the init scripts for samba:

Code:
chkconfig --add  smb
chkconfig smb on
/etc/init.d/smb start
Done!

That's a pretty simple how-to, but it works and you will be able to browse your Linux from your windows box.

Hope it helps.
 
Old 07-31-2005, 07:19 PM   #5
w6bi
Member
 
Registered: Feb 2003
Location: Simi Valley, Calif
Distribution: Fedora 7
Posts: 69

Rep: Reputation: 15
More on Problem #2 -

The script doesn't work quite the way you'd expect it to. I haven't pursued why, but here's the contents of my /etc/sysconfig/desktop. It does what I want it to:

DESKTOP="KDE"
DISPLAYMANAGER="KDE"

The first line determines what the default desktop environment is for newly created accounts.
The second line will set your DM to KDM (instead of Fedora's default of GDM)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 3 Problems Flagrare Linux - Software 2 12-08-2005 02:51 AM
Fedora problems matty3269 Linux - Software 3 10-05-2005 04:10 PM
Problems with Fedora 2 Snerkel Fedora 12 09-17-2004 07:40 AM
Severe problems with Fedora Core 1 and Fedora Core 2 installatiom TheOneKEA Fedora - Installation 2 07-14-2004 02:12 PM
Some problems with fedora munawar5555 Fedora 2 05-20-2004 11:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration