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

From: Smith, Albert (Albert.Smith_at_genexservices.com)
Date: 03/29/05

  • Next message: Ed Greshko: "Re: Redhat Enterprise 4 Remote Desktop (VNC) Server Port"
    Date: Mon, 28 Mar 2005 20:42:34 -0500
    To: "General Red Hat Linux discussion list" <redhat-list@redhat.com>
    
    

    Ah but you can...

    You can do this in a config file I did it...

    vi /etc/sysconfig/vncservers

    Add the following line

    httpport=port

    Then modify /etc/init.d/vncserver

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

    However another way to change the httpport is to change the display
    number. Such as if vncserver is on screen 2 then you would access it via
    the web at:

    http://vncserver:5802

    If you are on display 6

    http://vncserver:5806

    These are the 580x are the standard port numbers. I don't know if there
    is a max on the amount of VNC Servers I would assume it is 9 as on
    Display 0 is your local X Windows Server

    Albert Smith
    Sr. Unix Systems Administrator
    HPCSA, RHCT
    Genex Services
    440 E. Swedesford Rd.
    Wayne, PA 19087
    albert.smith@genexservices.com
    (610) 964-5154
     

    > -----Original Message-----
    > From: redhat-list-bounces@redhat.com
    > [mailto:redhat-list-bounces@redhat.com] On Behalf Of Ed Greshko
    > Sent: Monday, March 28, 2005 8:35 PM
    > To: General Red Hat Linux discussion list
    > Subject: Re: Redhat Enterprise 4 Remote Desktop (VNC) Server Port
    >
    >
    >
    > 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@redhat.com?subject=unsubscribe
    > https://www.redhat.com/mailman/listinfo/redhat-list
    >
    >

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

  • Next message: Ed Greshko: "Re: Redhat Enterprise 4 Remote Desktop (VNC) Server Port"

    Relevant Pages

    • Re: nvidia-xconfig and xserver-xorg-video-nv
      ... I think it is best if we first try to your "nv" driver ... working and then adapt the config file for the "nvidia" one. ... SubSection "Display" ...
      (Debian-User)
    • Re: nvidia-xconfig and xserver-xorg-video-nv
      ... I think it is best if we first try to your "nv" driver ... working and then adapt the config file for the "nvidia" one. ... SubSection "Display" ...
      (Debian-User)
    • Re: The problem of displaying
      ... I installed Debian in my Thinkpad T43, and installed ATI driver. ... Now my display should be 1400*1050. ... The lack of proper config file might ...
      (comp.os.linux.misc)
    • Re: datagrid display when loading config file
      ... I also found a simpler approach to just load the timer interval from the ... config file into a textbox for editing. ... just to the one table of the DataSet and it will display expanded. ... When I click on appsettings, it reverts back to '+' On clicking that, ...
      (microsoft.public.dotnet.languages.csharp)