Registered Member
|
Hi,
I'm running Kubuntu 11.10 with KDE 4.7.4. Here is what I want to accomplish: When the system boots up, it should display the default login window and wait for 10 seconds. If no login attempt is made within those 10 seconds, it should auto login a predefined user without asking for password. I've got this part working. Now what I want to do is have this auto logged in user operate in kiosk mode. As soon as the autologin occurs, a predefined application should start up (e.g chrome browser) and the user should not be allowed to start any other app or do anything else except browse the internet. When chrome is closed, the user should be logged out automatically. Can someone explain how this can be done? thanks for your help Dhoti |
Administrator
|
The best way to do this would be to configure a minimal session which starts the application(s) you desire it to use.
Otherwise, you could disable the Autostart of Plasma, and have it autostart the desired application instead.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Thank you for your reply. I like your suggestion of disabling plasma autostart. I've googled for it but could not find out how to do it. Can you give me some ideas on how to do this? thanks Dhoti |
Administrator
|
You need to create a file named "plasma-desktop.desktop" with the following contents in ~/.local/share/autostart or edit the file in /usr/share/autostart/
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
I'm afraid that did not work. I even tried renaming autostart to Autostart. No luck. If I made the changes to /usr/share/autostart wouldn't that affect all users? I want this to have an effect on only one user. Here is my log: mcuser@kubuntu-hp:~/.local/share/autostart$ pwd /home/mcuser/.local/share/autostart mcuser@kubuntu-hp:~/.local/share/autostart$ ls -l total 4 -rw-r--r-- 1 mcuser users 29 2012-02-13 20:26 plasma-desktop.desktop mcuser@kubuntu-hp:~/.local/share/autostart$ cat plasma-desktop.desktop [Desktop Entry] Hidden=true mcuser@kubuntu-hp:~/.local/share/autostart$ Also, once I successfully stop the desktop being displayed, where do I set the name of my application which should get launched in place of the plasma desktop? Thank you so much for your help. Dhoti |
Administrator
|
Sorry, it should be ~/.config/autostart not ~/.local/share/autostart
If you simply place a copy of the applications *.desktop file (which you can drag from the Kickoff menu) in ~/.config/autostart it should be autostarted instead.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]