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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-10-2005, 10:07 AM
|
#1
|
Member
Registered: Jul 2005
Posts: 33
Rep:
|
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.
|
|
|
10-10-2005, 10:45 AM
|
#2
|
LQ Newbie
Registered: Aug 2005
Location: Pennsylvania
Distribution: FC4
Posts: 14
Rep:
|
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
|
|
|
10-10-2005, 10:51 AM
|
#3
|
Member
Registered: Jul 2005
Posts: 33
Original Poster
Rep:
|
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.
|
|
|
10-10-2005, 11:24 AM
|
#4
|
LQ Newbie
Registered: Aug 2005
Location: Pennsylvania
Distribution: FC4
Posts: 14
Rep:
|
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.
|
|
|
10-10-2005, 11:30 AM
|
#5
|
Member
Registered: Jul 2005
Posts: 33
Original Poster
Rep:
|
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...
|
|
|
10-10-2005, 11:37 AM
|
#6
|
LQ Newbie
Registered: Aug 2005
Location: Pennsylvania
Distribution: FC4
Posts: 14
Rep:
|
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.
|
|
|
03-04-2015, 05:05 PM
|
#7
|
LQ Newbie
Registered: Mar 2015
Location: Loveland, CO, USA
Distribution: CentOS 6.6
Posts: 1
Rep: 
|
It worked!
zirtik, your solution (edit /etc/hosts and add a line) worked for me. Thanks!
|
|
|
All times are GMT -5. The time now is 12:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|