SCIENTIFIC-LINUX-USERS Archives

February 2014

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
ToddAndMargo <[log in to unmask]>
Reply To:
ToddAndMargo <[log in to unmask]>
Date:
Fri, 7 Feb 2014 18:35:25 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (87 lines)
On 01/30/2014 06:59 AM, James M. Pulver wrote:
> I’m testing out XRDP on SL6.4, and have compiled 0.6.1. This works for
> root to log in. However, I can’t seem to set permissions (via the group
> setting in sesman.ini) to a different group (i.e. one that exists in our
> environment)… Has anyone had this work with non-local users and groups?
>
> --
>
> James Pulver
>
> CLASSE Computer Group
>
> Cornell University
>

Hi James,

This is probably not very helpful, but I am running
a 0.6.0 XRDP server on a Fedora Core 20 workstations.
No problems at all.

Here are my notes on what I did to set it up.  Maybe
you missed something?  SL6.x does not use "systemctl"
yet.  So, the old fashioned init.d way.

-T

Fedora 19: how to configure "xrdp":

Reference: 
http://www.scottalanmiller.com/linux/2013/08/18/installing-xrdp-on-fedora-19/

Installing XRDP on Fedora 19


1) install xrdp:
    # yum install xrdp


2) change the default port:

    # vi /etc/xrdp/xrdp.ini

Modify "Port" under the "[Global]" section


3) add the service descriptions to the systemd system and set them to start.

# systemctl enable xrdp.service
# systemctl start xrdp.service
# systemctl enable xrdp-sesman.service
# systemctl start xrdp-sesman.service
# firewall-cmd --permanent --add-port=3389/tcp  -->Or whatever port you 
changed it to<--
# systemctl restart firewalld


4) test to see if your ports are open:

# nmap -Pn -p T:5022 192.168.255.114
...
PORT     STATE SERVICE
5022/tcp open  unknown


5) if you goof the firewall rule or the port

     Remove the bad firewall rule with:
       # firewall-cmd --remove-port=5022/tcp  -->Or whatever port<--

     edit /etc/xrdp/xrdp.ini and modify the "Port"

     To restart everything and make the new setting take:

         # systemctl restart firewalld
         # systemctl restart xrdp.service
         # systemctl restart xrdp-sesman.service




-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

ATOM RSS1 RSS2