The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
demo only starts as root
inexact Offline
Junior Member

Posts: 3
Threads: 1
Joined: Sep 2010
Reputation: 0
#1
Solved: 8 Years, 2 Months, 1 Week ago demo only starts as root

After installing the demo using

$ sudo sh amnesia_tdd_demo_1.0.sh

the demo won't start as a normal user. The configuration window appears, choosing "Launch game" results in a black screen that disappears quite quickly.

Use

$ sudo /usr/local/games/AmnesiaDemo/Launcher.bin64

and the demo starts correctly. But I don't use Linux to run applications as root.

I also noted that lots of files installed in /usr/local/games/AmnesiaDemo/ belong to user number 500, which does not exist on the default Ubuntu 10.04 installation. Numbering of users starts at 1000 ...

*Edit*
* attached the log file
* note that the files which are reported unable to read in the log are readable according to ls and file:
$ ls -l /usr/local/games/AmnesiaDemo/core/textures/core_dissolve.tga /usr/local/games/AmnesiaDemo/fonts/font_default_00.dds /usr/local/games/AmnesiaDemo/textures/effects/colorconv_sepia.tga
-rw-rw-r-- 1 500 500 16428 2010-09-01 04:33 /usr/local/games/AmnesiaDemo/core/textures/core_dissolve.tga
-rw-rw-r-- 1 500 500 262272 2010-09-01 04:33 /usr/local/games/AmnesiaDemo/fonts/font_default_00.dds
-rw-rw-r-- 1 500 500 812 2010-09-01 04:33 /usr/local/games/AmnesiaDemo/textures/effects/colorconv_sepia.tga

$ file /usr/local/games/AmnesiaDemo/core/textures/core_dissolve.tga /usr/local/games/AmnesiaDemo/fonts/font_default_00.dds /usr/local/games/AmnesiaDemo/textures/effects/colorconv_sepia.tga
/usr/local/games/AmnesiaDemo/core/textures/core_dissolve.tga: Targa image data - Mono 128 x 128
/usr/local/games/AmnesiaDemo/fonts/font_default_00.dds: Microsoft DirectDraw Surface (DDS), 256 x 256,
/usr/local/games/AmnesiaDemo/textures/effects/colorconv_sepia.tga: Targa image data - RGB 256 x 1

Linux 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:21:58 UTC 2010 x86_64 GNU/Linux
Ubuntu 10.04
NVIDIA Driver Version: 195.36.24
Geforce 9800 GT
Core i5 processor
09-03-2010, 08:03 PM
Find


Messages In This Thread
demo only starts as root - by inexact - 09-03-2010, 08:03 PM
RE: demo only starts as root - by superluser - 09-03-2010, 08:05 PM
RE: demo only starts as root - by zak - 09-03-2010, 08:06 PM
RE: demo only starts as root - by inexact - 09-03-2010, 08:21 PM
RE: demo only starts as root - by jens - 09-03-2010, 08:20 PM
RE: demo only starts as root - by zak - 09-03-2010, 08:28 PM
RE: demo only starts as root - by superluser - 09-03-2010, 08:40 PM
RE: demo only starts as root - by inexact - 09-04-2010, 11:07 AM
RE: demo only starts as root - by FreonTrip - 09-05-2010, 08:44 AM
RE: demo only starts as root - by zak - 09-03-2010, 08:50 PM
RE: demo only starts as root - by jens - 09-03-2010, 08:59 PM
RE: demo only starts as root - by zak - 09-03-2010, 09:27 PM
RE: demo only starts as root - by jens - 09-03-2010, 09:38 PM
RE: demo only starts as root - by Vanishing - 09-03-2010, 09:42 PM
RE: demo only starts as root - by zak - 09-03-2010, 09:58 PM
RE: demo only starts as root - by superluser - 09-03-2010, 10:43 PM
RE: demo only starts as root - by jens - 09-03-2010, 09:48 PM
RE: demo only starts as root - by Vanishing - 09-03-2010, 09:53 PM
RE: demo only starts as root - by jens - 09-03-2010, 10:09 PM
RE: demo only starts as root - by Urkle - 09-04-2010, 03:08 AM



Users browsing this thread: 1 Guest(s)