mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2008-11-01, 02:30   #1
Richard Otter
 
Nov 2008

5 Posts
Default Start at Bootup option

I just installed v25.7 on a WinXP 32 machine and I have the option "Start at Bootup" checked. It's nice how it creates the Windows service for me. Lots easier than pre ver.2.5

I also installed on a Vista 64 bit machine, but the option there reads "Start at Login".
I tried re-running Prime95 as an Administrator (right click context menu), but the option didn't change.
Is this the expected behavior?
Richard Otter is offline   Reply With Quote
Old 2008-11-01, 12:13   #2
Jeff Gilchrist
 
Jeff Gilchrist's Avatar
 
Jun 2003
Ottawa, Canada

117310 Posts
Default

As you found it seems to work fine on Windows XP and below but I have not been able to get it to work on Vista 32bit or 64bit. I think it is a bug.
Jeff Gilchrist is offline   Reply With Quote
Old 2008-11-01, 12:43   #3
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

2·3·23·31 Posts
Default

I think it's because Vista doesn't allow services to interact with the desktop (e.g. with Prime95 you can't have an icon that you can use to open up Prime95 and do stuff). So Prime95 instead has an option to start when you log in.
Mini-Geek is offline   Reply With Quote
Old 2008-11-01, 17:28   #4
Richard Otter
 
Nov 2008

5 Posts
Default

Thanks. I just wanted to be sure it wasn't something I was doing.

I think the issue about a service interacting with the desktop, which I take to mean- displaying a window, can be overcome with inter-process communication. Microsoft has a knowledgebase article about it.
Richard Otter is offline   Reply With Quote
Old 2008-11-08, 13:24   #5
Freightyard
 
Nov 2008
San Luis Obispo CA

27 Posts
Default

I'm running Prime95 on a web server, but because it doesn't run as a service anymore a user must remain logged-in at all times which is very poor security practice.

I would be completely happy doing WITHOUT the GUI, and just checking prime.log to see what is going on. Perhaps one could use the GUI to get all the .ini files in order, then switch to using a service?

Ideally, IMHO, the Prime95 service would include a very small web server, thus, one could access it through a browser either locally or remote! :) Of course, one could utilize IIS for this, but not everyone has IIS installed.
Freightyard is offline   Reply With Quote
Old 2008-11-08, 17:57   #6
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

24·33·52 Posts
Default

Quote:
Originally Posted by Freightyard View Post
I'm running Prime95 on a web server, but because it doesn't run as a service anymore a user must remain logged-in at all times which is very poor security practice.
Log-in then, lock the computer (ALT-CTRL-DEL). I do this all the time around work.
Uncwilly is offline   Reply With Quote
Old 2008-11-09, 08:35   #7
Freightyard
 
Nov 2008
San Luis Obispo CA

27 Posts
Default

Quote:
Originally Posted by Uncwilly View Post
Log-in then, lock the computer (ALT-CTRL-DEL). I do this all the time around work.
Right, yes, actually my web server is a headless dual Xeon located in a data center so I access via Remote Desktop. Anytime I close Remote Desktop it automatically locks, so that's *pretty good*, but staying logged into the GUI does eat up resources which is undesirable.

I have always run Prime95 as a service but there is no 64-bit Windows Service version. I'd love to see that happen. I believe the proper way to implement it would be to have a separate Windows application that either watches the log files or uses Inter-Process Communication (i.e., named pipes or other) to communicate with the service. Or, just make it communicate via HTTP/HTML.
Freightyard is offline   Reply With Quote
Old 2009-02-07, 11:11   #8
em99010pepe
 
em99010pepe's Avatar
 
Sep 2004

2×5×283 Posts
Default

You guys can try

http://www.application-as-service.com/

it works on 64-bit Windows.

Carlos

Last fiddled with by em99010pepe on 2009-02-07 at 11:11
em99010pepe is offline   Reply With Quote
Old 2009-02-08, 03:31   #9
Cruelty
 
Cruelty's Avatar
 
May 2005

22×11×37 Posts
Default

I don't know if it works under Vista but at least it works under XP without the need for any third-party applications
link
Cruelty is offline   Reply With Quote
Old 2009-02-08, 03:32   #10
mdettweiler
A Sunny Moo
 
mdettweiler's Avatar
 
Aug 2007
USA (GMT-5)

3×2,083 Posts
Default

Quote:
Originally Posted by Cruelty View Post
I don't know if it works under Vista but at least it works under XP without the need for any third-party applications
link
I've used that process under Vista to run four LLRnet clients as a service. (Apparently the built-in service function didn't quite work right on Vista.) I presume it would work well for other applications such as mprime.
mdettweiler is offline   Reply With Quote
Old 2009-02-11, 04:18   #11
Freightyard
 
Nov 2008
San Luis Obispo CA

27 Posts
Default

This was solved (although the revision lags a couple iterations):

http://mersenneforum.org/showthread.php?t=11024
Freightyard is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Start at Bootup" option didn't work on Windows XP machine? ixfd64 Software 1 2014-12-31 17:14
Need help with Start At Bootup on XP ... petrw1 PrimeNet 4 2010-02-11 03:40
mprime -b cli option gone?!? koekie Software 4 2009-01-02 07:10
'Start at Bootup' grayed out rx7350 Software 1 2007-11-25 18:02
Problem with start at bootup asdf Software 3 2004-04-18 03:41

All times are UTC. The time now is 02:33.


Thu Dec 1 02:33:58 UTC 2022 up 105 days, 2 mins, 0 users, load averages: 1.34, 1.01, 0.89

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