Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > Networking > Issue <<  50 of 356 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 1188
Last update: 05-11-06
Issue:
I have xhosts problems with VNC and need to set 'xhost +' when my system boots. How do I make 'xhost +' set at boot time?
Resolution:
You can not add an 'xhost +' line at the end of the /etc/rc.local file. You will have to modify the ${HOME}/.vnc/xstartup where ${HOME} is the path to the user's home directory. You can add the "xhost +" line like this:

 
   #!/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" &
   xhost + 
    


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > Networking > Issue <<   50  of  356  >>