Re: [SlimDevices: Unix] LMS stop/start/restart on Ubuntu 16.04 LTS - how to do it without root password?

2017-07-11 Thread paul-
For what it's worth, debian/ubuntu is now systemd This is all I have in my lms.service, systemd doesn't care if lms restarts itself. Code: [Unit] Description=Logitech Media Server Daemon After=network-online.target mnt-media.mount Wants=network-online.target

Re: [SlimDevices: Unix] LMS stop/start/restart on Ubuntu 16.04 LTS - how to do it without root password?

2017-07-11 Thread Michael Herger
Linux.pm and Debian.pm do not redefine canRestartServer Oh, you're right. On Debian the --norestart startup parameter is applied, because there's the _safe watchguard. I guess that could be improved... -- Michael ___ unix mailing list

Re: [SlimDevices: Unix] LMS stop/start/restart on Ubuntu 16.04 LTS - how to do it without root password?

2017-07-11 Thread paul-
> > It's not a preference set in the prefs file, but a decision taken at > runtime. Unix is the mother of Linux and Debian etc. The method would be > > different in any one of them. > Linux.pm and Debian.pm do not redefine canRestartServer

Re: [SlimDevices: Unix] LMS stop/start/restart on Ubuntu 16.04 LTS - how to do it without root password?

2017-07-11 Thread Michael Herger
Unix.pm should have set canRestartServer to 1. But if something turned that off, then you won't see it. Edit your server.prefs to be sure this is still set to 1 It's not a preference set in the prefs file, but a decision taken at runtime. Unix is the mother of Linux and Debian etc. The

Re: [SlimDevices: Unix] LMS stop/start/restart on Ubuntu 16.04 LTS - how to do it without root password?

2017-07-11 Thread paul-
/prefs/server.prefs I just ran a test on my system. having canRestartServer: 0 in the prefs doesn't stop the server from restating itself. There is also a command line switch --norestart. You might take a look at the systemd service configuration, and make sure that it is not adding

Re: [SlimDevices: Unix] LMS stop/start/restart on Ubuntu 16.04 LTS - how to do it without root password?

2017-07-11 Thread bobertuk
paul- wrote: > Unix.pm should have set canRestartServer to 1. But if something turned > that off, then you won't see it. > > Edit your server.prefs to be sure this is still set to 1 I'm not home at the moment so can't check. Is unix.pm and server.prefs part of the LMS installation? 1 x

Re: [SlimDevices: Unix] LMS stop/start/restart on Ubuntu 16.04 LTS - how to do it without root password?

2017-07-11 Thread paul-
Unix.pm should have set canRestartServer to 1. But if something turned that off, then you won't see it. Edit your server.prefs to be sure this is still set to 1 paul-'s Profile:

Re: [SlimDevices: Unix] LMS stop/start/restart on Ubuntu 16.04 LTS - how to do it without root password?

2017-07-11 Thread Michael Herger
LMS never prompts for a restart after installing plugins for me on a Pi and hasn't for years.I am pretty sure it used to when I was running a Squeezeplug but it stopped offering a restart at some point while I was still using the Squeezeplug. It depends on the Linux flavour you're using. Maybe

Re: [SlimDevices: Unix] LMS stop/start/restart on Ubuntu 16.04 LTS - how to do it without root password?

2017-07-11 Thread slartibartfast
mherger wrote: > > I'm using the same setup, LMS restarts itself just fine. I am running > > from the git source code, but that shouldn't make a difference. > > It might be related to the Custom.pm changes I applied. Would have to > look them up in detail... > > -- > > Michael LMS never

Re: [SlimDevices: Unix] Squeezelite newbie question

