Step 1: Check if Xorg is Running for the User
1. Open a terminal.
2. Run the following command:
ps aux | grep xorg | grep username
3. If there is no output, proceed to the next steps.
Step 2: Check XRDP Logs for Errors
1. Check the XRDP log file for errors:
cat /var/log/xrdp.log
2. Look for any error messages.
3. If no errors are found, proceed to the next step.
Step 3: Check XRDP Sesman Logs
1. Check the XRDP sesman log file:
cat /var/log/xrdp-sesman.log
2. Look for any relevant logs or error messages.
Step 4: Check for Running Processes for a Specific User
1.Use the following command to list all running processes for a specific user:
> ps -u <username>
Example: ps -u sli302
2. If the command returns a list of active processes, inform the user about the running session.
3. Ask the user for permission to terminate their session, ensuring they understand that any unsaved data will be lost upon termination.
4.If user confirms to terminate the session. Run Below Command.
>kill 27635
5.If the Process doesn't terminate run force kill the command.
>kill -9 27635
6. Verify the Process is Killed.
After running the kill
command, check if the process is still running:
>ps -u sli302
Comments
0 comments
Please sign in to leave a comment.