LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 05-23-2012, 01:58 PM   #1
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slack(64|32)_v(13.37|14.0), debian6, ubuntu
Posts: 630

Rep: Reputation: 36
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?
Attached Images
File Type: jpg nx_client.JPG (143.6 KB, 11 views)
 
Old 05-23-2012, 02:12 PM   #2
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,408

Rep: Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853
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
 
Old 05-24-2012, 03:18 AM   #3
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slack(64|32)_v(13.37|14.0), debian6, ubuntu
Posts: 630

Original Poster
Rep: Reputation: 36
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...
 
Old 05-24-2012, 03:34 AM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,408

Rep: Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853
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

Last edited by ponce; 05-24-2012 at 03:38 AM.
 
Old 05-24-2012, 04:27 AM   #5
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slack(64|32)_v(13.37|14.0), debian6, ubuntu
Posts: 630

Original Poster
Rep: Reputation: 36
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.
 
Old 05-24-2012, 06:02 AM   #6
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,408

Rep: Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853
sorry, it seems you forgot this, can be relevant
Quote:
Originally Posted by ponce View Post
The Slackware where you're running freenx is a full install?
also the Xorg.*.log can show something (maybe).

Last edited by ponce; 05-24-2012 at 06:04 AM.
 
Old 05-24-2012, 06:33 AM   #7
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slack(64|32)_v(13.37|14.0), debian6, ubuntu
Posts: 630

Original Poster
Rep: Reputation: 36
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.
 
Old 05-24-2012, 07:34 AM   #8
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,408

Rep: Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853Reputation: 853
Quote:
Originally Posted by nass View Post
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.
 
Old 05-24-2012, 07:45 AM   #9
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slack(64|32)_v(13.37|14.0), debian6, ubuntu
Posts: 630

Original Poster
Rep: Reputation: 36
Thank you for your thorough help though.
I appreciate it.
 
  


Reply

Tags
draw, freenx, resume, session, windows


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Basic Qt app doesn't redraw window properly (linux/debian) illuminatedwax Linux - Software 4 01-26-2011 02:48 PM
Redraw problems with Window Maker General Linux - Desktop 1 06-23-2010 11:28 AM
how to mount the cd & copy the contents of the cd from terminal window in linux? helpdeskmtv General 2 10-19-2007 09:33 AM
Redraw the Root Window pxumsgdxpcvjm Linux - General 3 02-22-2007 02:26 AM
Arview 3.2 works with wine, but window doesn't maximize or restore properly. pepeq Linux - Software 0 11-12-2004 09:56 AM


All times are GMT -5. The time now is 08:14 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration