How to configure VNC in Linux Suse

I am trying to configure openSUSE 11.2 "Emerald" for Remote access, and having a problem

What I have done:

  1. Using YaST -> Network Devices -> Remote Administering -> Allow Remote Administration

  2. Firewall is disabled

  3. I have installed free RealVNC on Windows XP

Problem when I try to use RealVNC to connect to:

  • 192.168.XXX.XXX:5900 it gives me error "unable to connect to host: Connection refused (10061)"

  • 192.168.XXX.XXX:5901 gives me a black screen with mouse pointer

In browser is the same results with just different ports 5800 and 5801

What I have missed?

Updated:

Yes, it worked. What I have done is:

  1. Open Gnome Terminal
  2. Type command "vncserver"
  3. Enter client access password
  4. Open File Browser -> View -> Show hidden files
  5. Open ~home/.vnc folder
  6. Open xstartup file in gedit
  7. Replace existing code with next 2 lines:
#!/bin/sh
/usr/bin/gnome &

And it start working, thanks to Jed Daniels


It sounds like you probably are getting connected, but don't have any X desktop configured. Check out this page for instructions on configuring a different desktop manager (you can probably skip the sections about installation and go right to the section on Configuring).