VNC Problem

David G. Miller dave at davenjudy.org
Wed Apr 4 01:50:09 UTC 2007


"Gene Lapointe" <gene at thelapointefamily.com> wrote:

> I followed your instructions and tried from a machine within the local
> network with the same failed to connect to server message.  I also
> had shut the firewall completely off.
OK.  Let's try to get this down to as simple as possible.  What happens 
if you start vncserver on your Fedora box terminal session (Applications 
-> Accessories -> Terminal) with something like:

vncserver -depth 24 -geometry 1280x1024

The startup script will background the server and you'll get a command 
prompt back.  Start the server as a regular user.

Once the server is started enter the following in the same terminal window:

vncviewer -FullColor -geometry 1280x1024 127.0.0.1:1

This starts a vnc session that is strictly local using the loopback 
interface.  If this works it means that your vncserver setup is good and 
the problem lies elsewhere.  If it doesn't work, the server isn't 
starting.  This should also work if you substitute the the IP address or 
hostname of your Fedora box.

BTW, how are you starting your VNC server?  I usually fire things up as 
described above since I'm the only user.  If you start the server 
through the /etc/init.d script (i.e., you enable the service through the 
"Services" application), you'll need to add any users to 
/etc/sysconfig/vncserver.  The file has comments that explain how to add 
users.

Cheers
Dave

P.S. Sorry about the delay getting back to you.  My wife and I took a 
day off to do some skiing before the season ends.  You can't beat 
mid-week skiing: no crowds, no lift lines.

-- 
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce




More information about the fedora-list mailing list