Re: [gdm-list] Want blank screen to scribble on



1) as root run

$ mkdir /etc/X11/sessions
Inside that directory put a file named kiosk.desktop with these contents:

[Desktop Entry]
Name=Kiosk Program
Exec=kiosk-program
TryExec=kiosk-program
(where kiosk-program is the one program you want to run)

2) then run
$ useradd kioskuser
$ passwd kioskuser (and give it a password)

3) at the login screen, click the kioskuser from the userlist.

Before typing the password click on the "Kiosk Program" session from the session list

4) type the password and login
5) once the kiosk program is started, kill the X server to logout
6) in the [daemon] section of the gdm config file put:

AutomaticLoginEnable=true
AutomaticLogin=kioskuser

7) reboot and confirm the kiosk program is started automatically at boot up.

Once that's working, if you want to automate this can skip the interactive login step 3, by writing out the /var/lib/AccountsService/users/kioskuser file yourself.

--Ray



On Fri, Aug 9, 2013 at 4:11 PM, Paul D. DeRocco <pderocco ix netcom com> wrote:
I'm doing an embedded project using a Gumstix (Yocto build). Currently, I'm
using the XFCE desktop, but what I really want is no desktop at all, just a
blank screen that GTK or PyGTK apps launched from a command line or a
startup script can have complete control over. Currently, they display on
top of the logon screen, but I'd like to strip out as much as possible.

Is this something that's easy to do, without becoming an expert on GDM? If I
stop GDM, then the graphic screen shuts down entirely, and there's nothing
for my apps to draw on at all. Is the proper approach to create a "null
greeter" that doesn't do anything? (I naively tried setting
"greeter=/bin/true" in the [daemon] section of gdm.conf, but that didn't do
anything.) Or is there an easy way to get the graphical screen started up
without the rest of GDM?

This sounds like it should be easy, for someone who knows how it all works.

--

Ciao,               Paul D. DeRocco
Paul                mailto:pderocco ix netcom com


_______________________________________________
gdm-list mailing list
gdm-list gnome org
https://mail.gnome.org/mailman/listinfo/gdm-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]