Marcelo Boveto Shima | 28 Mar 2012 23:14
Picon

Re: FreeNX Resolution Won't Resize to Monitor Upon Resuming Session

I found the problem.

Change -option to -options

838c850
< 		nxlog "$FUNCNAME ($$): Start nxagent by command: '$COMMAND_NXAGENT
$P $R -name \"NX - $user <at> $SERVER_NAME:$display - $session (GPL
Edition)\" -option \"$USER_FAKE_HOME/.nx/C-$sess_id/options\" $B $FP
$AGENT_EXTRA_OPTIONS_X :$display'" &
---
> 		nxlog "$FUNCNAME ($$): Start nxagent by command: '$COMMAND_NXAGENT $P $R -name \"NX -
$user <at> $SERVER_NAME:$display - $session (GPL Edition)\" -options
\"$USER_FAKE_HOME/.nx/C-$sess_id/options\" $B $FP $AGENT_EXTRA_OPTIONS_X :$display'" &
840c852
< 		PATH="$PATH_BIN:$PATH" $COMMAND_NXAGENT $P $R -name "NX -
$user <at> $SERVER_NAME:$display - $session (GPL Edition)" -option
"$USER_FAKE_HOME/.nx/C-$sess_id/options" $B $FP $AGENT_EXTRA_OPTIONS_X
:$display 2>&3 &
---
> 		PATH="$PATH_BIN:$PATH" $COMMAND_NXAGENT $P $R -name "NX - $user <at> $SERVER_NAME:$display - $session
(GPL Edition)" -options "$USER_FAKE_HOME/.nx/C-$sess_id/options" $B $FP $AGENT_EXTRA_OPTIONS_X
:$display 2>&3 &

On Tue, Mar 27, 2012 at 3:05 AM, Erk OwN-3m-All <own3mall <at> gmail.com> wrote:
> Yes, Ctrl Alt and using the 4 arrow keys works.  I am able to slide over to
> different parts of the screen now.  I didn't know you could do this...
> However, still doesn't explain why it won't resize?
>
> On Wed, Mar 21, 2012 at 7:09 AM, <chris <at> ccburton.com> wrote:
>>
(Continue reading)

Marcelo Boveto Shima | 28 Mar 2012 23:15
Picon

Re: FreeNX Resolution Won't Resize to Monitor Upon Resuming Session

The file to change is nxnode

On Wed, Mar 28, 2012 at 6:14 PM, Marcelo Boveto Shima
<marceloshima <at> gmail.com> wrote:
> I found the problem.
>
> Change -option to -options
>
> 838c850
> <               nxlog "$FUNCNAME ($$): Start nxagent by command: '$COMMAND_NXAGENT
> $P $R -name \"NX - $user <at> $SERVER_NAME:$display - $session (GPL
> Edition)\" -option \"$USER_FAKE_HOME/.nx/C-$sess_id/options\" $B $FP
> $AGENT_EXTRA_OPTIONS_X :$display'" &
> ---
>>               nxlog "$FUNCNAME ($$): Start nxagent by command: '$COMMAND_NXAGENT $P $R -name \"NX -
$user <at> $SERVER_NAME:$display - $session (GPL Edition)\" -options
\"$USER_FAKE_HOME/.nx/C-$sess_id/options\" $B $FP $AGENT_EXTRA_OPTIONS_X :$display'" &
> 840c852
> <               PATH="$PATH_BIN:$PATH" $COMMAND_NXAGENT $P $R -name "NX -
> $user <at> $SERVER_NAME:$display - $session (GPL Edition)" -option
> "$USER_FAKE_HOME/.nx/C-$sess_id/options" $B $FP $AGENT_EXTRA_OPTIONS_X
> :$display 2>&3 &
> ---
>>               PATH="$PATH_BIN:$PATH" $COMMAND_NXAGENT $P $R -name "NX -
$user <at> $SERVER_NAME:$display - $session (GPL Edition)" -options
"$USER_FAKE_HOME/.nx/C-$sess_id/options" $B $FP $AGENT_EXTRA_OPTIONS_X :$display 2>&3 &
>
>
> On Tue, Mar 27, 2012 at 3:05 AM, Erk OwN-3m-All <own3mall <at> gmail.com> wrote:
>> Yes, Ctrl Alt and using the 4 arrow keys works.  I am able to slide over to
(Continue reading)

