Results 1 to 5 of 5

Thread: change rdesktop port

  1. #1

    Default change rdesktop port

    Dear all,
    I would like rdesktop to listen to port 5909 and thus I changed

    /etc/xrdp/xrdp.ini to look like
    Code:
    [globals]
    bitmap_cache=yes
    bitmap_compression=yes
    port=5909
    crypt_level=low
    channel_code=1
    
    [xsessions]
    path=/usr/share/xsessions
    lib=libdmx.so
    username=ask
    password=ask
    ip=127.0.0.1
    port=5909
    
    [failsafe]
    name=Failsafe Terminal
    exec=xterm
    lib=libvnc.so
    username=ask
    password=ask
    ip=127.0.0.1
    port=5909

    afterwards
    I do
    Code:
    rcxrdp restart
    Shutting down xrdp                                                                                                               done
    Starting xrdp

    but when I try to do:

    rdesktop myhostname:5909
    Autoselected keyboard map en-us
    ERROR: connect: Connection refused

    What might be the problem?
    Before changing port numbers was working fine.

    Best Regards
    Alex

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,804

    Default Re: change rdesktop port

    Firewall? ..............
    Henk van Velden

  3. #3
    Join Date
    Nov 2009
    Location
    ND, USA
    Posts
    1,131

    Default Re: change rdesktop port

    On Mon May 23 2011 01:06 pm, hcvv wrote:

    >
    > Firewall? ..............
    >
    >

    alaios;

    Open port 5909 on your firewall. To do this use: YaST>Security and
    Users>Firewall>Allowed Services>Advanced, here you can open port 5909.
    --
    P. V.
    "We're all in this together, I'm pulling for you." Red Green

  4. #4

    Default Re: change rdesktop port

    firewall is not running at all
    and when I do nmap -v hostname
    I can not see the service running!

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,804

    Default Re: change rdesktop port

    Code:
    netstat -ltp
    will show you what TCP ports which programs are listening to (on the server of course).
    Henk van Velden

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •