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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In