🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
14 messages
14 total messages Started by Magister Dixit Wed, 11 Aug 2004 20:04
Xnews running as service ?
#153552
Author: Magister Dixit
Date: Wed, 11 Aug 2004 20:04
9 lines
1287 bytes
Anyone have experienced running Xnews as service under Windows XP Pro ?
There are some freeware that can allow this, but I didn't try yet.

The reason is that I want Xnews to run all the time (download), but still 
allow family members to logout and login in their user acounts.

If there is another way to perform this, please tell me.

Thank you
Re: Xnews running as service ?
#153553
Author: SINNER
Date: Wed, 11 Aug 2004 20:23
20 lines
1838 bytes
* Magister Dixit Wrote in news.software.readers:

> Anyone have experienced running Xnews as service under Windows XP
> Pro ? There are some freeware that can allow this, but I didn't
> try yet. 
> 
> The reason is that I want Xnews to run all the time (download),
> but still allow family members to logout and login in their user
> acounts. 
> 

Use the switch user functionality in XP. If you have Xnews downloading 
and choose Start / Log Off and choose switch user Xnews will continue 
to run transparently to the other users.

They can log into their own accounts frrely and never see or interfere 
with your Xnews session.

-- 
David
Re: Xnews running as service ?
#153557
Author: Magister Dixit
Date: Wed, 11 Aug 2004 20:57
24 lines
1930 bytes
SINNER <me@privacy.net> wrote in 
news:Xns95429C9FA4E3DLouiscypherhellorg@140.99.99.130 in 
news.software.readers

> * Magister Dixit Wrote in news.software.readers:
> 
>> Anyone have experienced running Xnews as service under Windows XP
>> Pro ? There are some freeware that can allow this, but I didn't
>> try yet. 
>> 
>> The reason is that I want Xnews to run all the time (download),
>> but still allow family members to logout and login in their user
>> acounts. 
>> 
> 
> Use the switch user functionality in XP. If you have Xnews downloading 
> and choose Start / Log Off and choose switch user Xnews will continue 
> to run transparently to the other users.

Unfortunately, the swith user has its share of problems with other 
applicatoins and I disabled it.

I am looking for another way.
Re: Xnews running as service ?
#153560
Author: SINNER
Date: Wed, 11 Aug 2004 21:36
21 lines
1666 bytes
* Magister Dixit Wrote in news.software.readers:

> Unfortunately, the swith user has its share of problems with other 
> applicatoins and I disabled it.
> 
> I am looking for another way.

Your wish....

MS created a 'service wrapper' called SRVANY.EXE. 

http://support.microsoft.com/default.aspx?
scid=http://support.microsoft.com:80/support/kb/articles/q137/8/90.asp&
NoWebContent=1

or

http://tinyurl.com/agbj

-- 
David
Re: Xnews running as service ?
#153563
Author: Magister Dixit
Date: Wed, 11 Aug 2004 22:25
22 lines
1922 bytes
> MS created a 'service wrapper' called SRVANY.EXE. 
> 
> http://support.microsoft.com/default.aspx?
> scid=http://support.microsoft.com:80/support/kb/articles/q137/8/90.asp&
> NoWebContent=1
> 
> or
> 
> http://tinyurl.com/agbj
> 

Thanks for the link. Unfortunately, it seems srvany is only available with 
Windows server or past edition of Windows, or on additionnal commercial 
Resources Kit, but not with standard XP.

I could look around and probably find the utilities, but did you ever tried 
running Xnews as service ? Does it work ?

I tried FireDaemon an it *seems* to works, but Xnews runs invisible (only 
visible in the task manager) and I can't make it visible. Perhaps an 
undocumented Xnews command line switch can make it visible again ?
Re: Xnews running as service ?
#153565
Author: Guy
Date: Wed, 11 Aug 2004 23:24
40 lines
2512 bytes
Magister Dixit wrote:

> Thanks for the link. Unfortunately, it seems srvany is only
> available with Windows server or past edition of Windows, or on
> additionnal commercial Resources Kit, but not with standard XP.
> 

Windows Server 2003 Resource Kit Tools
   ...

The following tools are provided:
   ...

