LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 03-14-2005, 03:29 PM   #1
t3gah
Member
 
Registered: Dec 2004
Distribution: SuSE, RedHat, ubuntu, Debian
Posts: 734

Rep: Reputation: 30
Question FlightGear


Has anyone gotten this game to work in Linux???

I tried the rpm through yumex, no go. I tried a FC2 rpm's from flightgear.org for simgear and flightgear but that made a link on my menu, installed the directory tree's and added the icon to pixmaps. The game won't run when I select it from the gnome menu.

I tried compiling th source but I get a glut.h error. FreeGlut is installed as I've checked my install.log in /root. I am root when I try the installs and when I downloaded everything. There was a problem with simgear at one point and I installed the latest plib to correct the problem.

So now I'm stumped. What could be the problem?! Any idea's????
 
Old 03-14-2005, 03:52 PM   #2
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
there's a good .tgz from linuxquestions.org for your slack box
 
Old 03-14-2005, 04:56 PM   #3
Itzac
Member
 
Registered: Feb 2003
Distribution: VectorLinux 5.1
Posts: 116

Rep: Reputation: 15
Have you got 3D acceleration working? Try running glxgears. If you don't get at least 3000fps, you don't have any 3D acceleration. I have no experience with ATI cards under linux, but I know there's a driver available from the ATI website.
 
Old 03-14-2005, 10:34 PM   #4
t3gah
Member
 
Registered: Dec 2004
Distribution: SuSE, RedHat, ubuntu, Debian
Posts: 734

Original Poster
Rep: Reputation: 30
glxgears output

Quote:
Originally posted by Itzac
Have you got 3D acceleration working? Try running glxgears. If you don't get at least 3000fps, you don't have any 3D acceleration. I have no experience with ATI cards under linux, but I know there's a driver available from the ATI website.
[acha@tempest ~]# glxgears
59430 frames in 5.0 seconds = 11886.000 FPS
59549 frames in 5.0 seconds = 11909.800 FPS
59542 frames in 5.0 seconds = 11908.400 FPS
59548 frames in 5.0 seconds = 11909.600 FPS
59566 frames in 5.0 seconds = 11913.200 FPS
59566 frames in 5.0 seconds = 11913.200 FPS
59492 frames in 5.0 seconds = 11898.400 FPS
59200 frames in 5.0 seconds = 11840.000 FPS
59285 frames in 5.0 seconds = 11857.000 FPS
59540 frames in 5.0 seconds = 11908.000 FPS
 
Old 03-14-2005, 11:41 PM   #5
Itzac
Member
 
Registered: Feb 2003
Distribution: VectorLinux 5.1
Posts: 116

Rep: Reputation: 15
I'd say you've at least got that covered. Did you try the package tuttle suggested?
 
Old 03-15-2005, 08:29 PM   #6
t3gah
Member
 
Registered: Dec 2004
Distribution: SuSE, RedHat, ubuntu, Debian
Posts: 734

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Itzac
I'd say you've at least got that covered. Did you try the package tuttle suggested?
I downloaded the one tuttle suggested but I thought I would give yum another chance and this time it worked. The sim crashed when I was trying to set something and also the keyboard was unresponsive. What I mean by that is the 3 and 9 keys would not adjust the throttle of the aircraft that I was trying to fly. Not sure what that means though. Game used to work until I had to reinstall lately. Someone hacked through ssh on my game box. Stupid Fedora has sshd running by default, etc.

Later on I may uninstall the new rpm version and try the tarball. Time will tell as I haven't tried the game today. Thanks for checking up on my progress.


(I wonder how they cracked it though?!)
 
Old 03-15-2005, 10:28 PM   #7
Itzac
Member
 
Registered: Feb 2003
Distribution: VectorLinux 5.1
Posts: 116

Rep: Reputation: 15
You might want to look for an update to sshd. I ran slap-get update on my slackware box today and I'm pretty sure there was a new sshd package. But if you're not using it, there's really no reason to have it running, I guess, is there?

