[SOLVED] Getting blurred background while accessing via VNC viewer
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Getting blurred background while accessing via VNC viewer
Hi Guru's
I have two servers running with CentOS 6.7 on ASUS hardware which has intel i-7 processor. VNC server is configured on these servers to provide GUI access over internet.
I am getting GUI sessions with low resolution. Could someone let me know how to get a better resolution. Please find the attached screenshot.
Hi
Maybe the resolution is ok but the colors are c**p?
In any case you should check if it's not the vnc-client that reduces the colors to reduce the i/o therefore improving reactivity.
Therefore the next question is: which vnc server and client software do you use?
You could for example try to use "tigervnc" as vnc-client to get some live infos about compression, resolution and colors that the program decides to use during the remote session.
Thanks a lot for your reply. Actually your suggestion worked partially. I could get a better resolution (1024X1080) once tigervnc-1.4.3 server/viewer is installed.
I could see the screen with the actual resolution and color depth still i move any window in my session (As soon as i started dragging, it started showing the low resolution in the area where that windows was). This is the same case if i open any GUI application/browser.
That behaviour is normal if you have a slow connection, your target machine is slow, etc... .
The first priority of vnc will be to give you good reactivity, therefore if for some reason the connection and/or the system is slow it will reduce the used bandwidth by reducing the number of colors.
Read the docs my issuing "man vncviewer":
Quote:
The viewer normally starts in full-color mode, but switches to low-color mode if the bandwidth is
insufficient.
Again, look at "man vncviewer" to see options to force it to use a specific color depth and for other options:
Quote:
...
-QualityLevel level
JPEG quality level (default is 8).
-NoJPEG
Disable lossy JPEG compression in Tight encoding.
CompressLevel level
Use specified compression level (default is 2).
CustomCompressLevel level
Use custom compression level. Default is CompressLevel is specified.
...
-AutoSelect
Use automatic selection of encoding and pixel format (default is on). Normally the viewer
tests the speed of the connection to the server and chooses the encoding and pixel format
appropriately. Turn it off with -AutoSelect=0.
...
Thanks again for your time and help. It started working as expected after removing the compression option "Auto Select"
Following are the default options i could see after removing the above one.
Quote:
Preferred encoding = Tight
Color Level = Full
Allow JPEG Compression = 8
Thanks again for your help.(Attached the screen shot, hope that helps someone else too)
Thank you Doug for your time. I couldn't find anything related to "Scaling" in the vnc viewer.
Great!!!
Thank you for posting the feedback & solution!
It could be that maybe in general the vnc handshake&monitoring algos are too aggressive, but as it's working fine for most, you might want to have a look at your own network.
Meaning:
if your target PC is in your same network + the target PC is physically near + the target nor the source PC have an i286 CPU, then you might have a more basic problem with your network that will affect all the other apps that you'll ever use.
(meaning: if your own network is supposed to be at least "normal" (meaning 10MB/s) then the bad resolution of vnc is most most moooooost probably only a symptom) => you might want to investigate this.
Thank you for having marked the thread as solved!!!
Cheeeeeeeeeeers!!!!!!!!!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.