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 04-01-2004, 05:00 PM   #1
lexington
Member
 
Registered: Apr 2004
Posts: 53

Rep: Reputation: 15
Please, only you guys can help me. Installing Quake on my server


Hello, I am trying to install Quake III on my dedicated server so it will be available for online gamers. I had a few problems but managed to solve them, however now when I run the game I receive this error:

Q3 1.32b linux-i386 Nov 14 2002
----- FS_Startup -----
Current search path:
/root/.q3a/baseq3
/usr/local/games/quake3/baseq3/pak8.pk3 (9 files)
/usr/local/games/quake3/baseq3/pak7.pk3 (4 files)
/usr/local/games/quake3/baseq3/pak6.pk3 (64 files)
/usr/local/games/quake3/baseq3/pak5.pk3 (7 files)
/usr/local/games/quake3/baseq3/pak4.pk3 (272 files)
/usr/local/games/quake3/baseq3/pak3.pk3 (4 files)
/usr/local/games/quake3/baseq3/pak2.pk3 (148 files)
/usr/local/games/quake3/baseq3/pak1.pk3 (26 files)
/usr/local/games/quake3/baseq3/PAK0.PK3 (3539 files)
/usr/local/games/quake3/baseq3
./quake3.x86/baseq3

----------------------
4073 files in pk3 files
execing default.cfg
execing q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok

------- Input Initialization -------
Joystick is not active.
------------------------------------
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so.1: Initializing OpenGL display
...setting mode 3: 640 480
Error couldn't open the X display
...WARNING: could not set the given mode (3)
----- CL_Shutdown -----
RE_Shutdown( 1 )
-----------------------
----- CL_Shutdown -----
-----------------------
Sys_Error: GLimp_Init() - could not load OpenGL subsystem

root@family [/usr/local/games/quake3/setup.tmp]#


I am somewhat new to Linux so I am sure this is a problem that can be fixed that I am not aware of. Please tell me what to do so this game will run. Thanks
 
Old 04-01-2004, 06:12 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
It looks as though QuakeIII can't get permission to open a display. You could do a quick check to see if this is a problem by opening a console and typing:

xhost +
/usr/games/quake3/quake3

This disables access control for X. Don't run it like this though, as it leaves X open to unauthorised access. ( quake3 might also be in a diffrent directory )
 
Old 04-01-2004, 06:17 PM   #3
lexington
Member
 
Registered: Apr 2004
Posts: 53

Original Poster
Rep: Reputation: 15
Hello, thanks I have to update my post. I believe I have it working now, I used this command to get it running:

./q3ded +set dedicated 1 +set fs_basepath /usr/local/games/quake3 +exec server.cfg

Now I noticed the quake server will not display online, I am assuming it has to deal with my apf firewall. Do I have to add the port 27960 to conf.apf file? Here is the thing, I let someone setup this firewall and when I open the conf.apf file it only displays:


# APF 0.9.3 [apf@r-fx.org]
#
# NOTE: This file should be edited with word/line wrapping off,
# if your using pico please start it with the -w switch.
# (e.g: pico -w filename)
#

##
# [Dev. Mode]
# !!! Do not leave set to (1) !!!
# When set to enabled; 5 minute cronjob is set to flush the firewall; set
# this mode off (0) when firewall determined to be operating as desired.
##

# Set firewall dev cronjob
# 1 = enabled / 0 = disabled
DEVM="0"


Where do I add the port 27960 in this file? Could you give me the whole command to insert so the 27960 port will be open? Or perhaps there is another reason why my quake server wont appear online? Thanks

Last edited by lexington; 04-01-2004 at 06:27 PM.
 
Old 04-01-2004, 06:33 PM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
To allow access on a port add the line
IG_TCP_CPORTS="27960"

Currently you have no ports open to the outside at all, which is how it should be.
 
Old 04-01-2004, 06:50 PM   #5
lexington
Member
 
Registered: Apr 2004
Posts: 53

Original Poster
Rep: Reputation: 15
Haha nm I figured it all out!!!!! Thanks for your time it works!!!!! I had to set dedicated 2 not 1
 
Old 06-30-2004, 12:04 AM   #6
Jimbo99
Member
 
Registered: Nov 2003
Distribution: Ubuntu 7.04
Posts: 241

Rep: Reputation: 31
IG_TCP_CPORTS="27960"

You said to add it to something but you didn't say what to add it to.

What file do you add it to?

Where is the conf.apf file located?
 
Old 06-30-2004, 04:09 PM   #7
v00d00101
Member
 
Registered: Jun 2003
Location: UK
Distribution: Devuan Beowulf
Posts: 514
Blog Entries: 1

Rep: Reputation: 37
In the firewall setup, you need to allow tcp:27960, the other ports should be ok.
Also make sure your running the latest patch (1.32b i think).
Create a server.cfg in your fav editor, basics can be found here:

http://www.gameadmins.org/modules.ph...rticle&artid=3

Save the server.cfg in /usr/local/games/quake3/baseq3
Exec the server.cfg at the command line, using something like this:

q3ded +set dedicated 2 +exec server.cfg

Learn to use rcon, its real useful.
 
  


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
Please Guys, help me with Quake in Slackware 9.0... The SIN Raven Slackware 16 12-17-2005 09:13 AM
Bad guys flooding my web server hypexr Linux - Security 9 09-22-2005 11:07 PM
Guys/Girls I need your help with redhat mail server CYRUSS612 Linux - General 2 03-20-2004 11:13 AM
Installing quake 3 slamp Linux - Games 1 10-22-2003 04:49 PM
Installing Quake Lindy Linux - Software 4 05-24-2002 09:09 AM

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

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