Red Hat Enterprise Linux > Networking > Issue
<<
50 of 356
>>
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 +
|
Red Hat Enterprise Linux
>
Networking
> Issue
<<
50
of
356
>>