Fritz Elfert | 29 Mar 2012 03:15
Picon
Favicon
Gravatar

Re: FreeNX Resolution Won't Resize to Monitor Upon Resuming Session

On 03/28/2012 11:15 PM, Marcelo Boveto Shima wrote:
> The file to change is nxnode
> 
> On Wed, Mar 28, 2012 at 6:14 PM, Marcelo Boveto Shima
> <marceloshima <at> gmail.com> wrote:
>> I found the problem.
>>
>> Change -option to -options
>>

Hmm, I don't think so. nxagent treats both variants "-option" and
"-options" identically. The specific code is in
nx-X11/programs/Xserver/hw/nxagent/Args.c.

Line 229 reads:

if ((!strcmp(argv[j], "-options") || !strcmp(argv[j], "-option")) && j +
1 < argc)
{
 ... code to read the options file ...

The version, I looked at: nxagent-3.5.0-7 (unpatched original as fetched
from NoMachine's server)

-Fritz
________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ
(Continue reading)

Marcelo Boveto Shima | 30 Mar 2012 22:52
Picon

Re: FreeNX Resolution Won't Resize to Monitor Upon Resuming Session

I saw that but it worked for me.
The background is not resizing, but the panel is resizing.

Regards.

On Wed, Mar 28, 2012 at 10:15 PM, Fritz Elfert <fritz <at> fritz-elfert.de> wrote:
> On 03/28/2012 11:15 PM, Marcelo Boveto Shima wrote:
>> The file to change is nxnode
>>
>> On Wed, Mar 28, 2012 at 6:14 PM, Marcelo Boveto Shima
>> <marceloshima <at> gmail.com> wrote:
>>> I found the problem.
>>>
>>> Change -option to -options
>>>
>
> Hmm, I don't think so. nxagent treats both variants "-option" and
> "-options" identically. The specific code is in
> nx-X11/programs/Xserver/hw/nxagent/Args.c.
>
> Line 229 reads:
>
> if ((!strcmp(argv[j], "-options") || !strcmp(argv[j], "-option")) && j +
> 1 < argc)
> {
>  ... code to read the options file ...
>
> The version, I looked at: nxagent-3.5.0-7 (unpatched original as fetched
> from NoMachine's server)
>
(Continue reading)

Erk OwN-3m-All | 31 Mar 2012 09:46
Picon

Re: FreeNX Resolution Won't Resize to Monitor Upon Resuming Session

Hmm, I'll give it a shot and will let you guys know.

On Fri, Mar 30, 2012 at 1:52 PM, Marcelo Boveto Shima <marceloshima <at> gmail.com> wrote:
I saw that but it worked for me.
The background is not resizing, but the panel is resizing.

Regards.

On Wed, Mar 28, 2012 at 10:15 PM, Fritz Elfert <fritz <at> fritz-elfert.de> wrote:
> On 03/28/2012 11:15 PM, Marcelo Boveto Shima wrote:
>> The file to change is nxnode
>>
>> On Wed, Mar 28, 2012 at 6:14 PM, Marcelo Boveto Shima
>> <marceloshima <at> gmail.com> wrote:
>>> I found the problem.
>>>
>>> Change -option to -options
>>>
>
> Hmm, I don't think so. nxagent treats both variants "-option" and
> "-options" identically. The specific code is in
> nx-X11/programs/Xserver/hw/nxagent/Args.c.
>
> Line 229 reads:
>
> if ((!strcmp(argv[j], "-options") || !strcmp(argv[j], "-option")) && j +
> 1 < argc)
> {
>  ... code to read the options file ...
>
> The version, I looked at: nxagent-3.5.0-7 (unpatched original as fetched
> from NoMachine's server)
>
> -Fritz
> ________________________________________________________________
>     Were you helped on this list with your FreeNX problem?
>    Then please write up the solution in the FreeNX Wiki/FAQ:
>
> http://openfacts2.berlios.de/wikien/index.php/BerliosProject: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://openfacts2.berlios.de/wikien/index.php/BerliosProject: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://openfacts2.berlios.de/wikien/index.php/BerliosProject: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
________________________________________________________________
Erk OwN-3m-All | 9 Apr 2012 00:37
Picon

Re: FreeNX Resolution Won't Resize to Monitor Upon Resuming Session

I looked at my nxnode file, and I don't have any of the lines posted originally by Marcelo. 

On Wed, Mar 28, 2012 at 3:15 PM, Marcelo Boveto Shima <marceloshima <at> gmail.com> wrote:
The file to change is nxnode

On Wed, Mar 28, 2012 at 6:14 PM, Marcelo Boveto Shima
<marceloshima <at> gmail.com> wrote:
> I found the problem.
>
> Change -option to -options
>
> 838c850
> <               nxlog "$FUNCNAME ($$): Start nxagent by command: '$COMMAND_NXAGENT
> $P $R -name \"NX - $user <at> $SERVER_NAME:$display - $session (GPL
> Edition)\" -option \"$USER_FAKE_HOME/.nx/C-$sess_id/options\" $B $FP
> $AGENT_EXTRA_OPTIONS_X :$display'" &
> ---
>>               nxlog "$FUNCNAME ($$): Start nxagent by command: '$COMMAND_NXAGENT $P $R -name \"NX - $user <at> $SERVER_NAME:$display - $session (GPL Edition)\" -options \"$USER_FAKE_HOME/.nx/C-$sess_id/options\" $B $FP $AGENT_EXTRA_OPTIONS_X :$display'" &
> 840c852
> <               PATH="$PATH_BIN:$PATH" $COMMAND_NXAGENT $P $R -name "NX -
> $user <at> $SERVER_NAME:$display - $session (GPL Edition)" -option
> "$USER_FAKE_HOME/.nx/C-$sess_id/options" $B $FP $AGENT_EXTRA_OPTIONS_X
> :$display 2>&3 &
> ---
>>               PATH="$PATH_BIN:$PATH" $COMMAND_NXAGENT $P $R -name "NX - $user <at> $SERVER_NAME:$display - $session (GPL Edition)" -options "$USER_FAKE_HOME/.nx/C-$sess_id/options" $B $FP $AGENT_EXTRA_OPTIONS_X :$display 2>&3 &
>
>
> On Tue, Mar 27, 2012 at 3:05 AM, Erk OwN-3m-All <own3mall <at> gmail.com> wrote:
>> Yes, Ctrl Alt and using the 4 arrow keys works.  I am able to slide over to
>> different parts of the screen now.  I didn't know you could do this...
>> However, still doesn't explain why it won't resize?
>>
>> On Wed, Mar 21, 2012 at 7:09 AM, <chris <at> ccburton.com> wrote:
>>>
>>>
>>>
>>> freenx-knx-bounces <at> kde.org wrote on 20/03/2012 17:02:44:
>>>
>>>
>>> > Both clients are set to use the available area in the display
>>> > options.  However, when the session is restored using a smaller
>>> > resolution (1024x600 ), what I see on the screen is a 1024 x 600
>>> > resolution showing part of the original 1920 x 1200 resolution
>>> > screen.  My desktop shortcut icons are off the screen except for the
>>> > trash icon and my gnome3 menus are not visible, as they are off the
>>> > screen up to the left.  Thus, I'm unable to run anything, as my
>>> > desktop was not resized to the resolution.  Rather, a window created
>>> > using the resolution of 1024 x 600 is displayed showing part of the
>>> > screen that was created by the very first session.  Would it be
>>> > helpful if I attached screenshots?
>>>
>>> No
>>>
>>> Now you've explained it fully I understand.
>>>
>>> What windows manager/version are you using ??
>>>
>>> What version of nxagent do you have installed ??
>>>
>>> If you depress Ctrl Alt and use the 4 arrow keys,
>>> does the part of the screen shown in the small
>>> window scroll around ??
>>> ________________________________________________________________
>>>     Were you helped on this list with your FreeNX problem?
>>>    Then please write up the solution in the FreeNX Wiki/FAQ:
>>>
>>> http://openfacts2.berlios.de/wikien/index.php/BerliosProject: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://openfacts2.berlios.de/wikien/index.php/BerliosProject: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://openfacts2.berlios.de/wikien/index.php/BerliosProject: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://openfacts2.berlios.de/wikien/index.php/BerliosProject: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
________________________________________________________________

Gmane