Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: arcadoss on December 19, 2011, 08:22:24 AM

Title: Multiple X sessions
Post by: arcadoss on December 19, 2011, 08:22:24 AM
Hi there,

I'm trying to remaster TC 4.0.2. I want to pass the number of users throught the kernel options and automatically run multiple X sessions after boot (each one on different virtual terminal and started by different user). I've managed with creation of 'inittab' file during startup, but I'm stuck with multiple X sessions.
I need that terminals with X sessions were the only available ones. I've created 'xorg-xinit' extension which contains 'xinit' and 'startx'. The 'startx' file in attachement contains Xvesa invocation for user0. But xinit crushes with "XFree86_VT property unexpectedly has 0 items instead of 1" message. I've looked into xinit source but it wasn't helped me.

Is there is any other way to run multiple X sessions or make xinit work properly?
Title: Re: Multiple X sessions
Post by: curaga on December 19, 2011, 09:39:51 AM
Does your .xinitrc have executable permissions, and the #!/bin/sh shebang? Perhaps you need to give Xvesa the tty argument to force it to the specific tty?
Title: Re: Multiple X sessions
Post by: arcadoss on December 19, 2011, 10:15:15 AM
Yes .xinitrc is executable. I've tried to specify tty manually but there is no changes. Also I've found errorneous -I option in previous X invocation.
Title: Re: Multiple X sessions
Post by: arcadoss on December 19, 2011, 10:26:01 AM
Everyting works fine when I'm using default TC 'startx' script, modified 'waitforX' (I've added DISPLAY env variable support to it), autologin to text terminals and startx command in '$HOME/.profile'. But I don't know how to get rid of opened text terminals.
Title: Re: Multiple X sessions
Post by: curaga on December 19, 2011, 10:44:25 AM
exec startx?