LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 11-02-2005, 12:26 PM   #1
ejennings_98
Member
 
Registered: Sep 2003
Location: Canada, West Coast
Distribution: Mandriva 2012.1 i586 & x86_64
Posts: 69

Rep: Reputation: 15
vncserver does not work - 2006 x86_64


I have a new machine, I installed Mandriva 2006 x86_64. I did the usual install adding tightvnc server and client. I cannot get the vncserver to work.

The vnc client does not generate an error, it does nothing, not even ask me for a password.

I have a second machine, Mandriva 2005LE - 32bit running. I have compared the vnc setup and they both seem to be the same. I can easily connect to this second machine using vnc from Linux or Windows.

Currently the new system is running Apache, MySQL, WebMin and ssh; all are working and I can connect to any of them remotely. I am on a secure network, so for now I disabled the firewall.

Any suggestions regarding what I should try?

Regards, Eric
 
Old 11-02-2005, 02:30 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
well you can define what doing nothing actually means.. does it timeout or somthing?
 
Old 11-02-2005, 03:10 PM   #3
ejennings_98
Member
 
Registered: Sep 2003
Location: Canada, West Coast
Distribution: Mandriva 2012.1 i586 & x86_64
Posts: 69

Original Poster
Rep: Reputation: 15
Chris:

Yes, sorry I should be more specific. When I say the vnc client does nothing when connecting to the vncserver, what I have found is this:

On Linux the VNC client apparently connects, but the window is black, displaying nothing. As well it never prompted me for a password even though I had set one.

On Windows the VNC client does not show after I attempt to connect. There is no timeout or anything. If I check the task list I find that the vnc client is running.

With with both vnc clients I am able to connect to a second Linux server in my office with no problems.

Regards, Eric
 
Old 11-03-2005, 05:21 PM   #4
ejennings_98
Member
 
Registered: Sep 2003
Location: Canada, West Coast
Distribution: Mandriva 2012.1 i586 & x86_64
Posts: 69

Original Poster
Rep: Reputation: 15
bump
 
Old 11-03-2005, 06:01 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
check the vncserver logs in ~/.vnc/host:display#.log. if you're running the server as a service, try just using the vncserver command directly instead, if only for debugging purposes.

Last edited by acid_kewpie; 11-03-2005 at 06:10 PM.
 
Old 11-03-2005, 07:20 PM   #6
ejennings_98
Member
 
Registered: Sep 2003
Location: Canada, West Coast
Distribution: Mandriva 2012.1 i586 & x86_64
Posts: 69

Original Poster
Rep: Reputation: 15
Chris:

Here is the output from the log file:

02/11/05 14:37:59 Xvnc version 3.3.tight1.2.9
02/11/05 14:37:59 Copyright (C) 1999 AT&T Laboratories Cambridge.
02/11/05 14:37:59 Copyright (C) 2000-2002 Constantin Kaplinsky.
02/11/05 14:37:59 All Rights Reserved.
02/11/05 14:37:59 See http://www.uk.research.att.com/vnc for information on VNC
02/11/05 14:37:59 See http://www.tightvnc.com for TightVNC-specific information
02/11/05 14:37:59 Desktop name 'X' (myserver:1)
02/11/05 14:37:59 Protocol version supported 3.3
02/11/05 14:37:59 Listening for VNC connections on TCP port 5901
02/11/05 14:37:59 Listening for HTTP connections on TCP port 5801
02/11/05 14:37:59 URL http://myserver:5801
failed to set default font path 'unix/:-1'
Fatal server error:
could not open default font 'fixed'
XIO: fatal IO error 104 (Connection reset by peer) on X server ":1.0"
after 0 requests (0 known processed) with 0 events remaining.


It appears there is a font issue. With a lot of googling all I could come up with is to add a /etc/vnc.conf file and set the font path. However I could not find any examples. Any ideas how to resolve this, or is adding a vnc.conf file the solution?

Eric
 
Old 11-03-2005, 10:35 PM   #7
mrcheeks
Senior Member
 
Registered: Mar 2004
Location: far enough
Distribution: OS X 10.6.7
Posts: 1,690

Rep: Reputation: 50
you might have a font problem check your /etc/X11/xorg.conf file.
 
Old 11-04-2005, 11:17 AM   #8
ejennings_98
Member
 
Registered: Sep 2003
Location: Canada, West Coast
Distribution: Mandriva 2012.1 i586 & x86_64
Posts: 69

Original Poster
Rep: Reputation: 15
mrcheeks:

I modified the /etc/X11/xorg.conf file and still I cannot connect. However there was one thing, the ~/.vnc/xxxx:1.log file no longer had the font error.

But that is confusing to me as Mandrake has been running a font server for along time, and should not require the extra font info to be added to the xorg.conf file.

With much googling for the previous error "failed to set default font path" and "vncserver", I have found that lots of Debian systems have had to maintain a /etc/vnc.conf file, with the font paths in it. Are you familiar with this?

Any other suggestions?

Regards, Eric
 
