<div dir="ltr"><div><div><div>1) as root run<br><div><br>$ mkdir /etc/X11/sessions<br></div><div>Inside that directory put a file named kiosk.desktop with these contents:<br><br></div><div>[Desktop Entry]<br></div><div>Name=Kiosk Program<br>
</div><div>Exec=kiosk-program<br></div>TryExec=kiosk-program<br>(where kiosk-program is the one program you want to run)<br><br></div><div>2) then run <br></div><div>$ useradd kioskuser<br></div><div>$ passwd kioskuser (and give it a password)<br>
</div><br></div></div><div>3) at the login screen, click the kioskuser from the userlist.<br><br>Before typing the password click on the "Kiosk Program" session from the session list<br><br></div><div>4) type the password and login<br>
</div><div>5) once the kiosk program is started, kill the X server to logout<br>6) in the [daemon] section of the gdm config file put:<br><br>AutomaticLoginEnable=true<br>AutomaticLogin=kioskuser<br><br></div><div>7) reboot and confirm the kiosk program is started automatically at boot up.<br>
</div><div><br></div><div>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.<br><br></div><div>--Ray<br>
</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Aug 9, 2013 at 4:11 PM, Paul D. DeRocco <span dir="ltr"><<a href="mailto:pderocco@ix.netcom.com" target="_blank">pderocco@ix.netcom.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm doing an embedded project using a Gumstix (Yocto build). Currently, I'm<br>
using the XFCE desktop, but what I really want is no desktop at all, just a<br>
blank screen that GTK or PyGTK apps launched from a command line or a<br>
startup script can have complete control over. Currently, they display on<br>
top of the logon screen, but I'd like to strip out as much as possible.<br>
<br>
Is this something that's easy to do, without becoming an expert on GDM? If I<br>
stop GDM, then the graphic screen shuts down entirely, and there's nothing<br>
for my apps to draw on at all. Is the proper approach to create a "null<br>
greeter" that doesn't do anything? (I naively tried setting<br>
"greeter=/bin/true" in the [daemon] section of gdm.conf, but that didn't do<br>
anything.) Or is there an easy way to get the graphical screen started up<br>
without the rest of GDM?<br>
<br>
This sounds like it should be easy, for someone who knows how it all works.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
<br>
Ciao, Paul D. DeRocco<br>
Paul mailto:<a href="mailto:pderocco@ix.netcom.com">pderocco@ix.netcom.com</a><br>
<br>
<br>
_______________________________________________<br>
gdm-list mailing list<br>
<a href="mailto:gdm-list@gnome.org">gdm-list@gnome.org</a><br>
<a href="https://mail.gnome.org/mailman/listinfo/gdm-list" target="_blank">https://mail.gnome.org/mailman/listinfo/gdm-list</a><br>
</font></span></blockquote></div><br></div>