Srvany.exe: Applications as Services Utility
   ...

System Requirements
Supported Operating Systems: Windows Server 2003, Windows XP

30 MB of free disk space
Windows XP
Windows XP SP1
Windows Server 2003 family

<http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-4ae7-96ee-b18c4790cffd&displaylang=en>

Or <http://tinyurl.com/a32f>

If you do not want to do a complete installation try a 
Administrative Installation and extract the file from the image.

PROMPT> msiexec /a rktools.msi


-- 
Regards,
Guy

Xnews "XP" Icon Patcher Files
<http://xnews-icon-patchers.bebto.com/patcher.html>
Re: Xnews running as service ?
#153581
Author: Magister Dixit
Date: Thu, 12 Aug 2004 02:05
8 lines
1439 bytes
Guy <Use-Reply-To-Address-Header@[127.1]> wrote in
news:9542BB4D9E8282E284CEEC009E394A9D7@127.0.0.1 in
news.software.readers 

> http://www.microsoft.com/downloads/details.aspx?FamilyID=9d467a69-57ff-
> 4ae7-96ee-b18c4790cffd&displaylang=en 

Thanks a lot!
Re: Xnews running as service ?
#153592
Author: Magister Dixit
Date: Thu, 12 Aug 2004 03:15
24 lines
2411 bytes
I followed the instruction and successfully created a Xnews service that I 
can start and stop. I can see it in the Task Manager and Services MMC. 
However, there is a major problem running Xnews as a service.

If I set the service to run under local system with no desktop interaction 
Xnews service is totally hidden and can't be revealed. It does not close 
however when I logout and login into a new account (this what I want). 
Also, if Xnews service is started and I double-click the normal Xnews 
shortcut, I have two occurences of Xnews running at the same time (one 
under my account, the other under system authority).

If I set the service to run under local system with desktop interaction, 
Xnews can be seen and controled, but it automatically closes when I logout.

If I set the service to run under a user account, it is the same as running 
under local system, except that double occurences of Xnews in memory are 
not possible under the current account. Still, I can't see and control the 
Xnews service.

So, either Xnews service can be seen but close when I logout, either it is 
permanent but can't be seen or controlled.

Any idea ?
Re: Xnews running as service ?
#153594
Author: Mike Yetto
Date: Thu, 12 Aug 2004 03:28
21 lines
2063 bytes
While talking to the fat hobbitses Magister Dixit said...

> So, either Xnews service can be seen but close when I logout,
> either it is permanent but can't be seen or controlled.
> 
> Any idea ?
> 
> 

The one that occurs to me is that since Xnews wasn't designed as a 
service it won't behave like a normal service.  If you want headers 
to be constantly checked and then read with any account why not try 
running a news server/proxy as a service and connecting Xnews to 
that.

    	Mike "Hamster, anyone?" Yetto
-- 
"There is danger from all men. The only maxim of a free
government ought to be to trust no man living with power to
endanger the public liberty."
    - John Adams 
Re: Xnews running as service ?
#153596
Author: Magister Dixit
Date: Thu, 12 Aug 2004 04:17
45 lines
3524 bytes
Mike Yetto <myetto1@nycap.invalid> wrote in 
news:Xns9542EEDA7FB22uniquelyme@individual.net in news.software.readers

> While talking to the fat hobbitses Magister Dixit said...
> 
>> So, either Xnews service can be seen but close when I logout,
>> either it is permanent but can't be seen or controlled.
>> 
>> Any idea ?
>> 
>> 
> 
> The one that occurs to me is that since Xnews wasn't designed as a 
> service it won't behave like a normal service.  If you want headers 
> to be constantly checked and then read with any account why not try 
> running a news server/proxy as a service and connecting Xnews to 
> that.


That's not exactly what I want. I use and like Xnews for background binary 
download, but the computer on which Xnews runs has many accounts for family 
members. When my daugther log out from my account and login in hers when 
I'm not in front of my computer, I would like Xnews to continue to download 
in background nevertheless. When I would log back, I would see Xnews back 
still opened and still downloading.

