Altitude Game: Forums  

Go Back   Altitude Game: Forums > Altitude Support > Tech Support
FAQ Community Calendar

Tech Support Trouble running the game? Found a bug? Post here.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-23-2010, 03:25 PM
z.b+ z.b+ is offline
Junior Member
 
Join Date: Sep 2010
Posts: 2
Default Linux and sudo

If i run the game as:

sudo altitude

everything runs fine.

This of course means the command will not work from the menu not to mention that I do not want to run the game under sudo / gksudo.

I even tried changing the default install path from /opt/altitude to /home/[user]/games/altitude ...but same problem.

Here is the log file entry that is happening:

INFO [2010-09-22 21:35:05,356] [main]: Altitude is already running, failed to acquire lock: /tmp/altitude-game-run-lock.tmp

Deleting the tmp file does nothing on the next run.


I can not be the only one having this problem!!


ps. keep in mind the game works fine as sudo so it must be a permission error.
Reply With Quote
  #2  
Old 09-23-2010, 05:19 PM
lamster lamster is offline
Administrator
 
Join Date: May 2008
Posts: 1,655
Default

Is your /tmp directory not world-writable?

You may need to delete any existing /tmp/altitude-game-run-lock.tmp as root, then launch the game with a standard user.
Reply With Quote
  #3  
Old 09-24-2010, 02:56 PM
z.b+ z.b+ is offline
Junior Member
 
Join Date: Sep 2010
Posts: 2
Default

I had to reinstall it over the directory. I had originally installed it as

sudo sh altitude.sh

Then I ran as some files still belonged to root.

sudo chown -R [user]:[user] .

Then I deleted the tmp file and ran it several more times. It finally worked. Kinda weird.

*DO NO INSTALL AS SUDO*, will cause problems.
Reply With Quote
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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:11 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
2008 Nimbly Games LLC