Old 11-05-2005, 02:07 AM   #9
stork
LQ Newbie
 
Registered: Oct 2005
Posts: 25

Rep: Reputation: 15
This is how i got my vnc server to work, mabye it will work for you too...

First, as root open /etc/sysconfig/vncservers
Add line: VNCSERVERS="1:your_username"
Save and exit.

Then open /home/your_username/.vnc/xstartup
Uncomment the #!/bin/sh (remove the #-sign)
Save and exit.

Then open /etc/rc.d/rc.local
Add line at end: su your_username -c "vncserver -depth 16 -geometry 1280x1024"
This is to set the colordepth and geometry, you can set them as you want

Then start terminal.
As root: chkconfig --level 35 vncserver on

This will start the vnc sever at boot

The first time you restart your computer you will have to set a vnc password.
Start terminal:
As your_username: vncpasswd
then set a password and it should work.

Please let me know if it worked out!
 
Old 11-05-2005, 12:26 PM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966Reputation: 1966
i think i had an issue a while ago similar to this, where the fonts had moved between the use of xfree86 and xorg. as such vncserver was looking in the wrong location for fonts. either use the -fp option to tell it where the new location is, or edit the vncserver script yourself and change the line in there.
 
Old 11-07-2005, 11:55 AM   #11
ejennings_98
Member
 
Registered: Sep 2003
Location: Canada, West Coast
Distribution: Mandriva 2012.1 i586 & x86_64
Posts: 69

Original Poster
Rep: Reputation: 15
Chris:

When I edited the vncserver file I got a string of new errors looking for the 100dpi fonts. This server does not have the 100dpi fonts, but neither does my other 32bit server which is currently running vncserver.

This is rather confusing, but I will attempt to install the fonts.

Eric
 
Old 11-23-2005, 04:30 AM   #12
smiler
Member
 
Registered: Sep 2002
Distribution: Mandrake 10.0 O
Posts: 48

Rep: Reputation: 15
did you get this one fixed?

I have the same problem with the same installation,
how did you fix it (if you did)??

Quote:
Originally posted by ejennings_98
Chris:

When I edited the vncserver file I got a string of new errors looking for the 100dpi fonts. This server does not have the 100dpi fonts, but neither does my other 32bit server which is currently running vncserver.

This is rather confusing, but I will attempt to install the fonts.

Eric
 
Old 11-23-2005, 10:44 AM   #13
ejennings_98
Member
 
Registered: Sep 2003
Location: Canada, West Coast
Distribution: Mandriva 2012.1 i586 & x86_64
Posts: 69

Original Poster
Rep: Reputation: 15
smiler:

I did not fix it. I decided to use Webmin to remote administer the machine. By using ssh and webmin I can do pretty much anything I need.

This is what I tried:
- I installed the 100dpi fonts,
- I tried all other suggestions mentioned in this thread,
- I did extensive searching on Google and tried a number of other tips, tricks and magic,
Nothing worked!

Just to recap the systems that I have worked with:
- I currently have two 32 bit machines both running Mandriva 2005 LE and I have had no problems running VNC server. I have run VNC on about 5 other Linux based machines in the past with little problems.
- I have setup two 64 bit machines, one with Mandriva 2005 LE and the other with Mandriva 2006. I cannot get VNC server to work with either of them.

I have decided not to waste any more time on this issue.

Regards, Eric
 
Old 11-25-2005, 02:59 AM   #14
smiler
Member
 
Registered: Sep 2002
Distribution: Mandrake 10.0 O
Posts: 48

Rep: Reputation: 15
[QUOTE]Originally posted by ejennings_98
[B]smiler:

Same here, all my i586 installations never had any problems with VNC.
I had the same experience as you with the A64 one, except I had never any font errors, so I think it is unrelated to these.

I have found that I can tunnel X over SSH, so I can bring up the applications one by one by first connecting with ssh -X server-address and then just starting applications from the remote console command-line -- /usr/sbin/drakconf & to get the Mandriva control center remotely.

I wonder if it is worth submitting a bug report ?

Cheers

Steen
 
Old 11-25-2005, 04:59 AM   #15
smiler
Member
 
Registered: Sep 2002
Distribution: Mandrake 10.0 O
Posts: 48

Rep: Reputation: 15
Also uninstallling tightvnc-server and installing the 32 bit version makes it able to connect to, but a lot of kded crash messages pops up, but u can use the applications

Cheers

Steen
 
  


Reply


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
2006 x86_64 barrythai Mandriva 17 10-28-2005 07:21 AM
getting vncserver to work on Fedora jerryk Linux - Newbie 1 07-15-2004 11:36 AM
can vncserver work on X mgyildiz Linux - Software 4 03-14-2004 06:37 PM
Getting Vncserver to work on Fedora ajspliffs Linux - Software 2 01-13-2004 02:57 PM
Getting vncserver to work JoshNelson Linux - Software 5 10-05-2003 02:56 PM


All times are GMT -5. The time now is 09:56 AM.

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