Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: ylluminate on September 09, 2016, 04:59:04 AM
-
I have a scenario where I need to boot SME Server 9 into Xorg with Firefox executed upon boot to load a particular status page. The system is in a secure environment, so the user / security is not important in this case. What's the correct process for setting Xorg to start at normal runtime and then fire off an app like Firefox?
-
Why Firefox? Would a text based browser do the job showing a status page?
-
Sadly this is a graphical page for a device on the network for power management and needs a graphical display.
-
SME Server is headless by design, so you would have to find your way to get Xorg installed etc. Not trivial.
Why does SME Server have to show this status page? Any other device could browse to the IP and show it's status. A Raspberry PI connected to a monitor could do that too.
-
Installing Xorg isn't a problem. I'm rather experienced at *nix in general and can install the packages and configure X. Just looking for a quick "SME Server" way to do it vs just installing the packages and pushing it into the init runtime level, etc.
-
Well, https://wiki.contribs.org/SME_Server:Documentation:Developers_Manual could have the info you require...
Keep in mind that SME Server used runlevel 7 for starting services..
-
Can't you use something like SNMP ?
Sounds like you are using a sledgehammer to crack a nut.
Probably be simpler and easier to get a device that is properly network aware and properly managed.
B. Rgds
John
-
I have a scenario where I need to boot SME Server 9 into Xorg with Firefox executed upon boot to load a particular status page. The system is in a secure environment, so the user / security is not important in this case. What's the correct process for setting Xorg to start at normal runtime and then fire off an app like Firefox?
I would start telling us the whole story/picture.. IOW, tell us the problem, not your solution..
hacking SME to run firefox is not a smart idea