You are not logged in.

#1 2008-07-27 16:06:42

Egokrypt
Member
Registered: 2008-07-22
Posts: 7

[Solved] Dosbox keys all wrong

Hi.
I installed dosbox a few minutes back.

I am having two problems:

1) Dosbox does not start for a normal user. It says:

 
XDM Authorization key matches and existing client!Exit to error: Can't init SDL Couldn't open X11 Display

It starts only if I am root.

2) When i start dosbox as root, all the key bindings are absolutely wrong. My Enter key has been bound to 't' and my escape key hangs my machine. I cant even type exit.
I checked up the mapper.txt and found every key binding was screwed up, I corrected the mapper.txt and started dosbox with:

 dosbox -startmapper

The mapper config shows that every key is bound to the right one, but when i press exit in the mapper config, it takes me to the Z:> but all the keys are wrong again !

Has anyone else had this problem ? Is there a fix ?

Last edited by Egokrypt (2008-07-31 20:26:57)


AMD dual core 64x2 6000+
512MB Nvidia GeForce 8500GT
1 GB RAM
480GB Hard disk capacity

Offline

#2 2008-07-28 09:30:53

Egokrypt
Member
Registered: 2008-07-22
Posts: 7

Re: [Solved] Dosbox keys all wrong

Solved the 2nd problem.
Reconfigured all keys using the -startmapper argument and then used the config -writeconfig to generate a config file.

The reason why it was reading wrong keys was because in the config file, usescancodes was set to true. I turned it off, and now it works smooth. Now it looks like:

usescancodes=false

Still not fixed problem 1.


AMD dual core 64x2 6000+
512MB Nvidia GeForce 8500GT
1 GB RAM
480GB Hard disk capacity

Offline

#3 2008-07-31 20:26:37

Egokrypt
Member
Registered: 2008-07-22
Posts: 7

Re: [Solved] Dosbox keys all wrong

Done, solved the first one. Commented out the lines related to authentication in

/etc/X11/xdm/xdm-config

That did the trick.


AMD dual core 64x2 6000+
512MB Nvidia GeForce 8500GT
1 GB RAM
480GB Hard disk capacity

Offline

Board footer

Powered by FluxBB