Re: Redhat Enterprise 4 Remote Desktop (VNC) Server Port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Don Lindbergh wrote:
Ed wrote:

man Xvnc


Thanks. The Xvnc man page references a file which doesn't exist on my system, inetd.conf. xinetd.conf exists but it doesn't contain anything pointing to Xvnc nor does my etc/xinetd.d directory.

So, exactly how is the vnc server started after using the interface to change remote desktop preferences, 'sharing, allow other users to view your desktop, allow other users to control your desktop' etc.? IE, if there's some file somewhere containing a line which is running 'Xvnc' with some parameters, what file is that?

I checked the Redhat documentation and didn't find anything about this.

Well...one way to do this is to edit the /etc/init.d/vncserver file.

In the "start" subroutine exit the line:

"su ${USER} -c \"cd ~${USER} && [ -f .vnc/passwd ] && vncserver :${display%%:*}\""

to be:

"su ${USER} -c \"cd ~${USER} && [ -f .vnc/passwd ] && vncserver -httpport 6900 :${display%%:*}\""

Seems as if there should be a way to specify this in a config file...and yes I assumed the Xvnc man page would have had it. :-)

Ed

--
"A common mistake that people make when trying to design something
completely foolproof was to underestimate the ingenuity of complete
fools."

--Ford Prefect in "Mostly Harmless".

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux