LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 01-10-2004, 11:15 AM   #1
saavik24
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Rep: Reputation: 0
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.

vncservers file:
# 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

VNCSERVERS="1:jim"


Log:

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
 
Old 01-10-2004, 11:17 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
Welcome to LQ.

Take a look at your startup file in ~/.vnc/ and add a command to start your chosen window manager.
 
Old 01-10-2004, 02:25 PM   #3
saavik24
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Currently the xstartup looks like this ...

***********************************************
#!/bin/sh

# Mandrake Linux VNC session startup script
exec /etc/X11/xinit/xinitrc


xinitrc then does this
************************************************
#!/bin/sh
# (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"
fi

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.


Thanks
 
Old 01-10-2004, 02:30 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
Change the xstartup line from:
exec /etc/X11/xinit/xinitrc
to:
gnome-session

Then kill all your Xvnc proccesses and start the server again. When you login you should have gnome running.
 
Old 01-10-2004, 02:58 PM   #5
saavik24
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Well I made the change I and it did have an affect, now it is a blank screen in black and white with kind of a checkerd background. I did stop and the restart the vncserver.

Thanks
 
Old 01-12-2004, 08:18 PM   #6
moemy
LQ Newbie
 
Registered: Jan 2004
Posts: 3

Rep: Reputation: 0
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.
 
Old 01-12-2004, 08:44 PM   #7
saavik24
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 01-13-2004, 09:21 PM   #8
moemy
LQ Newbie
 
Registered: Jan 2004
Posts: 3

Rep: Reputation: 0
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...
 
Old 01-14-2004, 05:51 AM   #9
saavik24
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I tried starting vncserver using this command ...
vncserver :2 -depth 16

I am assuming that is what you did, it didn't work for me. If you changed that setting some where else let me know.

OOH and congrats on getting yours working
 
Old 01-15-2004, 11:05 PM   #10
moemy
LQ Newbie
 
Registered: Jan 2004
Posts: 3

Rep: Reputation: 0
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.
 
Old 09-19-2004, 03:19 PM   #11
kikker
LQ Newbie
 
Registered: Aug 2003
Distribution: Fedora Core 2
Posts: 3

Rep: Reputation: 0
I guess this fix the problem.

http://developers.sun.com/tools/cc/articles/vnc.html

Kikker46
 
  


Reply

Tags
gnome, vnc


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
VNC Server & Red Hat 8 - Blank Screen rdeckard Linux - Software 7 12-20-2011 12:13 PM
Toshiba 5100 & Nvidia - black bar on right side of my screen? rnmartinez Linux - Laptop and Netbook 0 06-10-2004 09:26 PM
Blank Mandrake Screen haku Mandriva 3 04-27-2004 09:03 PM
blank logoff screen&triple os boot luistanaka Linux - Newbie 4 09-01-2003 10:38 AM
RH 7.2 & 7.3 Runlevel 3 = Blank Screen Mayhem Linux - Newbie 2 06-11-2002 02:34 PM


All times are GMT -5. The time now is 04:50 PM.

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