RE: PXES + Terminal Services 2003

"Ben" <[email protected]> Wed, 31 Aug 2005 10:28:26 +1000
Newsgroups gmane.linux.pxes.devel
Message-ID <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAAC4AAAAAAAAAc9iELVBlh0u9eTqIaGoykgEAOMwfGf03eUWX/PpPgB3WXQAAAAAUFgAAEAAAAHkxnapuQyZKq0BEmIRG/[email protected]>
I had exactly the same problem.  To resolve the problem required some
significant modifications.  Because I did this some time ago I cannot
remember exactly everything but here what I can tell you.

 

- the supplied 2.6 kernel does include all the required modules for 'acpi',
the supplied 2.4 kernel does not.

- add the 'acpid' daemon and configure the 'rcS' to start it.

 

Add to 'rcS':

-------------------------------------------------------

 

# Enable acpid
if [ "$OSRELEASE" \> "2.6.0" -a -d /proc/acpi ]
then
        bootmsg 'Loading Power Button module.'
        modprobe button
        if [ -x /bin/acpid ] 
        then
                bootmsg 'Starting acpid to watch for Power Button press'
                /bin/acpid -c /etc/acpi/events/ -l /var/log/acpid.log
        fi
fi

 

-------------------------------------------------------

 

I think that's all it took.

 

After adding the 'acpid' you could modify the 'startx.tpl' or 'rdesktop.sh'
to poweroff on exit.

 

I also added a 'poweroff' option to the admin.cgi

 

Hope that helps.

 

Ben.

 

 

> -----Original Message-----

> From: [email protected] [mailto:pxes-devel-

> [email protected]] On Behalf Of Marcelo Renan Becher

> Sent: Monday, 29 August 2005 7:26 PM

> To: [email protected]

> Subject: [pxes-devel] PXES + Terminal Services 2003

> 

> Hello list,

> 

> I'm using PXES in thinclients that boot in a WTS2003.

> 

> How I can shutdown the clients, doing PXES down, when I logoff it?

> 

> The clients uses ATX Power Supply!!

> 

> Thankz,

> 

> --

> Marcelo Renan Becher

> Linux User: #296657

> 

> http://geomais.com.br/marcelo

> pMSN: [email protected]

> Skype: marcelod2.gmail.com

> Google Talk: marcelod2

> 

> 

> -------------------------------------------------------

> SF.Net email is Sponsored by the Better Software Conference & EXPO

> September 19-22, 2005 * San Francisco, CA * Development Lifecycle

> Practices

> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA

> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

> _______________________________________________

> pxes-devel mailing list

> [email protected]

> https://lists.sourceforge.net/lists/listinfo/pxes-devel