The Fast Switching feature in XP would allow this, but this feature is 
known to generates some conflicts with other  programs, protocol and 
hardware, so I disabled it. (for instance, when Video memory is shared with 
current RAM (Video-on-board), each instance of Fast Switching requires its 
own RAM. So on my computer, each time a user fast-switch, there are 64 RAM 
gone only for a duplicate of memory video... which eventually causes 
Windows to crash).

Back to the topic of running Xnews as a service, MS specifically states 
that transforming any Win32 GUI into a service may cause problem. Normal 
Win32 application are usually coded to close when a user logs off. A Win32 
programs that would be "servicable" has rather a kernel that ignores 
Windows calls to exit when a user logs off and a GUI interface to control 
directly that ever-running kernel.

True, Xnews wasn't written with service or multiple users accounts in mind, 
but since Luu has stopped development and I don't want / find alternatives 
for Xnews, I'm trying to tweak the veteran but still excellent Xnews reader 
to achieve what I need.
Re: Xnews running as service ?
#153628
Author: Mike Yetto
Date: Thu, 12 Aug 2004 15:11
18 lines
2239 bytes
While talking to the fat hobbitses Magister Dixit said...

> True, Xnews wasn't written with service or multiple users
> accounts in mind, but since Luu has stopped development and I
> don't want / find alternatives for Xnews, I'm trying to tweak
> the veteran but still excellent Xnews reader to achieve what I
> need. 
> 

If you feel you must do this with Xnews then I'll just express this 
/opinion/: You can't get there from here.

    	Mike "'Burt and I' on system extensions" Yetto 
-- 
"There is danger from all men. The only maxim of a free
government ought to be to trust no man living with power to
endanger the public liberty."
    - John Adams 
Re: Xnews running as service ?
#153631
Author: Magister Dixit
Date: Thu, 12 Aug 2004 16:10
27 lines
2668 bytes
Mike Yetto <myetto1@nycap.invalid> wrote in 
news:Xns954371EA3A4B8uniquelyme@individual.net in news.software.readers

>> True, Xnews wasn't written with service or multiple users
>> accounts in mind, but since Luu has stopped development and I
>> don't want / find alternatives for Xnews, I'm trying to tweak
>> the veteran but still excellent Xnews reader to achieve what I
>> need. 
>> 
> 
> If you feel you must do this with Xnews then I'll just express this 
> /opinion/: You can't get there from here.


Well, I tried, it didn't hurt much to try and I now know this is not 
possible with actual code. :-) 

Having the possibility to write my own newsreader, a server wrapping would 
be something I would add, but since I can hardly program a "Hello World" 
program, I think I'll stay with what I have (and which is very good) :-)

There are other alternatives to my problem: use the XP fast switching 
feature which however would requires me to buy a video card (since I have 
on-board VGA only) 2) have a single account for all family members, 3) have 
a low-end dedicated computer running all server-like software.

Thanks for all input.
Re: Xnews running as service ?
#153633
Author: Mike Yetto
Date: Thu, 12 Aug 2004 16:30
15 lines
2167 bytes
While talking to the fat hobbitses Magister Dixit said...

> Well, I tried, it didn't hurt much to try and I now know this is
> not possible with actual code.

It was an interesting attempt, but don't give up on the idea of 
continuing with Xnews for standard Usenet access and using a grabber 
style of news reader for pulling specific binaries in the background.

    	Mike "how is an exercise for the reader" Yetto
-- 
"There is danger from all men. The only maxim of a free
government ought to be to trust no man living with power to
endanger the public liberty."
    - John Adams 
Re: Xnews running as service ?
#153645
Author: Magister Dixit
Date: Thu, 12 Aug 2004 18:56
13 lines
2156 bytes
Mike Yetto <myetto1@nycap.invalid> wrote in 
news:Xns95437F480A468uniquelyme@individual.net in news.software.readers

> While talking to the fat hobbitses Magister Dixit said...
> 
>> Well, I tried, it didn't hurt much to try and I now know this is
>> not possible with actual code.
> 
> It was an interesting attempt, but don't give up on the idea of 
> continuing with Xnews for standard Usenet access and using a grabber 
> style of news reader for pulling specific binaries in the background.

In short: I tried and hate most newsgrabbers. I love Xnews ;-)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads