LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 10-02-2003, 05:56 AM   #1
richardcrowson5
LQ Newbie
 
Registered: Oct 2003
Location: England
Distribution: red hat linux 9
Posts: 8

Rep: Reputation: 0
Unhappy ok Newbie here with RH linux 9 few problems need help


OK

I bought red hat linux 9 last week i installed it onto my machine this is the first time i used linux. got it all working and was starting going through seeing the differences between windows and linux and so far i much prefer linux.

But i have started to hit a few problems i cant open .exe files it says i don't have the viewer i am trying to install .exe files from games and from ntl home broadband installation disk i know programs that are Microsoft based such as word and office wont work on linux but i didn't know games which have not link to windows will not work either, can anyone tell me what WINE file i need for my version of red hat.

i also cant connect to a network i know that you need a file called samba to link a windows and a linux because i am running ME on my other machine with a switch in between and i have tryed reading on the net but once again no luck.

i would be most grateful if you could help because i am doing a National diploma course at dunstable college and the idea of getting linux was to learn different operating systems and network.


 
Old 10-02-2003, 08:21 AM   #2
usernamenumber
Member
 
Registered: Sep 2003
Location: Somerville, MA
Distribution: Fedora/RHEL currently. Red Hat, Slackware, Debian, SuSe and Mandrake at other times
Posts: 104

Rep: Reputation: 15
Running Windows programs is always going to be tricky. The problem is that those programs are written to use the Windows system calls (requests that programs make of the OS to interract with hardware), which are very different from the Linux system calls. As such, you need an interpreter. That's what WINE does, but it's not perfect. Don't expect to be able to run a lot of Windows programs perfectly. Check out winehq.org for more info and lists of what works and what doesn't. If you're a gamer, you might check out transgaming.com, which is a subscription service ($5/mo, I think) that makes a Linux implimentation of directx and focuses on getting popular games to work easily. www.transgaming.com has a list of which games work.

As for Samba, if you're running Gnome (the default graphical encironment), click on the hat and go to 'Network Servers' near the bottom. That should bring up a nice, graphical samba browser.

I hope you enjoy Linux! There's a ton to learn. Once you get used to the graphical stuff, start exploring the command line and you'll see just how powerfull the OS running beneath gnome et al is.
 
Old 10-02-2003, 10:43 AM   #3
richardcrowson5
LQ Newbie
 
Registered: Oct 2003
Location: England
Distribution: red hat linux 9
Posts: 8

Original Poster
Rep: Reputation: 0
More questions

OK

I have got a few things working now i am sharing the Internet between the 2 computers using samba and the printer and i can access files from the windows PC but i cant access files the other way around.

still not able to open any .exe files anyone got a wine file that will help please.

Richard
 
Old 10-02-2003, 11:16 AM   #4
usernamenumber
Member
 
Registered: Sep 2003
Location: Somerville, MA
Distribution: Fedora/RHEL currently. Red Hat, Slackware, Debian, SuSe and Mandrake at other times
Posts: 104

Rep: Reputation: 15
In order to make files available to Windows machine you will have to set up a Samba share. The simplest way is to run redhat-config-samba and choose the directory you want to share. You will have to enter your user's username and password to connect unless you go to the 'permissions' tab and check the 'allow anyone' box.

