Recent Posts

Pages: 1 ... 3 4 [5] 6 7 ... 10
41
Developers / Re: PHP to execute sudo command
« Last post by posde on August 24, 2015, 11:43:19 pm »
sudo isn't allowed from php for everything.

Look at /etc/sudoers to understand what is possible, and what is not. In general, it makes sense to put a bash script into a well known place and use that for whatever is needed.
42
Developers / PHP to execute sudo command
« Last post by Govo on August 24, 2015, 10:38:21 pm »
Hi Folks

Working on a little project for dansguardian and squid3, mostly dansguardian,  but have ran into a problem,  is there away for PHP to execute sudo command.

I need to execute  /etc/init.d/dansguardian restart using PHP, I have seen the command in some php files in lmce-admin, but I just  can't get it to work. do I need to include some files belonging to LMCE?

Once I get pass this part my project will rolling, here is a quick video of what I have achieved so far

https://www.dropbox.com/sh/b4kwchpa153e6sr/AADbS964eH9DpuBLFCEKSON6a?dl=0

I have made some changes since this video..etc added in a delete button to remove blocked sites.

Any help would be great,
Govo
43
Installation issues / 12.04 31133/31187/31214
« Last post by pointman87 on August 24, 2015, 10:20:03 pm »
Hi, after an apt-get dist-upgrade and a reboot my MDs just halt at the terminal login prompt. After some digging i found that FirstBoot = false was missing from /etc/pluto.conf, preventing /etc/init.d/linuxmce from running. Adding it and reboot or manually running the init script got things going again.

Sorry for not having the exact update versions as it was some time since my last upgrade.

BR Daniel
44
Hi,

http://forum.linuxmce.org/index.php?topic=14084.0

This issue occured on various releases.
45
Users / Re: Stopwatch / timer in events?
« Last post by posde on August 23, 2015, 07:44:25 pm »
Although this is a fairly old topic, we had a feature request for this in trac.

While doing a LinuxMCE install on Cyprus the user requested a similar feature. And after thinking a bit about it, we found out, that this can be achieved with a dedicated egg timer device. The egg timer receives the device in question to be turned on, as well as the amount of time in seconds before it should be turned off. What is different from the use of Delay is, that if the event that started the egg timer (or different event that would extend the egg timer) happens, the egg timer gets extended and does not turn off after the first period of time.

If anyone is interested in testing this new device, please download http://deb.linuxmce.org/possy/eggtimer into /usr/pluto/bin, and add the Egg Timer device below your CORE.

Feedback is greatly appreciated.
46
Users / Re: Need some dedicated testers.
« Last post by maverick0815 on August 22, 2015, 02:35:20 pm »
They are tagged correctly. I remember tschak saying, They Wohle eventuelle Benachrichtigungen selectable by show, season, episode....something like that.
47
Developers / Re: Slow and steady ... moving from Trac to Gitlab
« Last post by tschak909 on August 22, 2015, 04:33:41 am »
Sweeet!  And thanks for your efforts! 

At work, we switched from Git/Trac to Git/Gitlab, and it's sooo much more of a productive environment. We've got hooks from certain projects into Jenkins for building RPM's 5 minutes after a commit, and that's sweet from a packaging point of view. Jenkins really rocks as well!  (BTW, there's a .deb builder plugin for Jenkins if that's of interest to you)

I have a small request of you and the core devs.  Gitlab represents a real opportunity to enable more people to get involved in LinuxMCE development and testing. In the past, I didn't want to have any form of SVN access;  I know enough to know I don't know enough about LMCE to event want any commit access (bull in a china shop syndrome). So, that limited me to filing tickets with diffs attached.

Gitlab changes all of that. The core devs can steward the main linuxmce project, and personal workspaces allow more novice folks like myself the opportunity to contribute through an isolated environment and merge requests. So, I would like to make the following request:

Could you folks create a wiki page with some example workflows that would enable folks like myself to contribute more, while minimizing the level of effort on the core devs to take advantage of what we do?

I'm thinking of example workflows like:
  • simple bug fix for existing code
  • significant bug fix for existing code or refactoring
  • simple new feature (new code)
  • significant new feature (majorly intrusive)

I think that giving us examples of how you want us to work would be good for us novices to learn, while making life easier for those already overcommitted core devs.   Maybe even a quick page on how issues should be filed might be good for standardizing and leveraging Gitlab's capabilities...

Just thought I'd put this out there for your consideration.

Thanks again for your hard work on this!  I'm sure it wasn't easy, but it will be worth it in the long run!

/Mike

A good post! Of course ,you're assuming we actually _have_ a workflow, but we don't....really....other than:

* File a ticket in trac
* assign your commits with Refs #1234 for that ticket
* make sure when you're done with it to close it, either with Fixes #1234, or by marking it closed or fixed. (depends on the ticket type).

Maybe we should... I dunno, what do you think, posde?

-Thom
48
Installation issues / Re: LMCE­ 1404­ 20150630062­730843 Nvidia Install Reboot Loop
« Last post by polly on August 21, 2015, 10:07:51 am »
Hey ...

iirc 1404 DVD install is not working atm.
Netinstall worked for me without any issues :-)

Cheers,
Jochen
49
Installation issues / LMCE­ 1404­ 20150630062­730843 Nvidia Install Reboot Loop
« Last post by huh on August 21, 2015, 06:40:33 am »
In observation of rules #1 and #2....

I installed the 14.04 20150630062­730843 snapshot tonight (on standard dual network setup) and everything seemed to work great, until it rebooted for the 2nd/3rd time and attempted to get nvidia drivers.

I'm transcribing from a recording on my phone, so bear with me with typos...

Code: [Select]
* Staring CheckAVWizard check_avwizard
/etc/X11/xorg.conf is missing.  Using video driver 'nvidia' for ....
*Installing nvidia driver this may take a few minutes . /usr/pluto/bin/nvidia-install.sh
* Starting AVWizard AVWizard_Run.sh

Then it attempts to pull the package, but fails on
Code: [Select]
Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main dkms all 2.2.0.3-1.1ubuntu5.14.04
404 Not round [IP: 91.189.91.13 80]
Faied to fetch...

It thinks it pulled the nvidia driver and says
Code: [Select]
Nvidia driver installation requires a reboot
Please stand by while your system is rebooted

I let it do this 3 times just to make sure it wasn't a fluke.

Is there an easy way to get it to bypass the nvidia install?  I really could do with a headless install, but am perfectly fine with the generic (non-nvidia) driver for what I'm using this for.
50
Developers / Re: Slow and steady ... moving from Trac to Gitlab
« Last post by polly on August 21, 2015, 05:06:33 am »
Haven't been testing it yet.  Soon...  You'll have 1000 tickets to act on when you get back ;)

J.

Jiiiha! .... ;-)
Pages: 1 ... 3 4 [5] 6 7 ... 10