Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a X software which only runs at 640x480. Now I have a Xvnc with XDMCP that runs on 320x240, and this result the software being "cropped" so only a 1/4th of the software is visible. Now I would want to "scale" the software by 50 % by some wrapper. How can this be achieved?

In other words, any software run through the wrapper should be shrinked or enlarged according to a option.

share|improve this question
    
What about just making the Xvnc window bigger? This way, you could end up with an actually readable output. –  Sven May 10 '11 at 7:40
    
It gets very slow then. Since the network between client and server is slow. –  sebastian nielsen May 10 '11 at 7:53
    
Try to solve the speed problem - even 640x480 is very small. Even if it were possible to scale the stream down to 1/4 the size on the VNC server side (X client side) you're not going to a significant benefit compared over running it natively at 320x240. What bit-depth are you using? –  symcbean May 10 '11 at 10:54
    
symcbean: The software does not support running 320x240 natively. So I could scale down the software, and then run the software on a 320x240 screen. Thats what im asking for. In other words, I need something like a negative magnifying glass software. –  sebastian nielsen May 10 '11 at 11:51
    
Im have tried to lower bit depth, but that introduces "dithering" (dots in different colors) and making it veeeery sloooow because it kills the JPEG compression. –  sebastian nielsen May 10 '11 at 12:03

1 Answer 1

If speed is a problem, maybe you could solve your problem with NX. It's highly optimized to work over slow networks with high latency. I've successfully used it with a 1024x768 desktop over an ISDN line.

Edit:

If NX does't work, maybe you can speed things up with the help of RDP, which is also much more efficient than VNC. I haven't tested this, though.

share|improve this answer
    
The problem is that NX is not well suited for being used in situations where untrusted users will have access to the NX server. The NX has too many options on the client side. The whole thing is supposed to run without authentication, and in a "kiosk" setting (tightly locked down desktop) where anyone on internet can access this public server. So Xvnc is the only thing that works. –  sebastian nielsen May 10 '11 at 8:01
    
@Sebastian nielsen: See my edit, maybe this helps. –  Sven May 10 '11 at 8:22
    
SvenW: It does not seem to support XDMCP. Thats required for the whole thing to be multisession (eg support multiple users connected at the same time). What the server does when a client connects, is autologging in the user "kiosk" with a simple X window manager that kicks off a second software. This "second software" does only support 640x480, thats why I need something to shrink (scale) the window to 320x240. So in other words, I simply share the software in a "cloud" fashion. –  sebastian nielsen May 10 '11 at 11:55

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.