Xvnc hangs after exiting Remote Desktop session

After closing a window of Remote Desktop session with XFCE Desktop run on latest ArchLinux, XRDP server exits, but Xvnc server started by that session keeps running, and within 5-10 min starts suddenly putting high load on CPU, while doing nothing useful.
Why this happen, and how to auto close it when closing Remote Desktop window & session?

While the hang reason is still unknown, I found that login out of XFCE from within open XRDP session window before closing the session will shutdown relevant processes on the server host, including Xvnc.

Similar Messages

  • I need windows 7 screensaver to activate after terminating a remote desktop session

    I need windows 7 screensaver to activate after terminating a remote desktop session
    Ok, so this one is slightly complex.
    I have a monitor at work which needs to display company info via a screensaver set to scroll through a series of images. This is a pretty standard thing, but where my problem occurs is that the screensaver must be updated remotely each
    day via Remote Desktop, and not by a local user sitting at the PC itself. This works on XP with a bit of hacking and playing with settings. But it won't work on W7.
    Ok, so the XP setup first:
    When terminating the remote session, on the XP machine the system looks here:
    C:\windows\system32\config\defaultprofile\administrator’s documents\administrator’s pictures
    OR
    C:\WINDOWS\system32\config\systemprofile\ administrator’s documents\administrator’s pictures
    for the images to display during the screensaver, so I placed a shortcut to this folder (whichever one of the two it is on either of the two PCs i am doing this on; for some reason it isn't always the same path across all machines)
    on the desktop and had the user place the images in there. I also do a small registry hack so that after a timeout of 60 seconds, the screensaver looked in this location, found the images, and displayed as you'd expect. It always looks here after a remote
    session, and ignores the screensaver configured in the control panel UI, hance these stpes were necessary.
    So, now the PCs are being upgraded to W7, but this isn't working. I think it's because on W7 the desktop isn't simply being locked when a remote session is started, the entire user is being logged off. Once the session is terminated,
    the W7 PC sits at the login screen indefinitely and no screensaver ever displays.
    Does anyone know a workaround here? Sorry for the overly complex explanation, and if it doesn't make sense I'd be happy to elaborate. Thanks.

    Hi,
    Please see if the Screen saver timeout setting helps:
    Group Policy Settings for Personalization
    http://technet.microsoft.com/en-us/library/ee617164(v=ws.10).aspx
    Thanks.
    Nicholas Li
    TechNet Community Support

  • The grace period for the Remote Desktop Session Host server has expired

    <p>I'm running Windows Server 2012, we only have 1 server and it's a DC.  I'm trying to RD to the server from my Windows 7 laptop. It was working fine on Friday but when I came in on Monday I got message saying that 'The remote session was disconnnected
    because there are no Remote Desktop License Servers available to provide a license'
    So after a bit of digging I found out my 'grace period' had expired, so ordered a new license which I got today, installed this all ok but still i cannot connect via RD I get the same message....went into the RD License Diagnoser and it said the problem
    was as follows
    'The grace period for the Remote Desktop Session Host server has expired, but the RD Session Host server has not been configured with any license servers. Connections to the RD Session Host server will be denied unless a license server is configured for
    the RD Session Host server.'
    Suggested Resolution as follows
    Configure a license server for the Remote Desktop Session Host server. If you have an existing license server, specify that license server for the RD Session Host Server. Otherwise, install RD Licensing on a computer on your network and Configure RD Session
    Host Server to use it.'
    I cannot figure out how to do this as I cannot find the RD Session Host Server tool. 
    Can any of you lovely people help me please

    Hello,
    Best option would be to assign the license server by using AD GPO. Youl will need to configure the following:
    Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Licensing
    and define the settings for:
    Use the specified Remote Desktop License Server
    Set the Remote Desktop Licensing mode
    Then assign the policy tho your server.
    regards Robert Maijen

  • Windows 2012 R2 - Remote Desktop Sessions, RemoteFX, GPU, Blue Screen RemoteFX adaptor

    Nvidia GPU GRID K1
    Host Server - Dell Power edge R720 128 gig RAM 2 Xeon E5-2640v2 2.0GHz, 20M cache 8c
    Windows 2012 R2 full installation – Bios and all hardware with latest updates.
    Roles - Hyper V and Remote Desktop Virtualization Host
    EPT, GPU, WDDM (latest drivers) compatible for RemoteFX and fully up to date.
    I have disabled the video adaptor on the motherboard.
    I cannot complete with administrative permissions;
    dism /online /enable-feature /featurename:Microsoft-Windows-RemoteFX-EmbeddedVideoCap-Setup-Package
    Error: 0x800f080c
    Feature name Microsoft-Windows-RemoteFX-EmbeddedVidoCap-Setup-Package is unknown
    Question 1 - because video card on motherboard disabled, do I still need to complete this command?
    VM’s
    **I’m not interested in VDI but more Remote Desktop Sessions and the option to ‘pinch and zoom with Windows 8.1 tablets**
    VM1 - Windows 2012 R2 configured as generation 1 that is fully patched.
    This VM is able to start up and run until I add the new hardware for the RemoteFX Video adaptor from within the Hyper V settings. When I start the VM the server blue screens. I have tried multiple VM’s with 2012 but same thing
    If I created the VM as Generation 2 I am able to start the VM but the RemoteFX adaptor doesn’t appear in the device manager. I have read generation 2 isn’t compatible with RemoteFX.
    VM2 – *Testing purposes* - Windows 8.1 Enterprise configured as generation 1 that is fully patched.
    This VM I am able to start up and run the VDI after the RemoteFX video adaptor is installed, also the correct adaptor appears in the device manager. This seems to at least work correctly but I cannot pinch and zoom and the experience is poor.
    GPU summary within the Hyper V settings state there are 4 physical GPU’s all of which can be used with RemoteFX and that 1 virtual machine are using the GPU (Windows 8.1 enterprise VM)
    Firewalls off, latest RDP clients
    I have read you should be able to use Windows 2012 R2 and we should be able to use the sessions with pinch and zoom but now and then you come across something that tells me different.
    Question 2 – I need this to work with Windows 2012 R2 so we can use Remote Desktop Sessions 
    and the tablets can use pinch and zoom, anyone tell me what I may be doing wrong?

    Hi,
    Thank you for posting in Windows Server Forum.
    As per my research, you need to run the command although video adapter is disabled on motherboard. If you install the RemoteFX cap driver, the integrated video adapter is disabled while the operating system is running. 
    For more information you can refer beneath article.
    1. RemoteFX (with Hyper-V) is a serious business tool. For games.
    2. Configure RemoteFX in Hyper-V running Windows Server 2012 with low end GPU
    Hope it helps!
    Thanks.
    Dharmesh Solanki

  • [Forum FAQ] Troubleshoot the error "The Remote Desktop Session Host server is in Per User licensing mode and No Redirector Mode"

    Symptom
    RD License server is a key component of RDS. It licenses users to access RDS servers.
    After purchase the required RDS CALs, we need to activate the RDS License server and install the purchased RDS CALs. However, during the installation or after installation, we may face errors
    about RDS License.
    In most cases, the following error may occur.
    Error:
    The Remote Desktop Session Host server is in Per User licensing mode and No Redirector Mode, but license server "Server name" does not have any installed licenses with the following
    attributes:
    Product version: Windows Server 2012
    Licensing mode: Per User
    License type: RDS CALs
    Troubleshooting
    1. Check whether the RD License Configuration is configured properly and there are no Warnings in the Event.
    2. The License Server should be part of 'RD Server License' group in Active Directory Domain Services.
    3. Check if the Licensing Mode is correct.
    - To change the Licensing Mode we can use RD Licensing diagnose, PowerShell cmdlet and Group Policy.
    Via PowerShell cmdlet:
    To change the licensing mode on RDSH/RDVH:
    $obj = get-wmiobject -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
    $obj.ChangeMode(value)
    # Value can be 2 - per Device, 4 - Per user
    Via Group Policy
    Path: Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Licensing
    Use the specified RD license servers = FQDN of server name
    Set the Remote Desktop licensing mode =
    Per User
    However, if issue persists, please provide detailed information and post the question in the
    Remote Desktop Services (Terminal Services) forum.
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Hi Richard,
    You need to uninstall Remote desktop session host feature. After removing it, you will default two connections which does not need to purchase RD CALs'.
    Thanks,
    Umesh.S.K

  • Adobe Acrobat Reader Starts when opening a Remote Desktop Session

    I recently upgraded to Acrobat Reader 8. Now I have a problem that Acrobat Reader loads when I open a Remote Desktop session. Has anyone else experienced this? Does anyone know what I should look at to get it to stop loading? Thank you.

    After a third uninstall and re-install I've managed to crack it.
    Thanks anyhow everyone.

  • Windows Server 2012 The licensing mode for the Remote Desktop Session Host server is not configured

    Hi
    I have a standard Windows Server 2012 that is hosted in the cloud by a hosting provider -
    This server has been up and running fir 6 months - recently we have been getting a warning
    "The licensing mode for the Remote Desktop Session Host server is not configured" - The Remote Desktop Session Host server is within its grace period, but the RD Session Host server has not been configured with any license server.
    Yet, we only use this with 2 connections as part of the standard licence agreement and this server is not used as a user's desktop only an ftp and web server- do therefore we do not need to purchase any cal licences (we have another server with the same
    hosting company that does not have this issue and has been up for 18months)
    Please can someone advise how I resolve this issue, the hosting company states that I must resolve it as they only host and resell the server licence
    Thank-you
    Richard Steele

    Hi Richard,
    You need to uninstall Remote desktop session host feature. After removing it, you will default two connections which does not need to purchase RD CALs'.
    Thanks,
    Umesh.S.K

  • Windows 2012 Remote desktop session host server not detecting RD licensing server

    Hi,
    We have a customer server which is Windows 2012. We installed RDS session host server role and configured it to use RD licensing server as per the
    https://support.microsoft.com/kb/2833839?wa=wsignin1.0
    After configuring, when I open RD license diagonser tool, it says, RD license server is not available. Also shows, credential not available. When I enter the credential by clicking, provide credentials, it does not get applied. I see no event logs related
    to RD service. However, I see the below event log which points to RD licensing server.
    DCOM was unable to communicate with the computer <RD license server> using any of the configured protocols; requested by PID     273c (C:\Windows\system32\mmc.exe).
    Please help in fixing the issue.
    Thanks,
    Umesh

    Hi Umesh,
    Thanks for your comment.
    During your configuration, have you specified RD License server for RDSH to use?
    You can also specify a license server for the RD Session Host server to use by applying the Group Policy under below path.
    Computer Configuration\Policies\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Licensing 
    Use the specified Remote Desktop license servers – Provide the FQDN of the license servers to use
    Also this setting can be specified by below method.
    To configure the license server on RDSH/RDVH:
    $obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
    $obj.SetSpecifiedLicenseServerList("License.contoso.com")
    Note “License” is the name of the License Server in the environment
    To verify the license server configuration on RDSH/RDVH:
    $obj = gwmi -namespace "Root/CIMV2/TerminalServices" Win32_TerminalServiceSetting
    $obj.GetSpecifiedLicenseServerList()
    More information.
    RD Licensing Configuration on Windows Server 2012
    http://blogs.technet.com/b/askperf/archive/2013/09/20/rd-licensing-configuration-on-windows-server-2012.aspx
    In addition you can refer this article for reference.
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    TechNet Community Support

  • Can't quit directly from remote desktop session on OS X

    When I'm in a full-screen remote desktop session in Mavericks and I move the mouse to the top of the screen so the menu bar appears, selecting Quit from the File menu results in the session ending, but I have to select Quit a second time to actually exit
    the application.

    Hi,
    It seems to be a Mac related issue, I would like to suggest you contact Apple support for help.
    Thanks.
    Jeremy Wu
    TechNet Community Support

  • P2055dn won't appear in RDP/Remote Desktop session

    I have an XP workstation which had a Laserjet 4100. When it connected to a 2003 Server running Terminal Services, the printer appeared, I could use an application on the server and get my printout at the 4100. Now I have replaced it with a P2055dn, but this printer won't show up at all. I have tried the following things:
    1) Install the standard PCL 6 driver, both on the workstation and the server
    2) Install the express network driver as above
    3) Install the Universal Print driver as above
    Nothing works.
    To be clear, the 2055dn is network attached, which is to say that the XP machine prints to it through a Microsoft Standard TCP/IP port. I specify this because for some reason the HP install routine insists on creating an HP Standard TCP/IP port. I'm not sure what the difference is, but the port I used beforehand was a Microsoft one, so I stuck with that.
    I have other printers that the XP machine connects to in the same way, and those show up and print without issue.
    I have seen posts about host-based printers not working, but I was told by the HP tech that the 2055 is NOT host-based.
    Any clues ?

    I originally posted this for a 1022printer but it applies across the board to HP printers.  I have yet to see this pop onon other networked printers.  My HP 990c works just fine as does ny LJ5, etc.
    After many months of frustration and 7 1/2 hours with Microsoft advanced prof support I've finally pinned down this printer and a slew of others.  This problem as far as I have come across deals exclusively with HP printers.  In simple terms:  the drivers are flawed.  This 1022 is a prime example.  It prints locally and via TCP/IP just fine. I have about 7 other printers and dummy printers in my printer folder.  Enter a remote desktop session and ALL of them populate except the 1022.  This shows that the hooks and RDT finders are locating your printers and installing them properly as remote printers.  All except the 1022. 
      Log out of your RDT session: goto the local 1022 setup and change the printer driver to a PCL driver.  I used a 1200 PCL driver.  Now log back into your RDT server and hockus pocus! there is your printer.  Totally un-usable because the driver will not run this printer.  Caveat:  each time I did this XP crashed (I couldn't get to the properties TAB anymore -- I had to un-install the 1022 and then re-install it with at least 1 reboot in the process)
    Moving on we go to the HP OfficeJet/LajerJet2840.  Same thing.  It won't pass through as remote printer in RDT.  Go local.  Set the printer driver to AppleLaserWriter8500 and boom. (same logout, change, back in steps) and your LJ2840 shows up and works.
    While I will have to wait until tomorrow I am betting that this will fix the exact same problem with the HP Officejet 8500A all in one with the exact same problem.
    Hey HP?  Whats with the drivers??
    Another work around if you have a static enough environment is to install your local printer that will not show up under RDT on the server, and then point the port to your fixed IP on your router, and passthru port 9100 to your locally installed printer that is failing.  You can now be on RDT and chooses the network printer that is printing to the TCP address of your home (or office) router.

  • Keyboard losing focus while in remote desktop session

    Hi,
    I have several Win7 computers that remote into a hosting company's server. Our users will log into the hosting company's servers via remote desktop. The issue that keeps coming back is that the keyboard will stop functioning after a user locks the computer
    then returns after a short period of time to continue working. The remote desktop session will remain working while the pc is locked. After unlocking the computer the keyboard will not work in the remote session. The mouse isn't affected by this and minimizing
    the session, the keyboard works fine on the local session. Sometimes you have to restore down then restore back or minimize the RDP session several times to get the keyboard to work inside the remote session. On a few occasions, ending the RDP session
    will cause the keyboard to work again. Anyone experienced this and have a resolution for this issue? This issue appears to be occurring more frequently and we have already recreated user profiles on the remote server but to no avail. Thank you for your help.

    Hi Nicholas,
    I have this issue aswell, and it has traveled with me over a switch if computers. So I suspect there is something with my user account/profile or similar. My colleague does not have the issue. 
    I also tried the hotfix but I received a message that the hotfix doesn't apply to this computer. The
    pc is a windows 7 Enterprise 64-bit. What can I do to resolve this?
    Any way to reset my Remote-desktop-cache or settings for my user account perhaps, start from scratch. 
    Best regards
    - Björn

  • Remote Desktop Session Host template

    I need to install a Remote Desktop Session Host (server 2008 r2). Just wondering has anyone done this via mdt? Would i just use a standard server task sequence, add the role step and install apps in the task sequence? I just want to make this available
    to be used again as i  might be required to install a few of these.

    Yes use the standard server task sequence.
    Install Remote session host with "Install Roles and Features" "Remote Desktop Service" \ "remote desktop server"
    You should install the applications with a script and add change user /install for installing the application and after the application is installed change to: change user /execute
    Thanks for the info. Couldn't i just run the 'change user /install | execute' as a step rather than putting this in a script with application installs?

  • Office 2013 Initiates Restart Remote Desktop Session Host

    We have a Windows Server 2008 R2 Remote Desktop Session Host that gracefully restarted on it's own today, logging off all of the users.  When it came back online I found the following event log:
    The process msiexec.exe has initiated the restart of computer ESDTS01 on behalf of user NT AUTHORITY\SYSTEM for the following reason: No title for this reason could be found
     Reason Code: 0x80030002
     Shutdown Type: restart
     Comment: The Windows Installer initiated a system restart to complete or continue the configuration of 'Microsoft Office Standard 2013'.
    I discovered that a new user had opened Outlook, and msiexec went through a configuration and prompted to restart the computer.  The user had clicked Yes, which prompted the server to restart.
    I can't seem to replicate the issue with a new user profile, and it seems to only have happened randomly with two users. What can I do to stop this?

    Hi,
    To my knowledge, this is not an Office specific issue, any updates that require a reboot might cause the issue. You might either want to disable the automatic Updates or disable the ability of non-admins to restart the system with a Group Policy.
    However, this is out of scope of this forum, I'd suggest you to seek assistance in the forum of
    Windows Server. Thanks for your understanding.
    Below links might be helpful, you might want to have a look:
    http://serverfault.com/questions/306133/how-can-i-prevent-terminal-server-users-from-restarting-the-server-after-an-auto
    http://superuser.com/questions/190448/disable-restart-after-update-prompt-for-server-2008-r2
    (Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee
    the accuracy of this information.)
    Thanks,
    Ethan Hua CHN
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Remote Desktop Session Host on Server 2012 not domain-joined

    I have a server 2012 which is running Remote Desktop Session Host role without the Connection Broker like described here:
    http://support.microsoft.com/en-us/kb/2833839
    Now the client would like the Network Level Authentication (NLA) disabled. And since server 2012 does not have the Remote Desktop Session Host Configuration tool, I have to use the server manager console.
    https://social.technet.microsoft.com/Forums/windowsserver/en-US/630cc818-69b0-4e1c-8d65-1b895b20e203/where-is-the-remote-desktop-session-host-configuration-tool-in-server-2012-?forum=winserverTS
    But when I go to the remote Desktop Services of Server manager, it says “You are currently logged on as local administrator on the computer. You must be logged on as a domain user to manage servers and collections.”
    So I tried finding some Powershell cmdlet could help me with the problem. I guess
    Get-RDServer
    or Set-RDSessionCollectionConfiguration would be the ones but I can’t seem to make them work.
    Any help, or a hint that I going in the right direction or not?

    Hi,
    Have you configure the certificate for your server?
    Add the user under Remote Desktop user local group, configure FQDN name of server. Please see that if we are using RDS server in workgroup then most of the tools provided to make managing/configuring RDSH servers easier in 2012 will not work in a workgroup
    configuration including some PowerShell command. You can check the below article for information.
    Deploying a RDSH Server in a Workgroup – RDS 2012 R2
    Hope it helps!
    Thanks.
    Dharmesh Solanki
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Windows Components/remote desktop services/remote desktop session host/profile doesn't appear to be working on 2008R2 boxes

    I have two domains.   One is an account domain with a one way trust with the resource domain.   Resource domain trusts the account domain and has a number of 2008R2 servers running within.  I am experiencing severe logon delays
    due to these servers being unable to access the server that hosts the user home folder specified directly on the user account profile tab from the account domain.   When using my workstation in the actual account domain (corporate) I have no
    problems.
    Because of these network restrictions,  I need to override the 2008R2's desire to access that user home folder location in the account domain.
    So far the best thing I have found to try is Windows Components/remote desktop services/remote desktop session host/profile/Set Remote Desktop User Home Directory
    The problem is that so far I have tried to configure this to point to both a local folder as well as a network path and it doesn't appear to be doing anything.   Not seeing any errors in the app or system log either.
    It is still trying to map the path in the account domain.
    Any ideas?
    Is there a better way to accomplish my goal?   The servers in the resource domain will be Citrix servers and there will be a lot of users connecting from the account domain.
    I tried this setting too,  but it only seems to work on the 2012 machines in my Resource domain.
    With the introduction of Windows 8 and Windows Server 2012 there is now a new group policy setting called “Set user home folder” and is found under Computer Configuration > Policies > Administrative Templates > System > User Profiles
    Help!

    Hi,
    This might be due to permission problems. Please check whether the user accounts for whose home folder to be redirected have permissions in the shared folder specified in the server. 
    Checkout the below link on Best Practice for creating Roaming Profile and Folder Redirection
    http://www.grouppolicy.biz/2010/08/best-practice-roaming-profiles-and-folder-redirection-a-k-a-user-virtualization/
    Regards,
    Gopi
    JiJi
    Technologies

Maybe you are looking for

  • Tried to delete an FM book, but won't delete; however files are missing

    I'm using RH7 in TCS1 in Windows Explorer. I imported FM book files by reference into my project. I had forgotten to check abook file prior to import and didn't notice that the book file did not have the necessary graphics.  So I fixed the file, then

  • Wireless Photosmart 7515 No Longer Recognized by Window

    My printer worked wirelessly just fine for over a year.  Then one day both my desktop and laptop comuter stopped printing wirelessly.  The Wireless Network Test Results show that the printer in "Connected" to the network, but Windows 7 fails to recog

  • Document validity/timeline

    Hi, Is it possible to set timelines/validity for documents? If yes, let know how this is done. Thanks.

  • Move a flat structure into a large character field.

    I have a flat structure that has a total length of 700, and a table of type c(700). I would like to move my structure into a work area of the table and then append it. I do not want to condense the fields, or add separators. I could write function to

  • Paging in E-Text

    We need to have paging in the E-text Report . Below are the Requirments For a Company A there might be 8 Accounts and we want to show just 5 on one page and next 3 on the 2nd page followed by total . Please can some one help me to acheive this . A "P