Hi everyone,

First off I'm not part of the list so please be kind enough and CC me in
the replies to this thread. I will attempt to keep up via the archives in
the web, but I don't know of a searchable archive so it's a little
challenging.

I am setting up a kiosk system based partly on the Kiosk-HOWTO by Gene
Wilburn <[EMAIL PROTECTED]>. I have already gotten this to work with XFree86
3.3.6 on some other machines. The system has a special runlevel (in my
case 5) set where there is an init.d script that, as root, runs "su -c
/usr/bin/X11/startx - specialuser", where specialuser is a valid user that
is not root, with a valid home directory et al. This allows for the system
to go straight to X as specialuser, where perhaps a browser is loaded
automatically or something like that.

With XFree86 3.3.6, I customized the file /etc/X11/Xserver so that the
second line was "Anybody", to allow for the user that was not logged in
(specialuser, in the example above). This worked really well.

Now I'm working on a new kiosk setup and have hardware that benefits
significantly from XFree86 4.1.0. Everything is working fine (ie: logged
in as specialuser in the console I can run "startx" or "startxfce" to
launch X and Xfce).

However, when run from an init script with nobody logged on as defined
above, X bombs out with the error:

X: user not authorized to run the X server, aborting.

I have already tried working out the changing of ownerships of certain
/dev files (ie: /dev/vc/{0,1}) but they don't work. I am under the
impression that X looks for the user's TTY using the /var/log/utmp file,
which of course at the point of the script being run, does not have any
references of any user logged on.

I have tried creating an /etc/X11/Xserver but it is not honored by XFree86
4.1.0 anymore, and cannot find any information on how to replicate the
file's functions in 3.3.6 with the new version.

I hope those in the list who are infinitely more knowledgeable at XFree86
than I can help me out.

Thank you very much in advance.

 --> Jijo

--
Federico Sevilla III  :: [EMAIL PROTECTED]
Network Administrator :: The Leather Collection, Inc.
GnuPG Key: <http://jijo.leathercollection.ph/jijo.gpg>

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to