LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-26-2005, 05:28 PM   #1
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Rep: Reputation: 30
SDLQuake2 and /var/log/messages questions


2 questions, actually:

1. With what application can I open /var/log/messages? I tried gedit (I'm using Gnome), but it tells me "Couldn't Open "/var/log/messages"" with no further information. Is it in some arcane machine language?

2. I installed SDLQuake2 and got it running fine. However, I made a new launcher and added it to the Applications==>Games list. But it doesn't work. I click on the launcher and no hard drive excitement, nothing. The interesting part is that if I navigate to the launcher via nautilus and double-click the launcher, it works!

What am I missing?

Thanks in advance!

P.S. typing in "sdlquake2" gives me:

@localhost:~$ sdlquake2
bash: sdlquake2: command not found

typing in "/usr/local/games/quake2/sdlquake2" gives me:

localhost:~$ /usr/local/games/quake2/sdlquake2
Quake 2 -- Version 3.21+rCVS
using /home/psasak/.quake2/baseq2/ for writing
couldn't exec default.cfg
execing config.cfg
Console initialized.

------- sound initialization -------
sound sampling rate: 22050
------------------------------------
------- Loading ref_softsdl.so -------
LoadLibrary("ref_softsdl.so") failed: No such file or directory
------- Loading ref_softx.so -------
LoadLibrary("ref_softx.so") failed: No such file or directory
Refresh failed
Trying mode 0
------- Loading ref_softx.so -------
LoadLibrary("ref_softx.so") failed: No such file or directory
recursive shutdown
Error: Couldn't fall back to software refresh!

But it still works if I double-click the executable "sdlquake2" in /usr/local/games/quake2.

Last edited by noxious; 05-26-2005 at 06:09 PM.
 
Old 05-26-2005, 07:19 PM   #2
Slum
Member
 
Registered: May 2005
Location: Rhode Island, USA
Distribution: Slackware w/ bleeding edge kernel.
Posts: 37

Rep: Reputation: 15
Answer 1: You could do several things to read your /var/log/messages file. In a console, try 'cat /var/log/messages | grep quake' to bring up everything relative to quake. You're probably not able to open it with Gedit due to permissions.

Answer 2: You could always create a symlink to your quake2 binary, as root type 'cd /usr/local/bin && ln /usr/local/games/quake2/sdlquake2 -s sdlquake2'. Then you should be able to just run 'sdlquake2' from any console. Make sure /usr/local/bin is in your $PATH.
 
Old 05-26-2005, 07:31 PM   #3
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Original Poster
Rep: Reputation: 30
This is my $PATH:

localhost:~$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:/usr/share/texmf/bin:.


I did exactly "cd /usr/local/bin && ln /usr/local/games/quake2/sdlquake2 -s sdlquake2", but when sdlquake2 is input in a terminal, I get back:

localhost:~$ sdlquake2
Quake 2 -- Version 3.21+rCVS
using /home/psasak/.quake2/baseq2/ for writing
couldn't exec default.cfg
execing config.cfg
Console initialized.

------- sound initialization -------
sound sampling rate: 22050
------------------------------------
------- Loading ref_softsdl.so -------
LoadLibrary("ref_softsdl.so") failed: No such file or directory
------- Loading ref_softx.so -------
LoadLibrary("ref_softx.so") failed: No such file or directory
Refresh failed
Trying mode 0
------- Loading ref_softx.so -------
LoadLibrary("ref_softx.so") failed: No such file or directory
recursive shutdown
Error: Couldn't fall back to software refresh!

/var/log/messages is owned by me... it won't open for me or for root in gedit.

????????????????????????????????????????????
 
  


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
what does messages suppressed in /var/log/messages mean saavik Linux - Networking 2 05-07-2008 02:31 PM
Redirecting the kernel messages to file other than /var/log/messages jyotika_b83 Linux - General 3 04-28-2005 06:39 PM
From where am i getting error messages to /var/log/messages? prabhuacsp Programming 3 02-16-2005 08:59 AM
From where am i getting error messages to /var/log/messages? prabhuacsp Linux - Networking 1 02-16-2005 12:34 AM
/var/log/messages full of these messages. Should I be concerned? mdavis Linux - Security 5 04-16-2004 10:08 AM


All times are GMT -5. The time now is 07:48 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration