How to enable x11vnc at startup using systemd ?

Hi everyone,
This is what i tried:
copy /usr/lib/systemd/system/x11vnc.service to /etc/systemd/system/x11vnc.service
edit /etc/systemd/system/x11vnc.service, added the Install section and changed ExecStart
[Unit]
Description=VNC Server for X11
Requires=graphical.target
After=graphical.target
[Service]
Type=forking
ExecStart=/usr/bin/x11vnc -rfbauth /etc/x11vnc.pass -rfbport 5900 -display :0 -auth /var/run/lxdm/lxdm-\:0.auth \
-forever -bg -o /var/log/x11vnc.log -xkb -noxrecord -noxfixes -noxdamage -nomodtweak
[Install]
WantedBy=multi-user.target
systemctl daemon-reload
systemctl enable x11vnc
But after reboot, x11vnc was not started automatically, while starting the x11vnc service manually afterwards worked. It turned out I had produced a dependency cycle.
root@archlinux:~# journalctl --this-boot | fgrep cycle
Aug 24 13:09:21 archlinux systemd[1]: Found ordering cycle on graphical.target/start
Aug 24 13:09:21 archlinux systemd[1]: Walked on cycle path to multi-user.target/start
Aug 24 13:09:21 archlinux systemd[1]: Walked on cycle path to x11vnc.service/start
Aug 24 13:09:21 archlinux systemd[1]: Walked on cycle path to graphical.target/start
Aug 24 13:09:21 archlinux systemd[1]: Breaking ordering cycle by deleting job x11vnc.service/start
Aug 24 13:09:21 archlinux systemd[1]: Job x11vnc.service/start deleted to break ordering cycle starting with graphical.target/start
But I am unsure how I can resolve the cycle. Here are the other units envolved in the cycle (both unchanged):
/usr/lib/systemd/system/multi-user.target:
[Unit]
Description=Multi-User System
Documentation=man:systemd.special(7)
Requires=basic.target
Conflicts=rescue.service rescue.target
After=basic.target rescue.service rescue.target
AllowIsolate=yes
[Install]
Alias=default.target
/usr/lib/systemd/system/graphical.target:
Description=Graphical Interface
Documentation=man:systemd.special(7)
Requires=multi-user.target
After=multi-user.target
Conflicts=rescue.target
Wants=display-manager.service
AllowIsolate=yes
[Install]
Alias=default.target
My intention was to start x11vnc.service after graphical.target is reached. How can I achieve this ?
Altering my Install section to
[Install]
Alias=default.target
screws up the system and leads me to an emergency shell at next boot because /etc/systemd/system/default.target was symlinked to /etc/systemd/system/x11vnc.service by systemctl enable x11vnc.
Any ideas / suggestins ?
Thanx
Last edited by Markus.N2 (2013-08-24 16:15:48)

If you are not set completely on using x11vnc but want vnc to run as a server so that you can remotely access a machine even before login, then one way which I used to use regularly is to start the vncserver from the tigervnc package by adding a section to the xorg.conf file. This needs tigervnc to be installed on both local and remote machine.  It is a while since I have used this method but when I did so I used to put something like the following in the xorg.conf file:
Section "Module"
Load "vnc"
EndSection
and later in the file:
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Option "SecurityTypes" "VncAuth"
Option "UserPasswdVerifier" "VncAuth"
Option "passwordFile" "/opt/Local/etc/vnc/passwd"
EndSubSection
EndSection
If you already have an xorg.conf file then you only need to add the load "vnc " and Option  "passwordFile" to the existing xorg.conf. If not, then you can create a minimal xorg.conf to get the vnc module loaded (xorg module not kernel module just to be clear)
Then use the vncpasswd command to create a password file, and have this accessible at /opt/Local/etc/passwd or whathever path and name for the file is suitable for your machine.
Then reboot the computer and the vnc module should be running on the "remote" machine. Check the org log to see if that is the case.
The most secure way to then access the machine remotely is to ssh to the machine from the client in a first terminal window, port forwarding say local port 55900 to the default remote port at 5900 which is the default port on which the vncserver is listening on the remote end.
After making sure you have a copy of the password file on the local client machine that wants access to the remote machine, then in a second terminal window run the usual vnc command "vncviewer --passwd path/to/password-file localhost:55900" to access the remote machine using the local port in this case at 55900 which will tunnel the vnc traffic down the ssh tunnel. 
If this is set up correctly then even from a remote reboot if the remote machine has booted up and has a graphical login screen awaiting the username and password, making the vnc connection as above should allow you to "see" the remote machine screen on the local client, and if the window focus is in this vnc window you should be able to login and use the remote machine in the same way as if you were accessing the remote machine with its mouse and keyboard. If the remote machine is already running a user session then you should see a copy of the remote screen and have mouse and keyboard control remotely.
I ran this technique for some years using different flavours of linux including arch linux but I have not needed to use it for about 9 months now so I have not existing setup with a current arch linux to check that this still works, but I would be surprised if this does not work with arch with up to date packages.
One important note though is that if anyone has the address of the machine and the vnc password file then essentially they can log in and do what they like at the other end within the privileges of the logged in user at the remote machine - so care is needed to ensure that nobody has access to the password file that you would not trust making the connection! Of course also once the vnc server is running at the remote end then the machine is continuously accessible with the above method since it is running without reference to a specific user login.
I hope this helps.
Last edited by mcloaked (2014-06-03 15:21:18)

Similar Messages

  • How to enable a check box using the table LVC_S_FCAT

    hi,
    I am working on reports. I have to have a check box and i am using the table LVC_S_FCAT to get the check box, i am getting the check box. how to enable it.

    Hi Preethi,
    try to set default the check-box with the
    value '0', '1', '-', ' ' and 'X' (0/1 -> only display,
    '-' field is not shown, ' ' and 'X' is normal)
    and see the differences.
    Hope it helps.
    Regards, Dieter
    Sorry, i thought you meen enable not editable.
    Message was edited by: Dieter Gröhn

  • How to enable ospf routing protocol using onePK API

    hi,
    I am new to CIsco routers. I want to enable a routing protocol using OnePk API. is it possible to do so?
    Thanks in advance

    Hey @ajeni0001,
    So far, there is not any document related to enabing OSPF using onePK. 
    As soon as I get something in the web I'll let you know.
    Rgrds,
    Martin, IT Specialist

  • How to enable Find my iPhone using non-primary iCloud account in iOS 7?

    Our business relied on this functionality to track our iPhones and iPads.  We had a separate MDM service so we can remotely manage/wipe devices, but finding the location is important to us.
    There are lots of articles on the Internet on how to set this up on iOS 6, how useful it is for businesses (and families), etc.  Why would Apple change this functionality?  They can still "protect" the feature by requiring a password to turn it off for the account, just like they do with the primary/main iCloud account.
    Help!

    Interesting. I haven't updated yet but I'd like to follow your progress on this issue.
    If an answer isn't found by the end of the day, I will do my own iOS7 update and do my own research. Good luck.

  • How to enable the check box using cl_salv_table?

    Hi Experts,
                 what code will change for to enable the check box in the following Report program?
    REPORT  ZMA_ALV_OOPS2.
    TABLES:MARA.
    TYPES:BEGIN OF T_MARA,
          SEL   TYPE C,
          MATNR TYPE MARA-MATNR,
          WERKS TYPE MARC-WERKS,
          LGORT TYPE MARD-LGORT,
          LABST TYPE MARD-LABST,
         END OF T_MARA.
    DATA:TB_MARA TYPE STANDARD TABLE OF T_MARA,
         WA_MARA TYPE T_MARA.
    DATA: GR_TABLE TYPE REF     TO CL_SALV_TABLE.
      DATA: GR_FUNCTIONS TYPE REF TO CL_SALV_FUNCTIONS.
      DATA: GR_DISPLAY TYPE REF   TO CL_SALV_DISPLAY_SETTINGS.
      DATA: GR_COLUMNS TYPE REF   TO CL_SALV_COLUMNS_TABLE.
      DATA: GR_COLUMN TYPE REF    TO CL_SALV_COLUMN_TABLE.
      DATA: GR_SORTS TYPE REF     TO CL_SALV_SORTS.
      DATA: GR_AGG TYPE REF       TO CL_SALV_AGGREGATIONS.
      DATA: GR_FILTER TYPE REF    TO CL_SALV_FILTERS.
      DATA: GR_LAYOUT TYPE REF    TO CL_SALV_LAYOUT.
      DATA: GR_PRINT TYPE REF     TO CL_SALV_PRINT.
      DATA: GR_SELE TYPE REF      TO CL_SALV_SELECTIONS.
      DATA: GC_TRUE TYPE SAP_BOOL VALUE 'X'.
      DATA: GR_ITEM TYPE REF      TO  CL_SALV_ITEM.
      DATA: COLUMNNAME TYPE REF TO LVC_FNAME.
    top of list for CCL
      DATA: GR_CONTENT_CCL TYPE REF TO CL_SALV_FORM_ELEMENT.
      DATA: GR_COL TYPE REF TO CL_SALV_COLUMN.
      DATA: LT_SORT TYPE SALV_T_SORT_REF,
            LS_SORT TYPE SALV_S_SORT_REF,
            L_SEQUENCE TYPE SALV_DE_SORT_SEQUENCE,
            T_SORT TYPE REF TO SALV_T_SORT_REF.
      DATA: KEY TYPE SALV_S_LAYOUT_KEY.
      DATA: COLOR TYPE LVC_S_COLO.
      DATA: GR_EVENTS TYPE REF TO CL_SALV_EVENTS_TABLE.
      DATA: GR_SELECTIONS TYPE REF TO CL_SALV_SELECTIONS.
    **--Selection screen
    SELECT-OPTIONS:S_MATNR FOR MARA-MATNR.
    SELECT MATNR WERKS LGORT LABST
             FROM MARD
             INTO CORRESPONDING FIELDS OF TABLE TB_MARA
             WHERE MATNR IN S_MATNR.
    TRY.
          CALL METHOD CL_SALV_TABLE=>FACTORY
            IMPORTING
              R_SALV_TABLE = GR_TABLE
            CHANGING
              T_TABLE      = TB_MARA.
        CATCH CX_SALV_MSG.
      ENDTRY.
      GR_TABLE->SET_SCREEN_STATUS(
                  PFSTATUS = 'SALV_TABLE_STANDARD'
                  REPORT = SY-REPID
                  SET_FUNCTIONS = GR_TABLE->C_FUNCTIONS_ALL ).
    GR_FUNCTIONS = GR_TABLE->GET_FUNCTIONS( ).
      GR_FUNCTIONS->SET_ALL( ABAP_TRUE ).
      GR_DISPLAY = GR_TABLE->GET_DISPLAY_SETTINGS( ).
      GR_SELE = GR_TABLE->GET_SELECTIONS( ).
      GR_SELE->SET_SELECTION_MODE(  ).
      GR_TABLE->SET_TOP_OF_LIST( GR_CONTENT_CCL ).
    *--- To change the column headings
      GR_COLUMNS = GR_TABLE->GET_COLUMNS( ).
      GR_COLUMNS->SET_OPTIMIZE( GC_TRUE ).
      GR_SORTS = GR_TABLE->GET_SORTS(  ).
      TRY.
          GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( 'SEL' )  .
          GR_COLUMN->SET_CELL_TYPE( IF_SALV_C_CELL_TYPE=>CHECKBOX ).
          GR_COLUMN->SET_LONG_TEXT( 'CHECKBOX' ).
        CATCH CX_SALV_NOT_FOUND.
      ENDTRY.
      GR_COLUMN->SET_CELL_TYPE( 6 ).
      GR_COLUMN->SET_SHORT_TEXT( 'Check Box' ).
      GR_COLUMN->SET_LONG_TEXT( 'Check Box' ).
    ******Check box edit
      TRY.
          GR_SORTS->ADD_SORT( COLUMNNAME = 'MATNR' SEQUENCE =
          IF_SALV_C_SORT=>SORT_UP ).
        CATCH CX_SALV_DATA_ERROR
              CX_SALV_NOT_FOUND
              CX_SALV_EXISTING.
      ENDTRY.
      GR_LAYOUT = GR_TABLE->GET_LAYOUT( ).
      KEY-REPORT = SY-REPID.
      GR_LAYOUT->SET_KEY( KEY ).
      GR_LAYOUT->SET_SAVE_RESTRICTION( CL_SALV_LAYOUT=>RESTRICT_NONE ).
      TRY.
          GR_COLUMN ?= GR_COLUMNS->GET_COLUMN( 'MATNR' ).
        CATCH CX_SALV_NOT_FOUND.
      ENDTRY.
      COLOR-COL = '8'.
      COLOR-INT = '0'.
      COLOR-INV = '1'.
      GR_COLUMN->SET_COLOR( COLOR ).
      GR_TABLE->DISPLAY( ).
    Thanks,
    Mahesh.

    Hi,
    You can use the method set_selection_mode to automatically show the checkbox for each row..and use the method get_selected_rows to get the rows selected..
    Check this sample report..
    TYPES: BEGIN OF type_output,
             matnr TYPE matnr,
           END OF type_output.
    DATA:lt_output   TYPE STANDARD TABLE OF type_output,
         lwa_rows    TYPE int4,
         lwa_output  TYPE type_output,
         lt_rows     TYPE salv_t_row.
    * Local declarations.
    DATA: lr_table      TYPE REF TO cl_salv_table,
          lr_selections TYPE REF TO cl_salv_selections.
    DATA: lr_columns    TYPE REF TO cl_salv_columns_table.
    START-OF-SELECTION.
    * Prepare data.
      lwa_output-matnr = 'TEST1'.APPEND lwa_output TO lt_output.
      lwa_output-matnr = 'TEST2'.APPEND lwa_output TO lt_output.
      lwa_output-matnr = 'TEST3'.APPEND lwa_output TO lt_output.
    * Call the factory method
      TRY.
          cl_salv_table=>factory(
            EXPORTING
              list_display = 'X'
            IMPORTING
              r_salv_table = lr_table
            CHANGING
              t_table      = lt_output ).
        CATCH cx_salv_msg.                                  "#EC NO_HANDLER
      ENDTRY.
    * Column selection
      lr_selections = lr_table->get_selections( ).
      lr_selections->set_selection_mode( if_salv_c_selection_mode=>row_column ).
      lr_columns = lr_table->get_columns( ).
      lr_columns->set_optimize( abap_true ).
    * Display
      lr_table->display( ).
    * Get the selected rows.
      lt_rows = lr_selections->get_selected_rows( ).
    * Display the selected rows.
      LOOP AT lt_rows INTO lwa_rows.
        READ TABLE lt_output INTO lwa_output INDEX lwa_rows.
        WRITE: / lwa_output-matnr.
      ENDLOOP.
    Thanks
    Naren

  • Hp 8300 SFF How to enable 3rd montior when using MAtrox p690 plus vidoe card with windows 7 pro

    I have an Hp8300 SFF running Win 7 pro with the onboard video as well as an Matrox Millenium P690 video card
    My Current configuration is using the Matrox as Video 1 and 2 but want to have a 3rd monitor running off of the onboard intel card.  I was previously able to do this in WinXP but it will not work in Win 7.
    I have enabled the intel in the bios and it shows in the device manager but I cannot get a the 3rd monitor to show in the Display.
    I have tried using the onboard video thru the vga port as well as the display port and it still will not display.  I have also tried a usb to vga and it will not display the 3rd monitor. 
    The Intel and the Matrox card show in the device manager but there is no option to enable the 3rd montior
    Help.

    Hello Dale-nationwide,
    Welcome to the HP Forums. I understand you would like assistance with your Compaq Elite 8300. However, this is a commercial product. To get better assistance, please post your issue on the HP Commercial Forums: HP Enterprise Business Community
    Thanks,
    Mario
    I worked on behalf of HP.

  • How to enable chunked streaming mode using OSB config file

    Hi All,
    Is there way through which we can enable and disable the chunked streaming mode option in Business service (of OSB) through OSB configuration file?? If yes, please let me know.
    Thanks,
    Aditya

    Hi Aditya,
    I don't think it can be done dynamically the way you described... But I believe you can create two business services, one with chunked=on and the other with chunked=off and route to one of them dynamically according to your configuration...
    Cheers,
    Vlad

  • Enable Auditing and events using SP powershell

    Hi,
    I have many document in site
    so my intention is  enable audit logging  using powershell(2013)
    Attempt 1:
    $siteurl = “http://web/sites/mydocsite/”
    $doclibname = "doc1"
    $site=new-object Microsoft.SharePoint.SPSite($siteurl)
    $web = $site.OpenWeb()
    $doclib = $web.Lists[$doclibname]
    $doclib.Audit.Auditflags = [Microsoft.SharePoint.SPAuditMaskType]::All;
    $doclib.Audit.Update();
    $doclib.Update();
    #To verify in UI
    Write-Host $doclib.Audit.AuditFlags
    after execute this command,i am not get any error..whether i check in
    UI  it is not enable
    My query is how to enable below required checkbos  using Sharepoint management shell in sp2013?
    Enable Auditing --->Enable check chkbox
    Specify the events to audit:
    opening or downloading documents, viewing items in lists, or viewing item properties--->Enable check box
    Editing items-->Enable check box
    Checking out or checking in items-->Enable check bos
    Moving or copying items to another location in the site--->Enable check box
    Deleting or restoring items--->Enable check box
    Please give solution as soon as possible

    check those links
    http://shipoint.com/2012/10/17/setting-sharepoint-2010-audit-log-settings-using-powershell/
    http://shokochino-sharepointexperience.blogspot.com/2013/05/create-auditing-reports-in-sharepoint.html
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/88b4c0e5-bcce-4169-9e93-464d19320d73/sharepoint-2013-foundation-auditing?forum=sharepointgeneral
    Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation

  • How do I run a command at startup with systemd?

    I need to run
    # hdparm -B 255 /dev/sda
    at startup. I used to do this in /etc/rc.local using initscrips. How do I do this using systemd?

    Hi@ All!
    I've tried to get power management work on my RTL8187SE Wireless LAN Controller.
    # iwconfig wlan0 power on
    works fine [edit] for some seconds, then connection is lost!
    RTL8187SE is known for such issues due to 'too' aggressive HW-PM - i have been warned ;-)
    [/edit]
    but ...same procedure as last time... how to get it set automatic at boot?
    Tried creating : /etc/udev/rules.d/wlan0_power_save.rules
    with
    ACTION=="add", SUBSYSTEM=="net", KERNEL=="wlan0", RUN+="/usr/sbin/iwconfig wlan0 power on"
    which does not work cause 'iwconfig wlan0' seems to be executed while 'power on' produces an error.
    The way given here depends on 'iw' - but 'iw' does not work due to missing 'nl80211'... *confused*
    Any ideas?
    renegat
    Edit:
    'iw' is the 'newer' set of wireless-tools - and does not support such old cards as mine.
    Last edited by renegat (2013-02-16 09:43:35)

  • How to enable internet sharing on mac book to use my iphone?

    how to enable internet sharing on mac book to use my iphone?

    Hey PPRoy,
    Thanks for the question. The following article may assist in achieving your goal:
    OS X Mavericks: Share your Internet connection
    http://support.apple.com/kb/PH13855
    Thanks,
    Matt M.

  • How to enable RFC and how to use it in Report..please tell its very urgent

    Dear Techie's,
    Please tell its very urgent..
    How to enable RFC and how to use it in Report. ??
    Virendra

    hi,
    pls chk any of these links.
    http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    http://www.sap-img.com/bapi.htm
    http://www.sap-img.com/abap/bapi-conventions.htm
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sapgenie.com/abap/bapi/example.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    rgds
    Anver

  • Could you let me know how to enable and use ITS on SAP ECC5  and ECC6

    Could you let me know how to enable and use ITS on SAP ECC5  and ECC6

    Hello Tina,
    please see here
    in tree select "Installation and Activation"
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/4f/2e6a52c3cdc44d83169b181a9c62ba/frameset.htm">http://help.sap.com/saphelp_nw70/helpdata/en/4f/2e6a52c3cdc44d83169b181a9c62ba/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/b8/2a8d65be7eee4eb66067f8a33d1c8b/frameset.htm">http://help.sap.com/saphelp_nw70/helpdata/en/b8/2a8d65be7eee4eb66067f8a33d1c8b/frameset.htm</a>
    best regards

  • How do I enable the button to use the tree list in excel? (Enable the list type: Tree enabled in Office 2013 - VSTF 2013)

    Hi, I was looking to see if anyone knows how I can troubleshoot my connection problem with TFS view in excel. I'm trying to  produce a tree view in Office 2013 as described in the following KB -
    https://msdn.microsoft.com/en-us/library/dd286627.aspx
    I have followed the instructions on the KB all the way up to : 'Add backlog items and tasks and their parent-child links using a tree list' and at this point I can't seem to get it to work as the button is greyed out.
    Note that I have completed steps 1-6 for the previous procedure... all 6 steps work just fine. However on step 2 of the second procedure - the instructions state I should be able to 'Add Tree Level' - However the button is greyed out.
    Anyone know what I need to do to enable the button to use the tree list in excel? 
    Frank

    Frank,
    I believe your issue is that you have opened a Flat query and are trying to add tree levels. A flat query is just that and you cannot change the query type from Excel.
    The second process is managing a backlog (which is a tree). TFS web access has a link on the backlog view to create a query. That query will be a "tree of work items" query that returns the items in the backlog including their parent-child relationships.
    This type of query supports the Add Tree Level and Add Child functionality as does a new Input List (not bound to an existing query).
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • How to enable commenting into pdf files using java?

    Hi All,
    Is there any way available to enable comments into pdf files through java. I have a Adobe Reader 9 and also I want put some comments into pdf file, but the reader is not allowed to place a comment into pdf file before enabling the Comments into pdf. After enabling the comments in pdf file then only we can place the comments and we can the pdf file with comments.
    Is there any way available to enable comments into pdf file to view acrobat reader.
    Thanks in advance.

    The end user who uses the web application has Acrobat installed in their mahcine needs it only for the purpose of enabling comments in pdf. If this task of enabling comments in pdf is done through my application there is no need for acrobat in such user's machine which was requested as a cost cuttnig measure.
    For this purpose, i need to know about how to enable comments in pdf through java api.
    I have used itext java api for other pdf related manipulation in java. But it does not have feature as per the requirement posted above. Can any body suggest relevant java api to achieve the task requested?
    Tahnks in Advance.

  • How to Enable Remote services using the GPO for the Client Machines

    How to enable remote Access services on Client machines using the Group Policy. After enable how to access with out switching the users  remote as administrator

    Hi,
    If you use windows server 2003, we can refer to the following link to enable remote access services on Client machines using the Group Policy:
    Enable or disable Remote Desktop
    http://technet.microsoft.com/en-us/library/cc727977(v=WS.10).aspx
    If you use windows server 2008 and later version, we can refer to the following link to enable remote access services on Client machines using the Group Policy:
    How to Enable or Disable Remote Desktop via Group Policy Windows 2008
    http://social.technet.microsoft.com/wiki/contents/articles/4980.how-to-enable-or-disable-remote-desktop-via-group-policy-windows-2008.aspx
    After you enable
    Allow users to connect remotely using Remote Desktop Services policy setting, users who are members of the Remote Desktop Users group on the target computer can connect remotely to the target computer by using Remote Desktop Services.
    So if you want users to access computer remotely, you need add users as members of the Remote Desktop Users group on the target computer.
    About how to add users to the Remote Desktop Users group, please refer to the following link:
    Configure the Remote Desktop Users Group
    http://technet.microsoft.com/en-us/library/cc743161.aspx
    Best Regards,
    Erin

Maybe you are looking for