>
> On Wed, Jun 27, 2012 at 5:25 PM, chris nelson <
sleekmountaincat-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> wrote:
>>
>> here is a (probably poorly written :) script that i wrote to ask users
>> for their credentials and then startup freerdp (btw, i have found
>> freerdp FAR, FAR, FAR superior to rdesktop). it obviously does not do
>> the WOL or computer lookup for you, but its a start. it takes xfreerdp
>> options and server as input respectively.
>>
>>
>>
>> #!/bin/bash
>> Xdialog --title "CCH Terminal Server" --left
>> --icon=/lib/cch_freerdp/cch.xpm \
>> --password=2 --ok-label=Connect --3inputsbox "CCH Terminal Server" \
>> 330x350 Username: "" Password: "" Domain: "CCH" 2> /tmp/tmp.1
>> ret=$?
>> input=`cat /tmp/tmp.1`
>> rm -f /tmp/tmp.1
>> case $ret in
>> 0)
>> Xdialog --title "Connecting" --icon=/lib/cch_freerdp/cch.xpm
>> --timeout 10 --msgbox "Connecting to CCH Terminal Server Farm\nPlease
>> wait..." 400x150 &
>> user=`echo "$input" | awk '{split($0,a,"/")}END{print a[1]}'`
>> pass=`echo "$input" | awk '{split($0,a,"/")}END{print a[2]}'`
>> xfreerdp -u "$user" -p "$pass" $1 $2
>> ret1=$?
>> echo "\n\nret=$ret1\n\n"
>> case $ret1 in
>> 0)
>> break;;
>> 131)
>> kill `pidof Xdialog`
>> Xdialog --title "Wrong Username or Password"
>> --icon=/lib/cch_freerdp/cch.xpm --msgbox "Wrong Username or
>> Password\n\nRemember: Do NOT put\n\"CCH\\\"\nin front of your
>> username." 400x150 & ;;
>> *)
>> kill `pidof Xdialog`
>> Xdialog --title "Unknown Error"
>> --icon=/lib/cch_freerdp/cch.xpm --msgbox "Unknown error. Contact
>> Support.\n\nError Code=$ret1\n" 400x150 & ;;
>> esac
>>
>> echo "user=$user" > /tmp/t
>> echo "1=$1" >> /tmp/t
>> echo "2=$2" >> /tmp/t
>>
>> esac
>>
>>
>>
>>
>>
>>
>>
>> chris
>>
>> On Wed, Jun 27, 2012 at 12:10 PM, Ed Heron <
Ed-MBvgLuVkLo/by3iVrkZq2A@public.gmane.org> wrote:
>> > On Wed, 2012-06-27 at 07:07 -0700, c-l wrote:
>> >> ...
>> >> My final goal for this product is to enable users to easily log on to
>> >> their
>> >> workstation from any of those Thinstation PC's that will be in
>> >> different
>> >> areas (board rooms, etc...). I work under the assumption that users
>> >> are
>> >> "dumb" and will not know by heart their Computer Name, nor their IP
>> >> address,
>> >> nor they will always remember to leave their station turned on all the
>> >> time.
>> >> ...
>> >
>> > It might be possible with a custom module to prompt for user name and
>> > password, check a look up table for machine name and mac address, check
>> > if machine is up, sending a WOL packet as needed and waiting for the
>> > machine to be accessible, then build a rdesktop command line with
>> > machine name, user name and password.
>> >
>> > That'd be a decent amount of work, though, and you'd have to maintain
>> > that user name / machine name / MAC address data. Or, if you had a
>> > server piece that ran on a nearby router or server, that could serve MAC
>> > addresses from an ARP cache.
>> >
>> > You might want to start by verifying WOL works on your workstations.
>> >
>> > Would your workstations have static IP's or would you use some sort of
>> > dynamic DNS scheme?
>> >
>> > Theoretically, it could be expanded to start VMs (Virtual Machines),
>> > as well. I wonder if it would be possible and/or desirable to have MS
>> > Windows VMs shutdown after a configurable amount of inactivity...
>> >
>> > Wish I had time to play with it beyond idle speculation...
>> >
>> >
>> >
>> >
>> > ------------------------------------------------------------------------------
>> > Live Security Virtual Conference
>> > Exclusive live event will cover all the ways today's security and
>> > threat landscape has changed and how IT managers can respond.
>> > Discussions
>> > will include endpoint security, mobile security and the latest in
>> > malware
>> > threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> > _______________________________________________
>> > Thinstation-general mailing list
>> >
Thinstation-general-5NWGOfrQmneRv+LV9MX5uuRhgaa4a2kL@public.gmane.orgnet
>> >
https://lists.sourceforge.net/lists/listinfo/thinstation-general
>>
>>
>> ------------------------------------------------------------------------------
>> Live Security Virtual Conference
>> Exclusive live event will cover all the ways today's security and
>> threat landscape has changed and how IT managers can respond. Discussions
>> will include endpoint security, mobile security and the latest in malware
>> threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>> _______________________________________________
>> Thinstation-general mailing list
>>
Thinstation-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>>
https://lists.sourceforge.net/lists/listinfo/thinstation-general
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats.
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Thinstation-general mailing list
>
Thinstation-general <at> lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/thinstation-general
>