nxclient window doesn't redraw contents properly after suspending & reconnecting
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
nxclient window doesn't redraw contents properly after suspending & reconnecting
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?
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.
Last edited by ponce; 05-23-2012 at 03:46 PM.
Reason: added windows 7 home test
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
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.