Re: Problem after installing SP2 for Windows 2008

View: New views
5 Messages — Rating Filter:   Alert me  

Re: Problem after installing SP2 for Windows 2008

by Markus Hillenbrand :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

> Can anyone using TS against 2008SP2 confirm that the folder
> /root/.rdesktop actually exists? I see no trace of it connecting to
> lower server versions.

Every time a Thinstation with rdesktop 1.6 connects to a Windows Server
2008, it will create a license file in /root/.rdesktop. The directory
will exist after the first successful connection to Win2008. The second
attempt will fail due to the existence of a license file.

On our full Linux workstations, I have created scripts that will delete
the license file before calling the rdesktop binary:

----
#!/bin/bash

HOSTNAME=$(hostname -s)
LICENCE="$HOME/.rdesktop/licence.$HOSTNAME"

if [ -e $LICENCE ]; then
   rm $LICENCE
fi

rdesktop ...
----

Is it possible to insert such a script into Thinstation (2.4 in our
case) somewhere?


Markus


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Thinstation-general mailing list
Thinstation-general@...
https://lists.sourceforge.net/lists/listinfo/thinstation-general

smime.p7s (8K) Download Attachment

Re: Problem after installing SP2 for Windows 2008

by TrevorB :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Quoting Markus Hillenbrand <hillenbr@...>:

> Hi,
>
>> Can anyone using TS against 2008SP2 confirm that the folder
>> /root/.rdesktop actually exists? I see no trace of it connecting to
>> lower server versions.
>
> Every time a Thinstation with rdesktop 1.6 connects to a Windows Server
> 2008, it will create a license file in /root/.rdesktop. The directory
> will exist after the first successful connection to Win2008. The second
> attempt will fail due to the existence of a license file.
>
> On our full Linux workstations, I have created scripts that will delete
> the license file before calling the rdesktop binary:
>
> ----
> #!/bin/bash
>
> HOSTNAME=$(hostname -s)
> LICENCE="$HOME/.rdesktop/licence.$HOSTNAME"
>
> if [ -e $LICENCE ]; then
>    rm $LICENCE
> fi
>
> rdesktop ...
> ----
>
> Is it possible to insert such a script into Thinstation (2.4 in our
> case) somewhere?

Sure.

You can create a packages/rdesktop/etc/init.d/rdesktop.init to  
initialise rdesktop and add a symlink of  
packages/rdesktop/etc/rc5.d/S10rdesktop.init point at it.

Look at the ssh package as an example.

Trevor B
>
>
> Markus
>



Trevor B
+-------
Thinstation Developer
http://thinstation.org



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Thinstation-general mailing list
Thinstation-general@...
https://lists.sourceforge.net/lists/listinfo/thinstation-general

Re: Problem after installing SP2 for Windows 2008

by Markus Hillenbrand :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

thanks for the hint. I have managed to update the rdesktop package for
Windows Server 2008 in the following way:

vi packages/rdesktop/etc/init.d/rdesktop.init (see below)
mkdir packages/rdesktop/etc/rc5.d
cd packages/rdesktop/etc/rc5.d
ln -s ../init.d/rdesktop.init S10rdesktop.init


Markus

--- FILE: rdesktop.init ---

#! /bin/sh

. /etc/thinstation.global

case "$1" in
   init)
       if ! pkg_initialized $PACKAGE; then
           touch $HOME/.rdesktop # prevents creating this directory
           pkg_set_init_flag $PACKAGE
       fi
       ;;
   console)
       ;;
   window)
       ;;
   fullscreen)
       ;;
   help)
       echo "Usage: $0 init"
       ;;
   *)
       exit 1
       ;;
   esac
exit 0


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Thinstation-general mailing list
Thinstation-general@...
https://lists.sourceforge.net/lists/listinfo/thinstation-general

smime.p7s (8K) Download Attachment

Re: Problem after installing SP2 for Windows 2008

by TrevorB :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Quoting Markus Hillenbrand <hillenbr@...>:

> Hi,
>
> thanks for the hint. I have managed to update the rdesktop package for
> Windows Server 2008 in the following way:

Cool!

 From reading the rdesktop mailing list, I'm not sure that this is a  
permanent fix, but I'll package it up as a temporary patch...

Trevor B

>
> vi packages/rdesktop/etc/init.d/rdesktop.init (see below)
> mkdir packages/rdesktop/etc/rc5.d
> cd packages/rdesktop/etc/rc5.d
> ln -s ../init.d/rdesktop.init S10rdesktop.init
>
>
> Markus
>
> --- FILE: rdesktop.init ---
>
> #! /bin/sh
>
> . /etc/thinstation.global
>
> case "$1" in
>    init)
>        if ! pkg_initialized $PACKAGE; then
>            touch $HOME/.rdesktop # prevents creating this directory
>            pkg_set_init_flag $PACKAGE
>        fi
>        ;;
>    console)
>        ;;
>    window)
>        ;;
>    fullscreen)
>        ;;
>    help)
>        echo "Usage: $0 init"
>        ;;
>    *)
>        exit 1
>        ;;
>    esac
> exit 0
>



Trevor B
+-------
Thinstation Developer
http://thinstation.org



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Thinstation-general mailing list
Thinstation-general@...
https://lists.sourceforge.net/lists/listinfo/thinstation-general

Re: Problem after installing SP2 for Windows 2008

by Mike Eriksen-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Oct 22, 2009 at 11:30 AM, Trevor Batley
<trevorbatley@...> wrote:

> Quoting Markus Hillenbrand <hillenbr@...>:
>
>> Hi,
>>
>> thanks for the hint. I have managed to update the rdesktop package for
>> Windows Server 2008 in the following way:
>
> Cool!
>
>  From reading the rdesktop mailing list, I'm not sure that this is a
> permanent fix, but I'll package it up as a temporary patch...
>
> Trevor B

Is there any reason not to apply this patch to TS 2.2.2 under TSoM?
Currently there is no rdesktop.init.

Mike

>>
>> vi packages/rdesktop/etc/init.d/rdesktop.init (see below)
>> mkdir packages/rdesktop/etc/rc5.d
>> cd packages/rdesktop/etc/rc5.d
>> ln -s ../init.d/rdesktop.init S10rdesktop.init
>>
>>
>> Markus
>>
>> --- FILE: rdesktop.init ---
>>
>> #! /bin/sh
>>
>> . /etc/thinstation.global
>>
>> case "$1" in
>>    init)
>>        if ! pkg_initialized $PACKAGE; then
>>            touch $HOME/.rdesktop # prevents creating this directory
>>            pkg_set_init_flag $PACKAGE
>>        fi
>>        ;;
>>    console)
>>        ;;
>>    window)
>>        ;;
>>    fullscreen)
>>        ;;
>>    help)
>>        echo "Usage: $0 init"
>>        ;;
>>    *)
>>        exit 1
>>        ;;
>>    esac
>> exit 0
>>
>
>
>
> Trevor B
> +-------
> Thinstation Developer
> http://thinstation.org
>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> Thinstation-general mailing list
> Thinstation-general@...
> https://lists.sourceforge.net/lists/listinfo/thinstation-general
>



--
Thinstation oldtimer
http://thinstation.org
- a light, full featured linux based thin client OS

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Thinstation-general mailing list
Thinstation-general@...
https://lists.sourceforge.net/lists/listinfo/thinstation-general