Xonotic Forums
[SOLVED] Please help: -sessionid and an unique session name error - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4)
+--- Thread: [SOLVED] Please help: -sessionid and an unique session name error (/showthread.php?tid=4903)



Please help: -sessionid and an unique session name error - anish01 - 05-09-2014

Hello

I have downloaded Xonotic on Ubuntu 12.04 and it has been working well up until I opened the xonotic-linux-dedicated.sh.

When I opened the normal xonotic-linux-sdl.sh it did not open. WHen I tried to run it in the terminal I get this error:

Quote:Game is Xonotic using base gamedir data
Xonotic Linux 03:08:13 Jun 5 2013 - release
Current nice level is below the soft limit - cannot use niceness
Skeletal animation uses SSE code path
DPSOFTRAST available (SSE2 instructions detected)
Failed to init SDL joystick subsystem:
execing quake.rc
execing default.cfg
execing defaultXonotic.cfg
execing sRGB-disable.cfg
menu: program is not loaded
execing weapons.cfg
execing cdtracks.cfg
execing mutator_new_toys.cfg
execing balanceXonotic.cfg
execing effects-normal.cfg
execing physicsX.cfg
execing turrets.cfg
execing unit_machinegun.cfg
execing unit_hk.cfg
execing unit_hellion.cfg
execing unit_mlrs.cfg
execing unit_flac.cfg
execing unit_fusreac.cfg
execing unit_plasma.cfg
execing unit_plasma2.cfg
execing unit_tesla.cfg
execing unit_phaser.cfg
execing unit_walker.cfg
execing unit_ewheel.cfg
execing vehicles.cfg
execing vehicle_racer.cfg
execing vehicle_raptor.cfg
execing vehicle_spiderbot.cfg
execing vehicle_bumblebee.cfg
execing crosshairs.cfg
execing gamemodes.cfg
execing ctfscoring-samual.cfg
execing notifications.cfg
execing commands.cfg
execing _hud_common.cfg
execing _hud_descriptions.cfg
execing hud_luminos.cfg
execing config.cfg
"maxplayers" set to "16"
execing data/campaign.cfg
execing config_update.cfg
execing font-xolonium.cfg
Warning: Could not expand $scr_centersize
Warning: Could not expand $scr_centersize
client: program is not loaded
execing autoexec/empty.cfg
execing autoexec.cfg
Quake Error: session lock /home/anish/.xonotic/lock could not be acquired. Please run with -sessionid and an unique session name.

Help will be apreciated. I desperately like this game and would love to play it again...
Thanks! Cool


RE: Please help: -sessionid and an unique session name error - anish01 - 05-10-2014

Okay, I figured out the answer by myself. In the home directory you are supposed to put the zipped file that you downloaded from. My game file was in Downloads. So I copied the ZIPPED file to home directory. Then I launched the game from my Xonotic file in Downloads. It worked!


RE: Please help: -sessionid and an unique session name error - Mr. Bougo - 05-10-2014

The .zip file downloaded from the website only contains the game. Once the game's extracted from it, the zip file is not needed anymore. Your solution seems completely unrelated to the problem and looks more like a coincidence.

The lock file mechanism ensures that no two Xonotic processes run at the same time using the same database and key files. You were probably already running a copy of the dedicated server in the background, as you said "nothing happened" when you first tried. The second time you tried to launch it, this time in a terminal, the first one you launched in background had set up a lock file that prevented the second one to start. You probably rebooted or somehow killed the first process between the issue and finding out later that it worked again.

If you want to run two Xonotic sessions at the same time (for example the dedicated server and the client), you will have to follow the -sessionid instructions given to you above.