redhat-config-samba is a very, very basic tool for making Samba shares. Once you feel more confident with the system, check out the /etc/samba/smb.conf file and/or the swat admin tool (http://localhost:901) to really get a sense for the configurability of it.

As for wine, if you have wine installed then the executable you want to use is called 'wine'. For example,

wine /mnt/windows/Windows/notepad.exe

would start notepad (assuming I got the path right). If you want to be able to double-click on .exe files, you will have to tell gnome to run such files with wine. Look on the hat menu at preferences->File Types and Programs. Under the 'misc' category there should be an entry for msdos/win .exe files. If you edit that, you can try telling it to run wine for those applications but I have no idea how well it will work. Once again, if you're interested in gaming, transgaming will have a more user-friendly interface, I'm sure.
 
Old 10-02-2003, 02:17 PM   #5
Frobozz
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
Maybe this will help a bit...

http://www.computer-vet.com/tech/linuxfileserver.asp

It's specifically geared towards RedHat 9. Plus it helped somebody else the other day when I found it for them.
 
Old 10-02-2003, 02:59 PM   #6
richardcrowson5
LQ Newbie
 
Registered: Oct 2003
Location: England
Distribution: red hat linux 9
Posts: 8

Original Poster
Rep: Reputation: 0
OK

i have download the redhat-config-samba but i cant get it to run, i know you have to type something in the terminal but i don't know exactly what to type can you help.

Still can't find a Wine file to install so any help with a location couldn't find it on red hat's download

Richard
 
Old 10-02-2003, 03:54 PM   #7
usernamenumber
Member
 
Registered: Sep 2003
Location: Somerville, MA
Distribution: Fedora/RHEL currently. Red Hat, Slackware, Debian, SuSe and Mandrake at other times
Posts: 104

Rep: Reputation: 15
By 'downloaded redhat-config-samba' you mean you downloaded a .rpm file for it? If so, run

rpm -Uvh redhat-config-samba-*.rpm

That will install it. From then on you should be able to run it either from the console or by going to the hat menu and choosing System Settings -> Server Settings -> Samba Server.

As for wine, Red Hat doesn't include wine RPMs, I think. You can get the rpm from
http://prdownloads.sourceforge.net/w...6.rpm?download

Use the same rpm -Uvh command on it to install.

Good luck.
 
Old 10-03-2003, 03:10 AM   #8
richardcrowson5
LQ Newbie
 
Registered: Oct 2003
Location: England
Distribution: red hat linux 9
Posts: 8

Original Poster
Rep: Reputation: 0
Smile Thanks

OK

I will try that 2night i already have the wine and samba rpm so it should be all straight forward.

Linux sounds great to use any good utilities you can suggest to download.

Richard
 
Old 10-03-2003, 10:58 AM   #9
usernamenumber
Member
 
Registered: Sep 2003
Location: Somerville, MA
Distribution: Fedora/RHEL currently. Red Hat, Slackware, Debian, SuSe and Mandrake at other times
Posts: 104

Rep: Reputation: 15
It all depends on what you want to do. The more you educate yourself about the basics, the more you will get out of your system. Take a look at the Red Hat documentation, which is excellent, at:

http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/

In particular, check out the getting started guide:

http://www.redhat.com/docs/manuals/l...started-guide/

Then check out the customization and reference guides when you feel more comfortable with tweaking your system.

Another good and very thorough online tutorial is at:

http://rute.sourceforge.net

This will give you a very good introduction to Linux's most powerfull feature, the command line.

As for some fun apps to check out, while the getting started guide lists some good ones a few that you might find interesting would be:

mplayer (http://mplayerhq.hu) -- a player for every type of media in existance.

gimp (on your Red Hat CDs or at http://www.gimp.org) -- photoshop-ish graphics app

You had mentioned games. Lots of games have linux-native versions that you install using the windows version CD:

Neverwinter Nights:
http://nwn.bioware.com/downloads/linuxclient.html

Quake3/Q3Arena:
http://www.idsoftware.com/games/quake/quake3-gold/

Unreal Tournament:
http://www.unrealtournament.com/downloads/

Unreal Tournament 2k3
http://www.unrealtournament2003.com/downloads.php

Return to Castle Wolfenstein:
http://www.idsoftware.com/games/wolfenstein/rtcw/

...and the full, free online game Enemy Territory:
http://www.gamershell.com/download_2355.shtml


-- Have fun!

Last edited by usernamenumber; 10-03-2003 at 11:02 AM.
 
Old 10-03-2003, 11:13 AM   #10
richardcrowson5
LQ Newbie
 
Registered: Oct 2003
Location: England
Distribution: red hat linux 9
Posts: 8

Original Poster
Rep: Reputation: 0
Hi

hit a few problems
got the wine installed fine ain't tryed it yet but it is installed at least its the samba that i am having problems with.

redhat-config-samba-1.0.4-1.noarch.rpm
redhat-config-samba-1.0.4-1.src.rpm

samba-2.2.7a-8.9.0.i386.rpm
samba-2.2.7a-8.9.0.src.rpm

i go into the terminal and type md5sum the the file name for the rpm and the srpm and then type su to enter root and enter my root password
after that i type rpm -Uvh redhat-config-samba-*.rpm like you said and the error message

error: Failed dependencies:
samba is needed by redhat-config-samba-1.0.4-1

can you please help.

Also a question about games my sister has the whole collection of the The Sim's game series by maxis and wishes to play them on the linux system will they work.

Richard
 
Old 10-03-2003, 12:17 PM   #11
usernamenumber
Member
 
Registered: Sep 2003
Location: Somerville, MA
Distribution: Fedora/RHEL currently. Red Hat, Slackware, Debian, SuSe and Mandrake at other times
Posts: 104

Rep: Reputation: 15
I don't know if there's a Linux version of The Sims or not, but www.transgaming.com claims to run the Windows version perfectly with their winex tools.

As for the samba stuff -- As the error message says, you have to install the samba rpms first, then the redhat-config-samba rpms. This is what's called a 'dependancy', meaning the redhat-config-samba tool will not install unless samba is already there (which makes sense).

However, if you have either a set of Red Hat CDs or a net connection and a Red Hat Network account, then this can be done much more easily. Sorry, I should have mentioned these options earlier:

From the CDs --
Run redhat-config-packages as root
Check 'Windows File Server' from the list of package groups
Follow the rest of the instructions.
This should install Samba and, I think, redhat-config-samba for you.

Using the Red Hat Network --
run 'up2date redhat-config-samba' as root
If you don't have an RHN account, it will prompt you to set one up.
This will download and install the samba config tool and all of its dependancies.

Oh, and when you do just download RPMs and install them manually, you don't need the .src.rpm files, just the .rpm files.

Last edited by usernamenumber; 10-03-2003 at 12:21 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Linux Newbie Problems dj9928 Linux - Software 5 04-01-2005 06:07 PM
2 Linux-Newbie Problems pyxsul Slackware 19 03-17-2004 09:03 PM
ok Newbie here with RH linux 9 few problems need help richardcrowson5 Linux - Networking 1 10-02-2003 04:10 AM
Newbie problems after first linux install ever... leeman_s Linux - General 5 01-25-2003 04:15 PM
complet linux NewBie(problems with the downloaded copy of linux) merlin Linux - Software 3 03-25-2002 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 01:12 PM.

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