LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   nxclient window doesn't redraw contents properly after suspending & reconnecting (http://www.linuxquestions.org/questions/slackware-14/nxclient-window-doesnt-redraw-contents-properly-after-suspending-and-reconnecting-946506/)

nass 05-23-2012 01:58 PM

nxclient window doesn't redraw contents properly after suspending & reconnecting
 
1 Attachment(s)
hello everyone,
I am trying nx to get remote logins to my headless server.
I have notices 2 cases that it doesn't work as expected.

1. after I supspend a running session and reconnect to it ,the contents of the nx client window are not redrawn properly (see attached image).

2. sometimes i may start a new session (or return to one) especially if i am at another pc (and so the client asks for a different geometry) i will get the nxclient to use not draw the background! in fact the nxclient will not create a window, rather go to (presumably) full screen mode, but the background will not be changed. As a result (and since i' using fluxbox WM) i can see the toolbar in the bottom, but i can't right click and access the menu (rightt clicking will be intercepted by the machine on which i am running the nxclient - linux or win - and present that system's menu).


Any ideas? do you have these problems with freenx?

ponce 05-23-2012 02:12 PM

are you speaking about the windows version of nxclient?

connecting from a slackware host to another I have no such problems.

you can resize the window/go fullscreen/exit fullscreen on linux only, have a look here: as you can read, resize will be supported on windows with the next version.

tested on windows 7 home point 1 and the window seems to be redrawn properly.

nass 05-24-2012 03:18 AM

well the screenshot was from a winXP machine but I do get the same behaviour from a another slackware nxclient...

what's funny right now, is that i just tested and verified that I get the same behaviour from the linux nxclient.
Then I suspended the session again and resumed it from the same winXP machine that i got the screenshot yesterday..
well, this time around the win nxclient drew the window correctly :S:S:S

a "suspend and resume from linux" moment later, i got the same problem again :S:S:S:S

that's a mess, i can't find a pattern...

ponce 05-24-2012 03:34 AM

Yesterday I've also tested suspending from Slackware and resuming from windows7 and viceversa with no glitches.
really have no idea: have you tried the suggestions in the link I posted above?

Quote:

Ctrl + Alt + E to toggle the lazy encoding

Ctrl + Alt + J to force a drawable's synchronization, in order to attempt
a fix for a visualization problem
The Slackware where you're running freenx is a full install?
Do you have anything in freenx's or X logs? To enable logging level at max set
Code:

NX_LOG_LEVEL=6
NX_LOGFILE=/tmp/nxserver.log

in /etc/nxserver/node.conf

nass 05-24-2012 04:27 AM

ctrl + Alt + E present a window that informs about the toggling but doesn't help.
ctrl + Alt + J doesn't seem to do anything visible at least.

here is the nxserver.log that completes by saying that the 'restore succeeded' :P

I should perhaps mention that I have changed the following 2 (seemingly irrelevant) options in node.conf

SSHD_PORT= # it is different to 22 in my ssh server
DISPLAY_BASE=1020 # I changed that too since i will have a few nxservers that i'll be connecting to from the same clinet (simultaneously) and same DISPLAY_BASE numbers mix the displays on the client.

ponce 05-24-2012 06:02 AM

sorry, it seems you forgot this, can be relevant
Quote:

Originally Posted by ponce (Post 4686180)
The Slackware where you're running freenx is a full install?

also the Xorg.*.log can show something (maybe).

nass 05-24-2012 06:33 AM

ah yes, sorry, it is a full install yes.

Xorg logs don't seem to be updating anything while i connect or do Ctrl + Alt + J,
neither on the server nor on the client.

ponce 05-24-2012 07:34 AM

Quote:

Originally Posted by nass (Post 4686165)
well, this time around the win nxclient drew the window correctly :S:S:S

a "suspend and resume from linux" moment later, i got the same problem again :S:S:S:S

that's a mess, i can't find a pattern...

at this point, me neither, sorry. :(

nass 05-24-2012 07:45 AM

Thank you for your thorough help though.
I appreciate it.


All times are GMT -5. The time now is 09:25 PM.