Hot answers tagged lightdm
I Googled/emailed around a bit and got these two commands. To lock the screen: xflock4 To activate user switching: gdmflexiserver For Lightdm, this file resides in a strange spot (at least on Arch Linux): /usr/lib/lightdm/lightdm/gdmflexiserver I merged these two into XFCE's logout button dialog, in case anyone's interested, so the patch is ...
It depends on your configuration: you can have X-window Server started by itself and then the Display Manager process or Display Manager could start the X-window server. I have X server started by kdm in OpenSuse 12.1: kdm(4655)─┬─Xorg(4671) └─kdm(4698)───startkde(4800)─┬─gpg-agent(4877) ├─kwrapper4(4977) ...
If you want it to run after you login (which is how I read the title of your question), search for Startup Application in Unity and add your service there. If you are using the older desktop of Ubuntu Classic you should have something like that in the menu System Tools → Preferences → Startup Applications
Instead of having the notifications occur in pam_exec, you could have pam_exec write to a file (like you are, with /tmp/pam_output), and have a separate daemon executed by lightdm before the user logs in, which monitors /tmp/pam_output and pops up a note when it sees new output. The background process run by lightdm would have the X environment and X11 ...
Press Ctrl+Alt+F1 to switch to a different virtual console. You will have a text mode login prompt. Once you've done your repairs, you can switch back to the virtual console with the X window display by pressing Ctrl+Alt+F7. If you want to have several terminals, you get 6 virtual consoles with a login prompt by default: press Ctrl+Alt+F2, etc.
For your first question, it typically depends on your session, i.e. the file in your example is not necessarily sufficient as it doesn't start your WM/DE. Normally ~/.xsession or ~/.xinitrc start the whole environment and are not only used to automatically launch some programs, i.e. they should contain a line like exec x-window-manager but the global ...
The display manager passes control to your desktop session by running a program. All you have to do to return control is have your desktop session terminate by calling exit. For example, on my Fedora system, the display manager runs /etc/X11/xinit/Xsession, which starts the desktop session manager. For shutdown? Terminate all the processes you started ...
You can always reconfigure lightdm and check settings or loads defaults, like this: sudo dpkg-reconfigure lightdm EDIT If you don't have trouble to start lightdm manually, maybe there is a problem with your PATH on boot. Check content of file /etc/X11/default-display-manager. If only entry is lightdm, change this to /usr/sbin/lightdm. sudo echo ...
[The ArchWiki looks dead currently, so I don't know what is contained in the instructions you linked to.] To change the looks of LightDM, you need to install a theme and configure it. This page suggests that the relevant Arch packages might be lightdm-unity-greeter or lightdm-webkit-greeter.
Only top voted, non community-wiki answers of a minimum length are eligible