2017-07-11 Thread patrick31698
Schade :-( patrick31698's Profile: http://forums.slimdevices.com/member.php?userid=67060 View this thread: http://forums.slimdevices.com/showthread.php?t=107641 ___ unix mailing

Re: [SlimDevices: Unix] LMS stop/start/restart on Ubuntu 16.04 LTS - how to do it without root password?

2017-07-11 Thread Michael Herger
I'm using the same setup, LMS restarts itself just fine. I am running from the git source code, but that shouldn't make a difference. It might be related to the Custom.pm changes I applied. Would have to look them up in detail... -- Michael ___

Re: [SlimDevices: Unix] LMS stop/start/restart on Ubuntu 16.04 LTS - how to do it without root password?

2017-07-11 Thread paul-
I'm using the same setup, LMS restarts itself just fine. I am running from the git source code, but that shouldn't make a difference. paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858 View this

Re: [SlimDevices: Unix] LMS stop/start/restart on Ubuntu 16.04 LTS - how to do it without root password?

2017-07-11 Thread kidstypike
bobertuk wrote: > With Ubuntu it always says LMS will need to be restarted but never > prompts for a restart. It's been that way for as long as I can remember > and it's been that way, for me at least, on all the other flavours of > Linux that I've tried. > > Edit... > Windows has always

Re: [SlimDevices: Unix] Announce piCorePlayer 3.20

2017-07-11 Thread Jeff07971
ralphy wrote: > Not sure why it doesn't work off of the html root, but if you put the > Pictures folder inside images it should work. > > http://PCP_IP_Adress/images/Pictures/test.jpg Thanks Ralphy I tried that and it did work, I retried the original way and that did work also. What made me

Re: [SlimDevices: Unix] LMS stop/start/restart on Ubuntu 16.04 LTS - how to do it without root password?

2017-07-11 Thread bobertuk
mherger wrote: > > Yeah I understand that. I want to restart LMS without needing any > > password. I know it's possible but can't figure it out. > > Doesn't LMS give you the restart prompt after updating the plugins? > > -- > > Michael With Ubuntu it always says LMS will need to be

Re: [SlimDevices: Unix] Announce piCorePlayer 3.20

2017-07-11 Thread ralphy
Jeff07971 wrote: > Hi All > > I'd like to use the http server on Pcp to serve pictures to a jivelite > instance for a "Picture Screensaver" > I have a directory on a SATA drive (which also holds music for LMS) to > hold the pictures and "picture.lst" > I have symlinked /mnt/storage/pictures

Re: [SlimDevices: Unix] LMS stop/start/restart on Ubuntu 16.04 LTS - how to do it without root password?

2017-07-11 Thread kidstypike
mherger wrote: > > Yeah I understand that. I want to restart LMS without needing any > > password. I know it's possible but can't figure it out. > > Doesn't LMS give you the restart prompt after updating the plugins? > > -- > > Michael Funny you should ask that, I've noticed this *last few

Re: [SlimDevices: Unix] LMS stop/start/restart on Ubuntu 16.04 LTS - how to do it without root password?

2017-07-11 Thread Michael Herger
Yeah I understand that. I want to restart LMS without needing any password. I know it's possible but can't figure it out. Doesn't LMS give you the restart prompt after updating the plugins? -- Michael ___ unix mailing list

Re: [SlimDevices: Unix] iQAudio DAC+ "crashes" sometimes after player has been switched off and on again

2017-07-11 Thread schup011
Thanks, will do. I also discovered that the two additional GPIO pins I had connected are not needed. So I will first disconnect those, then test. Afterwards, if it is still there, I will power the display completely separately, and try again.

Re: [SlimDevices: Unix] LMS stop/start/restart on Ubuntu 16.04 LTS - how to do it without root password?

2017-07-11 Thread Jeff07971
https://unix.stackexchange.com/questions/18830/how-to-run-a-specific-program-as-root-without-a-password-prompt In sudoers file MYUSERNAME ALL = NOPASSWD: /path/to/my/program *Players:* SliMP3,Squeezebox3 x3,Receiver,SqueezePlayer,PiCorePlayer x3,Wandboard *Server:* LMS Version: 7.9.0 -

Re: [SlimDevices: Unix] LMS stop/start/restart on Ubuntu 16.04 LTS - how to do it without root password?

2017-07-11 Thread bobertuk
Yeah I understand that. I want to restart LMS without needing any password. I know it's possible but can't figure it out. 1 x Touch 1 x Radio 1 x Boom 1 x Intel- NUC server/player running LMS 7.91 on Ubuntu 16.04 1 X Odroid-XU4 server/player running LMS 7.91 on Ubuntu 16.04 WaveIO USB into

Re: [SlimDevices: Unix] LMS stop/start/restart on Ubuntu 16.04 LTS - how to do it without root password?

2017-07-11 Thread drmatt
Your user account would normally already be in sudoers file after an Ubuntu install so you should be able to do "sudo service LMS restart" and it will prompt for *your* password not root's. -Transcoded from Matt's brain by Tapatalk- -- Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP

Re: [SlimDevices: Unix] Announce piCorePlayer 3.20

2017-07-11 Thread Jeff07971
Hi All I'd like to use the http server on Pcp to serve pictures to a jivelite instance for a "Picture Screensaver" I have a directory on a SATA drive (which also holds music for LMS) to hold the pictures and "picture.lst" I have symlinked /mnt/storage/pictures (the SATA mountpoint/picture

[SlimDevices: Unix] LMS stop/start/restart on Ubuntu 16.04 LTS - how to do it without root password?

2017-07-11 Thread bobertuk
I've just set up LMS on Ubuntu 16.04 LTS (on an Intel NUC) and I'm trying to get LMS to restart after installing plugins. I've been using... service logitechmediaserver restart which works fine but it insists on requiring the root password. Is there any way of stop/start/restart LMS without

Re: [SlimDevices: Unix] iQAudio DAC+ "crashes" sometimes after player has been switched off and on again

2017-07-11 Thread Man in a van
schup011 wrote: > No good news. > > Capacitor in between DAC and display power did not work at all (DAC gave > no output). Removed it, got audio again, but with the above described > issue. > > Then I put several capacitors at the 5V power input of the Raspberry Pi. > No change. > > How is

Re: [SlimDevices: Unix] Squeezelite newbie question

2017-07-11 Thread Michael Herger
I would like to use SaverSwitcher bur i find no way configuring it. Is it still working on recent pCP ? All i found about SaverSwitcher is quite old. Are you talking about the SaverSwitcher plugin in LMS? That does only support the old players, like Boom, Classic, Transporter. Another