Why am I having xhost problem with vnc?

Updated -

Steps to Reproduce:

/$home/.vnc/xstartup:

  #!/bin/sh
  # Red Hat Linux VNC session startup script
  #exec /etc/X11/xinit/xinitrc
  xrdb $HOME/.Xresources
  xsetroot -solid grey
  xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &

Solution:

You did not add an 'xhost +' line ...

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.