LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-10-2005, 10:07 AM   #1
zirtik
Member
 
Registered: Jul 2005
Posts: 33

Rep: Reputation: 15
VNC problem


Hello, i'm a linux newbie using Fedora 1 on a 550 Mhz P III with 256 mb memory. I want to run vnc server on my machine, i have it already installed but when i type

>#vncserver

i get the following output:

VNC Server Enterprise Edition 4.1.8 - built Sep 29 2005 16:16:21
Copyright 2002-2005 RealVNC Ltd.
xauth: (argv):1: bad display name "didem:1" in "add" command
Error: could not run xauth

where "didem" is the computer name.

Can this be an installation issue?
A google search on xauth didn't work so any help will be appreciated.
Thanks in advance.

Last edited by zirtik; 10-10-2005 at 10:08 AM.
 
Old 10-10-2005, 10:45 AM   #2
sshoemaker
LQ Newbie
 
Registered: Aug 2005
Location: Pennsylvania
Distribution: FC4
Posts: 14

Rep: Reputation: 0
xauth problem

Make sure you have this rpm installed -- it's the xauth rpm for fedora core 1

http://rpm.pbone.net/index.php3/stat....i386.rpm.html

also you may have to do an `xhost +localhost` or something similar in order to allow the vnc server to connect to the x-server.

Hope that helps
 
Old 10-10-2005, 10:51 AM   #3
zirtik
Member
 
Registered: Jul 2005
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks, but it seems that i already have xauth installed, any more suggestions?
In case it helps, my /etc/hosts file looks like the following:

#---------------------------------------------------------------------------
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
#---------------------------------------------------------------------------

Thanks in advance

Last edited by zirtik; 10-10-2005 at 11:00 AM.
 
Old 10-10-2005, 11:24 AM   #4
sshoemaker
LQ Newbie
 
Registered: Aug 2005
Location: Pennsylvania
Distribution: FC4
Posts: 14

Rep: Reputation: 0
vnc problem

Does your xserver run on :1 or :0 by default?? if it is :0 try running `vncserver :0` also make sure that it is allowed to connect with the xhost command..

also check the environment variable $DISPLAY to see what it is set to (if it's not set or if it is wrong set it with `export DISPLAY=:0.0` and then try the vncserver command again.
 
Old 10-10-2005, 11:30 AM   #5
zirtik
Member
 
Registered: Jul 2005
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks sshoemaker, i have solved the problem editing the /etc/hosts file by adding the following line


"192.168.108.94 didem.localdomain didem" without the quotes.

However, i have another problem now, the vnc server gives a fatal error regarding that the trial period has expired. I have checked the realvnc site and they do not provide a trial license. I don't know how this happened but i don't want to buy something i have never experienced so i need a free vnc server. Any suggestions?

Thanks...
 
Old 10-10-2005, 11:37 AM   #6
sshoemaker
LQ Newbie
 
Registered: Aug 2005
Location: Pennsylvania
Distribution: FC4
Posts: 14

Rep: Reputation: 0
vnc server

I haven't tried this one under linux but in Windows it works really well...
http://prdownloads.sourceforge.net/v...6.rpm?download

It's released under the GPL so it's free. If you would feel guilty about not paying anything you can donate to them after you try it out.
 
Old 03-04-2015, 05:05 PM   #7
KSellers66
LQ Newbie
 
Registered: Mar 2015
Location: Loveland, CO, USA
Distribution: CentOS 6.6
Posts: 1

Rep: Reputation: Disabled
It worked!

zirtik, your solution (edit /etc/hosts and add a line) worked for me. Thanks!
 
  


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
VNC problem gauge73 Linux - Networking 13 01-27-2009 12:34 AM
VNC Problem RySk8er30 Mandriva 2 09-05-2005 05:57 PM
little vnc problem -- please help ruwach Linux - Software 3 12-06-2004 10:47 PM
VNC Problem Wolf-67 Linux - Newbie 1 10-01-2004 06:19 PM
VNC problem Fulkan Linux - Software 1 10-01-2004 06:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:59 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration