[FreeNX-kNX] Problems getting RDP to work.

Konrad J Hambrick konrad at jax01.payplus.com
Tue Nov 13 19:11:02 UTC 2007


Steve --

What if in your scripts, after / instead of

[ -z "$COMMAND_RDESKTOP" ] && COMMAND_RDESKTOP="rdesktop"

you add a line like:

COMMAND_RDESKTOP="rdesktop -a16"

Does that work as well ?

-- kjh


On 11/13/2007 12:46 PM, Stephen Kent wrote:
> If I invoke rdesktop from GNOME Command Line using the '-a 16' flag and
> connecting to a windows workstation, rdesktop launches properly.
> 
> When I try to then connect remotely, I am met with a 256 color screen.
> where do I need to add the -a flag to make it work for a Windows --> Linux
> --> Windows setup?  nxdesktop_helper?  If so, where?
> 
> My nxdesktop_helper looks like this:
> #####################################################
> #!/bin/sh
> #
> # nxdesktop_helper - Small helper for external rdesktop program as needed by
> NX 3.0.0 backend.
> #
> # Copyright (c) 2007 by Fabian Franz <freenx at fabian-franz.de>
> #
> # License: GPL, v2
> #
> # SVN: $Id $
> #
> 
> [ -z "$COMMAND_RDESKTOP" ] && COMMAND_RDESKTOP="rdesktop"
> 
> # setup commandline
> set -- -f -u "$agent_user" -k "$agent_keyboard" -d "$agent_domain"
> "$agent_server"
> 
> if [ -n "$agent_password" ]
> then
>     echo $agent_password | $COMMAND_RDESKTOP -p - "$@"
> else
>     $COMMAND_RDESKTOP "$@"
> fi
> ###### End nxdesktop_helper ###############
> 
> Thanks for your help,
> 
> Steve
> 
> On 11/13/07, Konrad J Hambrick <konrad at jax01.payplus.com> wrote:
>> Steve --
>>
>> When you invoked rdesktop from within GNOME,
>> did you include the -a flag ?
>>
>>     rdesktop -a 16            # man rdesktop
>>
>> -- kjh
>>
>> On 11/13/2007 09:44 AM, Stephen Kent wrote:
>>> Ok.  That worked great.  I had to learn a few new things but that is
>>> a good thing.  Now my issue is that I'd like the connections to be in
>>> full color.  In the setup of NX Client for Windows 3, I have checked
>>> the custom settings and selected 16M colors.  Connecting then still
>>> only gives me 256 colors.
>>>
>>> Any ideas on this?
>>>
>>> Thanks,
>>>
>>> Steve
>>>
>>> On Nov 12, 2007, at 4:55 PM, Iain Paton wrote:
>>>
>>>> Stephen Kent wrote:
>>>>> I am trying to get FreeNX configured on CentOS 5 so that I can
>>>>> tunnel RDP sessions through.  I have followed all of the
>>>>> instructions at
>>>>> http://wiki.centos.org/HowTos/FreeNX
>>>> those instructions are somewhat dated, you may want to do some more
>>>> digging when using a 3.0.0 backend.
>>>>
>>>>> I can easily connect to my GNOME desktop on the CentOS computer
>>>>> but when I try to change the connection type to Window RDP, it
>>>>> looks like it is going to connect but the window disappears I get
>>>>> the following when I try to connect:
>>>> freenx isn't the greatest at logging failures, I had lots of
>>>> problems with the window simply closing with no clue as to the
>>>> error while getting 3.0.0 running.
>>>>
>>>> Here's what I did:
>>>>
>>>> 1. grab the latest freenx from svn, some stuff for 3.0.0 backend is
>>>> missing in 0.7.1
>>>> 2. install rdesktop: http://www.rdesktop.org/ or potentially
>>>> whatever comes with your distro. This seems to have changed with
>>>> the 3.0.0 backend, it wants the external rdesktop prog and not the
>>>> nxdesktop variant. I'm using rdesktop 1.5.0.
>>>> 3. make sure your freenx has nxdesktop_helper installed in the
>>>> appropriate place
>>>> 4. in node.conf add/change to the following:
>>>> # The key that contains the name of the complete path of the
>>>> 'rdesktop' command.
>>>> COMMAND_RDESKTOP=rdesktop
>>>>
>>>> and possibly also
>>>>
>>>> # If nxdesktop cannot be found this is set automatically to "1".
>>>> ENABLE_EXTERNAL_NXDESKTOP="1"
>>>>
>>>> although I didn't need that as I killed off nxdesktop when I
>>>> removed the previous version.
>>>>
>>>> YMMV, but this works for me using the !M 3.0.0-84 client from linux
>>>> and has worked for others using the !M windows client.
>>>>
>>>> HTH,
>>>> Iain
>>>>
>>> ________________________________________________________________
>>>      Were you helped on this list with your FreeNX problem?
>>>     Then please write up the solution in the FreeNX Wiki/FAQ:
>>>   http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
>>>          Don't forget to check the NX Knowledge Base:
>>>                  http://www.nomachine.com/kb/
>>>
>>> ________________________________________________________________
>>>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>>>       https://mail.kde.org/mailman/listinfo/freenx-knx
>>> ________________________________________________________________
>>>
>> ________________________________________________________________
>>      Were you helped on this list with your FreeNX problem?
>>     Then please write up the solution in the FreeNX Wiki/FAQ:
>>   http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
>>          Don't forget to check the NX Knowledge Base:
>>                  http://www.nomachine.com/kb/
>>
>> ________________________________________________________________
>>        FreeNX-kNX mailing list --- FreeNX-kNX at kde.org
>>       https://mail.kde.org/mailman/listinfo/freenx-knx
>> ________________________________________________________________
>>
> 



More information about the FreeNX-kNX mailing list