wk8 / neatx

Automatically exported from code.google.com/p/neatx
GNU General Public License v2.0
0 stars 2 forks source link

Fullscreen mode....isn't #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. OpenSuSE 11.2 on server with latest neatx
2. OpenSuSE 11.2 on client with nxclient-3.4
3. Create a new session of type unix-key fullscreen

What is the expected output? What do you see instead?
I expect a fullscreen session, but instead get a maximized window.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Running FreeNX on the server (everything else identical -- I have both
installed and switch by changing the "nx" line in /etc/passwd) gives a true
fullscreen session on the client.  This is surprising/disturbing, because
it is using the same client and nxagent -- only neatx vs FreeNX.  Weird.

If I try to SHADOW the neatx fullscreen session (from the same client, with
display set to "same as on server"), I DO get a fullscreen session (it
looks horrible because it has a few more Y pixels, so all the fonts are
stretched a bit....)  

If I use a Windows XP system with nxclient-3.4 as the client, I DO get a
fullscreen session and it works beautifully.

I'm trying to learn enough about the code and protocols to see if I can
find out what is going on.  One thing I did notice in the log file is an
extra message from nxagent about resizing the screen/matching geometry
change as it was starting up.  I'm attaching the server log file in case
that helps.

Original issue reported on code.google.com by br...@lstc.com on 9 Feb 2010 at 12:08

Attachments:

GoogleCodeExporter commented 9 years ago
Does the Linux client and Windows client have the same size monitor? Here's a 
response I had from Nomachine when I reported the same issue with nomachine:

Concerning the issues you had with your remote screen resolution, the image is 
scaled 
when the local screen does not have the capability of containing the entire 
remote 
screen, due to the difference of resolution.

The scaling is not applied with NX agent running in ‘viewport’ mode. The 
viewport can 
be activated by Ctrl-Alt-L keystroke, and can be navigated by dragging the 
pointer 
with Ctrl-Alt kept pressed.

So, can you try the Ctrl-Alt-L key combo on the Linux client and see if that 
resolves 
the issue?

Original comment by gringoca...@gmail.com on 9 Feb 2010 at 12:21

GoogleCodeExporter commented 9 years ago
Well, the windows client probably has a smaller screen, but I don't know that 
that is
relevant.  I never connected with both at the same time: the fullscreen unix 
session
that I tried to start (that didn't come up full screen) is from a system that is
1680x1050 (in case that matters) and then when I try to shadow that (from the 
SAME
MACHINE -- two copies of nxclient running), it DOES come up full screen, but
stretched in y to fit. The scaling I'm seeing is in the opposite direction from 
that
indicated in your comments (my "shadow" client is BIGGER than the original, but
shouldn't be since they are on the same system and the original should have been
fullscreen, but came up as 1680x1000).

Again, for me the indicator of a bug is that FreeNX works fine using the same 
client
and backend (nxagent).

As for Ctrl-Alt-L -- I'll try playing with that at some point, but right now my 
KDE
system is grabbing that as the hotkey for screenlock, so NX never sees it and I 
have
to unlock my screen after trying it.

Original comment by br...@lstc.com on 9 Feb 2010 at 12:49

GoogleCodeExporter commented 9 years ago
@brian:
There's something odd going on re: nx versions in your log.

Neatx is announcing itself as 3.2.0:
Feb  8 09:14:33 goose nxserver-login[25405]: DEBUG protocol:172 >>> 'HELLO 
NXSERVER - 
Version 3.2.0 - GPL\n'
Nxagent is 3.3.0:
Feb  8 09:14:37 goose nxnode[25814]: DEBUG daemon:461 /usr/bin/nxagent[25818] 
stderr: 
NXAGENT - Version 3.3.0

So there's a version mismatch there. What is nx-protocol-version set to in your 
neatx.conf?

Original comment by kormat on 12 Feb 2010 at 5:43

GoogleCodeExporter commented 9 years ago
Also, i can reproduce this here, with ubuntu 9.10 (karmic) as the server. Does 
ctrl-
alt-f toggle fullscreen for you?

Original comment by kormat on 12 Feb 2010 at 6:17

GoogleCodeExporter commented 9 years ago
Kormat: my nx-protocol-version in neatx.conf reads:

nx-protocol-version = 3.2.0

and YES!  ctrl-alt-f DOES toggle fullscreen.  Thanks, I didn't know about
this.  So it is a bit annoying that it doesn't come UP fullscreen, but at least
now I can push it out to fullscreen, which is almost as good....

Original comment by br...@lstc.com on 12 Feb 2010 at 6:54

GoogleCodeExporter commented 9 years ago
@brian: You should set the protocol version to 3.3.0, to match the NX libs you 
are 
using. I'll keep poking at why default-fullscreen isn't working.

Original comment by kormat on 12 Feb 2010 at 7:03

GoogleCodeExporter commented 9 years ago
Bingo, i think i have it fixed. Patch out for review.

Original comment by kormat on 12 Feb 2010 at 7:29

GoogleCodeExporter commented 9 years ago
Fixed in http://code.google.com/p/neatx/source/detail?r=54

Original comment by kormat on 15 Feb 2010 at 12:54

GoogleCodeExporter commented 9 years ago
The change fixed issues for me. Thanks for this great tool!

Original comment by erazo...@gmail.com on 15 Feb 2010 at 2:15