Page: 1, 2  Next

smxi lightdm dm shutdown list - Now Working...?
VastOne
Status: Interested
Joined: 07 Jun 2012
Posts: 37
Reply Quote
Been using smxi for as long as I can remember, thanks for the best there is...

LightDM would never shut down properly via smxi until today. I looked in the script to see if it was added but did not see it..

Just trying to confirm it is fixed and not an anomaly ...

Thanks!

VastOne
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
please verify that the command: /etc/init.d/lighdm restart
and : /etc/init.d/lighdm stop
and : /etc/init.d/lighdm start

work.

If they do, I can add lightdm to the list of supported dm types, it doesn't include it, first time I've ever heard of it. Easy to add though.

Once you verify that it works I'll add support for it.

smxi first tries to get the default display manager, then loops through a list of known ones, then smxi will attempt to shutdown xorg itself if it can't find the actual dm in its list, so that working or not was what the problem was, I think.

So since lightdm was not on the list of defaults, what may have changed was that either the shutdown xorg command started working, or xorg was made aware that lightdm was the default dm.

However in all cases, only if the command via /etc/init.d/lightdm exists would the shutdown have worked reliably.

Pretty soon I'll have to add support for the new init system, upstart or whatever it's called, arch already switched to it i think, or is switching to it, can't remember.
Back to top
VastOne
Status: Interested
Joined: 07 Jun 2012
Posts: 37
Reply Quote
Confirmed that both

: /etc/init.d/lightdm stop

and

: /etc/init.d/lightdm start

work. I use a debian business card install on my systems and use LightDM after seeing how SLiM failed in so many ways on another distro. I believe Ubuntu uses LightDM now also...

Adding it will be a bonus...

Thank you for your prompt attention and detail, I appreciate it
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
slim is useless, agreed.

Added lightdm to default list of dms in sgfxi and smxi for start/ stop.

Maybe I'll add it also to the desktop installer section, might as well, in smxi.

slim I really cannot recommend, it's been weak for so long I think that project should probably quit and join one that actually works.
Back to top
VastOne
Status: Interested
Joined: 07 Jun 2012
Posts: 37
Reply Quote
Solid!

I would recommend LightDM also in the Desktop install portion.

thanks again...
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
entrance gdm kdm lightdm nodm slim wdm xdm

Are now the dm options in desktop install, just updated and added some, also added item to automatically detect for gdm3 and use that instead of gdm if gdm is requested.
Back to top
VastOne
Status: Interested
Joined: 07 Jun 2012
Posts: 37
Reply Quote
^ Nice... adding LightDm has made several ppl I know that use both it and smxi happy...

In the interest of complete testing, I did not initially see this request

: /etc/init.d/lightdm restart

as part of the test. I have now confirmed that it works also.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
In general, if something is missing, you can quite safely assume it never crossed my mind, or I was simply unaware of it, so any issues posted here will get attention.

I don't have time myself to actively track all options or issues, but I will try to respond to anything that is posted in these forums. Sometimes I will simply forget in the rush of daily events, so if something hasn't been fixed/handled in a month, you can assume either it wasn't practical or I forgot, or it is really hard and I am waiting to figure out a nice way to do it.
Back to top
VastOne
Status: Interested
Joined: 07 Jun 2012
Posts: 37
Reply Quote
^ Good to know... Honestly, if I had known about this forum (I should have looked a long time ago, my bad) I would have posted about it long ago.

Anything I come across I will post here and in return, should you need anything, consider me available.
Back to top
aus9
Status: Assistant
Joined: 21 Sep 2008
Posts: 358
Location: Australia
Reply Quote
VastOne

if you only need to login one user can I suggest you look at nodm

:: Code ::


apt-get install lightdm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libpython2.6
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  desktop-base gnome-themes-standard liblightdm-gobject-1-0 libxklavier16 lightdm-gtk-greeter
Suggested packages:
  gnome kde-standard xfce4 wmaker accountsservice
The following NEW packages will be installed:
  desktop-base gnome-themes-standard liblightdm-gobject-1-0 libxklavier16 lightdm lightdm-gtk-greeter
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.3 MB of archives.
After this operation, 18.9 MB of additional disk space will be used.
Do you want to continue [Y/n]? n
Abort.
root@sid:~# apt-get remove nodm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libpython2.6
Use 'apt-get autoremove' to remove it.
The following packages will be REMOVED:
  nodm
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 122 kB disk space will be freed.
Do you want to continue [Y/n]? n


its smaller

you tweak /etc/default/nodm to autologin your local user if interested
Back to top
Display posts from previous:   
Page: 1, 2  Next
All times are GMT - 8 Hours