VNC on Mandrake (9.0 & 9.2) blank screen on client side
MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
VNC on Mandrake (9.0 & 9.2) blank screen on client side
I have tried using the vnc server on several versions of Mandrake but I always get the same results, a blank screen on the client side. I have searched for this problem several times here and other places. The only reference I have found meaningful is to edit the vncservers file, edit what... See the log and vncserver file below. Any help would be great.
# The VNCSERVERS variable is a list of display:user pairs.
# Uncomment the line below to start a VNC server on display :1 as my
# 'myusername' (adjust this to your own). You will also need to set a
# VNC password; run 'man vncpasswd' to see how to do that.
# DO NOT RUN THIS SERVICE if your local area network is untrusted. For a
# secure way of using VNC, see
17/06/03 21:29:59 Xvnc version 3.3.3r2+tight1.2.5
17/06/03 21:29:59 Copyright (C) 1999 AT&T Laboratories Cambridge.
17/06/03 21:29:59 Copyright (C) 2000-2002 Constantin Kaplinsky.
17/06/03 21:29:59 All Rights Reserved.
17/06/03 21:29:59 See
17/06/03 21:29:59 See -specific information
17/06/03 21:29:59 Desktop name 'X' (home.server.hom:2)
17/06/03 21:29:59 Protocol version supported 3.3
17/06/03 21:29:59 Listening for VNC connections on TCP port 5902
17/06/03 21:29:59 Listening for HTTP connections on TCP port 5802
17/06/03 21:29:59 ://home.server.hom:5802
17/06/03 21:30:33 Got connection from client 192.168.1.11
17/06/03 21:30:33 Protocol version 3.3
17/06/03 21:30:37 Pixel format for client 192.168.1.11:
17/06/03 21:30:37 8 bpp, depth 8
17/06/03 21:30:37 true colour: max r 7 g 7 b 3, shift r 0 g 3 b 6
17/06/03 21:30:37 rfbProcessClientNormalMessage: ignoring unknown encoding 16
17/06/03 21:30:37 Using hextile encoding for client 192.168.1.11
17/06/03 21:31:13 Client 192.168.1.11 gone
17/06/03 21:31:13 Statistics:
17/06/03 21:31:13 key events received 1, pointer events 72
17/06/03 21:31:13 framebuffer updates 71, rectangles 173, bytes 14067
17/06/03 21:31:13 hextile rectangles 173, bytes 14067
17/06/03 21:31:13 raw bytes equivalent 514199, compression ratio 36.553565
# Mandrake Linux VNC session startup script
xinitrc then does this
# (c) 2000-2002 MandrakeSoft
# $Id: xinitrc-xinitrc,v 1.2 2002/09/10 05:53:43 flepied Exp $
# Set a background here because it's not done anymore
# in Xsesion for non root users
if [ "`whoami`" != root ]; then
xsetroot -solid "#21449C"
exec /etc/X11/Xsession $*
Xsession is pretty long so I didn't post, but it looks like it sets up the environment for the default interface. I use Gnome, what would the command be to start Gnome.
Sorry for the newbe question I do not know the command line interface very well at all.
I am interested in a solution to this as well. I have the exact same problem and the suggested changes have the exact same effect on my Mandrake 9.2 system.
Interestingly, I installed something called rfbdrake ('remote frame buffer tool') from the Mandrake package that uses vncviewer as the client app and it seems to work, albeit very slowly. The little documentation associated with it indicates that it uses x0rfbserver as the server application. I also noted that vncserver never shows any indication that it is taking control of the host system, so the problem doesn't seem to be just about the graphic output
Not sure if this is in the least bit helpful. I am an absolute (less than 8 hours hands-on time) Linux newb.
I have seen this problem reported several times, as yet I have not seen a working fix. Hopefully someone will see this and know exactly the right fix. Thanks for your input I will try it, that should get me by for now.
I have played with linux (GUI) for 3 or 4 years now. But I am still very much a newbie.
OK I seem to have solved my problem,which was pretty silly. My Linux box has a very old graphics card which appears not to be able to handle 32K colors. I went into the vncserver script and changed the number of colors to 16k and everything works fine now. Not sure if you will have a similar solution, but I would definitely take a hard look at the graphics card. Tightvnc is much faster than rfbdrake.
Now to find those posts about getting Linux to autoinstall vncserver on boot...
Well I put it in the vncserver script itself but yes, that should have done it. It is interesting that your symptoms were the same as mine though. If you have an extra graphics card laying around, I suppose you could swap it into the Linux server to see whether the graphics card is the problem. Don't know what else to say. Sorry.