Hi list,
I'm running ltsp 3.0.7 on a SuSE 7.3 server. I'm trying to configure various
games which require hardware rendering to run locally on my test client.
Client vga card is 3dfx Voodoo3.
I've got gears working as a local app. The others I'm trying are bzflag,
tuxracer, and tuxkart. After various adventures with shared libs, I got these
to start, but they all fail with some form of "can't open display"
I've disabled access controls with xhost and lts.conf.
ashley@ishi:~ >cat /opt/ltsp/i386/etc/lts.conf
#
# Config file for the Linux Terminal Server Project (www.ltsp.org)
#
[Default]
SERVER = 192.168.0.4
XSERVER = auto
X_MOUSE_PROTOCOL = "PS/2"
X_MOUSE_DEVICE = "/dev/psaux"
X_MOUSE_RESOLUTION = 400
X_MOUSE_BUTTONS = 3
RUNLEVEL = 5
[alban]
XF86CONFIG_FILE = XF86Config.alban
# XSERVER = auto
USE_NFS_SWAP = N
SWAPFILE_SIZE = 48m
#RUNLEVEL = 5
RUNLEVEL = 3
LOCAL_APPS = Y
NIS_DOMAIN = ashnet
DISABLE_ACCESS_CONTROL = Y
Tux Racer is asking for a frame buffer device. I haven't figured out
how ltsp creats its devices. Anyone?
For testing, I rsh into client alban and run them directly. Here are the
error messeges:
Tux Racer:
ashley@alban:~ >tuxracer
Tux Racer 0.61 -- a Sunspire Studios Production (http://www.sunspirestudios.com)
(c) 1999-2000 Jasmin F. Patry <[EMAIL PROTECTED]>
"Tux Racer" is a trademark of Jasmin F. Patry
Tux Racer comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
See http://www.gnu.org/copyleft/gpl.html for details.
*** tuxracer error: Couldn't initialize SDL: No available video device
ashley@alban:~ >strace tuxracer
.
.
.
open("/dev/fb0", O_RDWR) = -1 ENOENT (No such file or directory)
write(2, "*** tuxracer error: ", 20*** tuxracer error: ) = 20
write(2, "Couldn\'t initialize SDL: No avai"..., 50Couldn't initialize SDL: No
available video device) = 50
write(2, "\n", 1
) = 1
_exit(1) = ?
Tux Kart:
ashley@alban:~ >/usr/games/tuxkart --display alban:0.0
Data files will be fetched from: '/usr/share/games/tuxkart'
GLUT: Fatal Error in Tux Kart: could not open display:
ashley@alban:~ >strace /usr/games/tuxkart
execve("/usr/games/tuxkart", ["/usr/games/tuxkart"], [/* 20 vars */]) = 0
uname({sys="Linux", node="alban", ...}) = 0
.
.
.
write(2, "GLUT: Fatal Error in Tux Kart: ", 31GLUT: Fatal Error in Tux Kart: ) = 31
write(2, "could not open display: ", 24could not open display: ) = 24
write(2, "\n", 1
) = 1
_exit(1) = ?
Bzflag:
ashley@ishi:~ >rsh alban
Password:
bash: /etc/profile: No such file or directory
Hello Ashley. How are you?
ashley@alban:~ >/usr/games/bin/bzflag -window ishi
Can't open display. Exiting.
ashley@alban:~ >/usr/games/bin/bzflag -window ishi
execve("/usr/games/bin/bzflag", ["/usr/games/bin/bzflag", "-window", "ishi"], [/* 20
vars */]) = 0
uname({sys="Linux", node="alban", ...}) = 0
brk(0) = 0x80c7bd0
.
.
.
open("/var/yp/binding/ashnet.2", O_RDONLY) = 3
readv(3, [{"\377\377", 2}, {"\1\0\0\0\300\250\0\4\3\362\0\0", 12}], 2) = 14
brk(0x80d5000) = 0x80d5000
socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 4
bind(4, {sin_family=AF_INET, sin_port=htons(934), sin_addr=inet_addr("0.0.0.0")}}, 16)
= -1 EACCES (Permission denied)
ioctl(4, 0x5421, [1]) = 0
setsockopt(4, SOL_IP, IP_RECVERR, [1], 4) = 0
fcntl64(4, F_SETFD, FD_CLOEXEC) = 0
close(3) = 0
sendto(4, "\4Q\\\343\0\0\0\0\0\0\0\2\0\1\206\244\0\0\0\2\0\0\0\3\0"..., 76, 0,
{sin_family=AF_INET, sin_port=htons(1010), sin_addr=inet_addr("192.168.0.4")}}, 16) =
76
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
recvfrom(4, "\4Q\\\343\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 8800, 0,
{sin_family=AF_INET, sin_port=htons(1010), sin_addr=inet_addr("192.168.0.4")}}, [16])
= 92
close(4) = 0
write(2, "Can\'t open display. Exiting.", 29Can't open display. Exiting.) = 29
write(2, "\n", 1
) = 1
_exit(1) = ?
--
-ashley
One of these days I'm going to completely organize my life.
Ashley Gould 510.482.0525
3020 Kansas St. [EMAIL PROTECTED]
Oakland, CA 94602
-------------------------------------------------------
This sf.net email is sponsored by: viaVerio will pay you up to
$1,000 for every account that you consolidate with us.
http://ad.doubleclick.net/clk;4749864;7604308;v?
http://www.viaverio.com/consolidator/osdn.cfm
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.openprojects.net