Re: Redhat Enterprise 4 Remote Desktop (VNC) Server Port
From: Don Lindbergh (don_at_donlindbergh.com)
Date: 03/29/05
- Previous message: Smith, Albert: "RE: Redhat Enterprise 4 Remote Desktop (VNC) Server Port"
- In reply to: Ed Greshko: "Re: Redhat Enterprise 4 Remote Desktop (VNC) Server Port"
- Next in thread: Ed Greshko: "Re: Redhat Enterprise 4 Remote Desktop (VNC) Server Port"
- Reply: Ed Greshko: "Re: Redhat Enterprise 4 Remote Desktop (VNC) Server Port"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: "General Red Hat Linux discussion list" <redhat-list@redhat.com> Date: Mon, 28 Mar 2005 21:33:44 -0500
>> Ed wrote:
> 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. :-)
Hmmm, just tried editing that file and specifying a different port,
restarted, and the vnc server continues to run on tcp port 5900 (I had
previously thought it was 5800).
If I stop the server, I do an nmap afterwards and it's still
running/listening and I can connect with a client.
/etc/init.d/vncserver stop
Shutting down VNC server: [ OK ]
[root@localhost don]# nmap -sT -O localhost
Starting nmap 3.70 ( http://www.insecure.org/nmap/ ) at 2005-03-28 21:29 EST
Interesting ports on localhost.localdomain (127.0.0.1):
(The 1655 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
111/tcp open rpcbind
631/tcp open ipp
5900/tcp open vnc
--Don
-- redhat-list mailing list unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list
- Previous message: Smith, Albert: "RE: Redhat Enterprise 4 Remote Desktop (VNC) Server Port"
- In reply to: Ed Greshko: "Re: Redhat Enterprise 4 Remote Desktop (VNC) Server Port"
- Next in thread: Ed Greshko: "Re: Redhat Enterprise 4 Remote Desktop (VNC) Server Port"
- Reply: Ed Greshko: "Re: Redhat Enterprise 4 Remote Desktop (VNC) Server Port"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|