Good luck and happy gaming.
 
Old 03-16-2005, 05:39 AM   #8
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
Quote:
Originally posted by Itzac
You might want to look for an update to sshd. I ran slap-get update on my slackware box today and I'm pretty sure there was a new sshd package. But if you're not using it, there's really no reason to have it running, I guess, is there?

Good luck and happy gaming.
Also, only allow v2 through your sshd:
Code:
Protocol 2
in your /etc/sshd_config.
Also, rkhunter will find any basic security holes in your system. DL it, install and run "rkhunter -c" as root.
 
Old 03-16-2005, 08:10 PM   #9
t3gah
Member
 
Registered: Dec 2004
Distribution: SuSE, RedHat, ubuntu, Debian
Posts: 734

Original Poster
Rep: Reputation: 30
I disabled the service in all init run levels by stopping the daemon and unchecking it and then saving.

Here it is native sshd_config for Fedora Core 3:

Code:
	$OpenBSD: sshd_config,v 1.69 2004/05/23 23:59:53 dtucker Exp $

# This is the sshd server system-wide configuration file.  See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.  Uncommented options change a
# default value.

#Port 22
#Protocol 2,1
#ListenAddress 0.0.0.0
#ListenAddress ::

# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key

# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 1h
#ServerKeyBits 768

# Logging
#obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
SyslogFacility AUTHPRIV
#LogLevel INFO

# Authentication:

#LoginGraceTime 2m
#PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6

#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile	.ssh/authorized_keys

# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes

# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication yes
#PermitEmptyPasswords no
PasswordAuthentication yes

# Change to no to disable s/key passwords
#ChallengeResponseAuthentication yes
ChallengeResponseAuthentication no

# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#KerberosGetAFSToken no

# GSSAPI options
#GSSAPIAuthentication no
GSSAPIAuthentication yes
#GSSAPICleanupCredentials yes
GSSAPICleanupCredentials yes

# Set this to 'yes' to enable PAM authentication, account processing, 
# and session processing. If this is enabled, PAM authentication will 
# be allowed through the ChallengeResponseAuthentication mechanism. 
# Depending on your PAM configuration, this may bypass the setting of 
# PasswordAuthentication, PermitEmptyPasswords, and 
# "PermitRootLogin without-password". If you just want the PAM account and 
# session checks to run without PAM authentication, then enable this but set 
# ChallengeResponseAuthentication=no
#UsePAM no
UsePAM yes

#AllowTcpForwarding yes
#GatewayPorts no
#X11Forwarding no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression yes
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
#ShowPatchLevel no

# no default banner path
#Banner /some/path

# override default of no subsystems
Subsystem	sftp	/usr/libexec/openssh/sftp-server
 
Old 03-16-2005, 09:14 PM   #10
t3gah
Member
 
Registered: Dec 2004
Distribution: SuSE, RedHat, ubuntu, Debian
Posts: 734

Original Poster
Rep: Reputation: 30
rkhunter is better than chkrootkit with the output and all.

Code:
[21:45:19] Scanning OpenSSL...
[21:45:20] /usr/bin/openssl found
[21:45:20] Version 0.9.7a seems to be vulnerable (if unpatched)!
[21:45:20] ----------------------------------------------------------
[21:45:20] Scanning PHP...
[21:45:20] Application not found
[21:45:20] ----------------------------------------------------------
[21:45:20] Scanning Procmail%%MTA...
[21:45:20] /usr/bin/procmail found
[21:45:20] Version 3.22 is available in non-vulnerable group and seems to be OK!
[21:45:20] ----------------------------------------------------------
[21:45:20] Scanning ProFTPd...
[21:45:20] Application not found
[21:45:20] ----------------------------------------------------------
[21:45:20] Scanning OpenSSH...
[21:45:20] /usr/sbin/sshd found
[21:45:20] Version 3.9p1 is available in non-vulnerable group and seems to be OK!
[21:45:20] ------------------------- Security advisories -------------------------
[21:45:20] Info: Found no explicit values, but a default value of 'yes'
[21:45:20] Warning: root login possible. Change for your safety the 'PermitRootLogin'
[21:45:20] (into 'no') and use 'su -' to become root.
[21:45:20] Found default option Protocol 2,1
[21:45:20] Warning: SSH version 1 possible allowed!
[21:45:20] Hint: Change the 'Protocol xxx' line into 'Protocol 2'
[21:46:34] Scanned for: 55808 Trojan - Variant A, AjaKit, aPa Kit, Apache Worm, Ambient (ark) Rootkit, Balaur Rootkit, BeastKit, BOBKit, CiNIK Worm (Slapper.B variant), Danny-Boy's Abuse Kit, Devil RootKit, Dica, Dreams Rootkit, Duarawkz, Flea Linux Rootkit, FreeBSD Rootkit, Fuck`it Rootkit, GasKit, Heroin LKM, HjC Kit, ignoKit, ImperalsS-FBRK, Irix Rootkit, Kitko, Knark, Li0n Worm, Lockit / LJK2, MRK, Ni0 Rootkit, RootKit for SunOS / NSDAP, Optic Kit (Tux), Oz Rootkit, Portacelo, R3dstorm Toolkit, RH-Sharpe's rootkit, RSHA's rootkit, Scalper Worm, Shutdown, SHV4, SHV5, Sin Rootkit, Slapper, Sneakin Rootkit, Suckit Rootkit, SunOS Rootkit, Superkit, TBD (Telnet BackDoor), TeLeKiT, T0rn Rootkit, Trojanit Kit, Tuxtendo, URK, VcKit, Volc Rootkit, X-Org SunOS Rootkit, zaRwT.KiT Rootkit
[21:46:34] 1 vulnerable applications found
What's bad of course is that these settings are like this by default in Fedora Core 3.

Last edited by t3gah; 03-16-2005 at 09:16 PM.
 
Old 03-17-2005, 06:56 AM   #11
Tuttle
Senior Member
 
Registered: Jul 2003
Location: Wellington, NZ
Distribution: mainly slackware
Posts: 1,291

Rep: Reputation: 52
Quote:
Originally posted by t3gah
I disabled the service in all init run levels by stopping the daemon and unchecking it and then saving.

Here it is native sshd_config for Fedora Core 3:

Code:
	$OpenBSD: sshd_config,v 1.69 2004/05/23 23:59:53 dtucker Exp $

# This is the sshd server system-wide configuration file.  See
# sshd_config(5) for more information.

# This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin

# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented.  Uncommented options change a
# default value.

#Port 22
#Protocol 2,1
#ListenAddress 0.0.0.0
#ListenAddress ::
Where it says:
Code:
#Protocol 2,1
change it to:
Code:
Protocol 2
You also mentioned that the throttle didn't work on fgfs, make sure you try it with num lock turned off, for some reason some games see the numpad keys as "home" "pgup" pgdn" etc. with num lock on!!

edit: These settings are default for ssh in general so you must always lock a piece of software down before running it, especially stuff which allows services to the outside world.

Last edited by Tuttle; 03-17-2005 at 07:05 AM.
 
Old 03-18-2005, 12:10 AM   #12
windowsrefugeeX
Member
 
Registered: Apr 2004
Posts: 272

Rep: Reputation: 30
have try 2 emerge the app from gentoo? it calculates all of the dependecies
 
  


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
YES! I have FlightGear Installed !! shazam75 Linux - Software 6 10-29-2005 09:25 AM
flightgear north49er Slackware 4 08-28-2005 02:50 PM
Need FlightGear compiling help sofasurfer Linux - Games 1 01-12-2004 10:42 AM
Flightgear-up and running sofasurfer Linux - Software 1 01-07-2004 09:34 AM
Flightgear StormShadow Linux - Software 1 01-27-2003 06:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 04:43 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