Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

askthedev.com Logo askthedev.com Logo
Sign InSign Up

askthedev.com

Search
Ask A Question

Mobile menu

Close
Ask A Question
  • Ubuntu
  • Python
  • JavaScript
  • Linux
  • Git
  • Windows
  • HTML
  • SQL
  • AWS
  • Docker
  • Kubernetes
Home/ Questions/Q 16238
Next
In Process

askthedev.com Latest Questions

Asked: September 27, 20242024-09-27T09:41:16+05:30 2024-09-27T09:41:16+05:30In: Ubuntu

I’m experiencing a login issue when trying to connect to my Ubuntu 18.04.3 LTS system using xrdp. Despite entering the correct credentials, I receive a login failed message for display 0. Can anyone provide guidance on how to resolve this problem?

anonymous user

I’ve been dealing with this frustrating issue that I really hope someone here can help me with. So, I’m trying to log into my Ubuntu 18.04.3 LTS machine using xrdp, and every time I enter my credentials, I get hit with a “login failed” message for display 0. It feels like I’m stuck in a loop because I know for a fact that the username and password I’m using are correct.

I’ve tried a few things on my own to troubleshoot this. To start, I made sure that xrdp is actually running on my system. I even went into the terminal to restart the service, but that didn’t give me any luck. I also checked the xrdp configuration files and looked for any possible typos—everything seems normal there too.

Oh, and I did some digging online and read about the potential issues with the session type. Apparently, xrdp requires the right desktop environment to be set up for it to work properly, but I’m not entirely sure how to verify that. I think I’m using Xfce, but I’m not even sure if that’s what’s configured for xrdp sessions. It just seems like there’s something off with the way it’s trying to connect.

If anyone has been through this or has a fix, I would really appreciate it! I’ve seen some people talking about modifying certain config files or installing different desktop environments, but I’m not super comfortable with diving too deep without knowing exactly what to do. I just want to get back to using my machine remotely without all this hassle. Also, if there are any logs I can check to get more information about where things are going wrong, that would be super helpful!

Thanks in advance for your help. I’m looking forward to any tips or advice you might have.

  • 0
  • 0
  • 2 2 Answers
  • 0 Followers
  • 0
Share
  • Facebook

    Leave an answer
    Cancel reply

    You must login to add an answer.

    Continue with Google
    or use

    Forgot Password?

    Need An Account, Sign Up Here
    Continue with Google

    2 Answers

    • Voted
    • Oldest
    • Recent
    1. anonymous user
      2024-09-27T09:41:17+05:30Added an answer on September 27, 2024 at 9:41 am

      It sounds like you’re in a bit of a mess with the xrdp login! No worries, let’s see if we can get this sorted.

      First off, you definitely want to make sure your xrdp and the desktop environment (Xfce in your case) are configured properly. Here are a few things you can try:

      1. Install Xfce: If Xfce isn’t fully installed, you might need to run the following command in your terminal:

        sudo apt install xfce4
      2. Set Xfce as your session: Create or edit the ~/.xsession file to specify Xfce. You can do this by running:

        echo "xfce4-session" > ~/.xsession
      3. Edit xrdp.ini: Check the /etc/xrdp/xrdp.ini file. Make sure that your session type is set to Xfce. You can do this by adding or modifying the following line under the [Xvnc] section:

        session=xfce
      4. Restart xrdp: After making those changes, restart the xrdp service:

        sudo systemctl restart xrdp

      If it’s still not working, you can check the xrdp logs. Look at the logs located at /var/log/xrdp.log and /var/log/xrdp-sesman.log. They can give you a clue about what’s going wrong when you try to log in.

      Lastly, if all else fails, consider reinstalling xrdp:

      sudo apt remove xrdp && sudo apt install xrdp

      Hopefully, one of these steps will get you up and running again! Just take it one at a time, and remember to check back if you get stuck.

        • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    2. anonymous user
      2024-09-27T09:41:18+05:30Added an answer on September 27, 2024 at 9:41 am



      Ubuntu xrdp Login Issue

      It sounds like you’re facing a challenging issue with xrdp on your Ubuntu machine. Since you’ve confirmed that xrdp is running and you’ve checked for typos in the configuration files, the next step would be to verify that the desktop environment you’re using (Xfce) is correctly configured for xrdp sessions. To do this, you’ll want to ensure that the session type is set properly in the xrdp configuration. You can edit the `~/.xsession` or `~/.xsessionrc` file to explicitly set your session. For Xfce, you can add the line `startxfce4` to the `~/.xsession` file. This will direct xrdp to use the Xfce environment upon login. Additionally, ensure you have Xfce installed with the appropriate dependencies.

      If you continue to encounter a “login failed” message after making these adjustments, checking the xrdp logs can provide further insight. The logs are typically located in `/var/log/xrdp-sesman.log` and `/var/log/xrdp.log`. Analyzing these log files might reveal permission issues, failed environment variables, or additional configuration problems. If you’re not comfortable making changes to your system, consider backing up your configuration files before making any edits. Remember to restart the xrdp service after making changes by running `sudo systemctl restart xrdp`. Seeking assistance from the community forums or documentation related to xrdp and Ubuntu can also reveal unique configurations or troubleshooting steps that could resolve your dilemma.


        • 0
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp

    Related Questions

    • I'm having trouble installing the NVIDIA Quadro M2000M driver on Ubuntu 24.04.1 LTS with the current kernel. Can anyone provide guidance or solutions to this issue?
    • What steps can I take to troubleshoot high usage of GNOME Shell in Ubuntu 24.04?
    • I recently performed a fresh installation of Ubuntu 24.04, and I've noticed that my RAM usage steadily increases over time until my system becomes unresponsive. Has anyone experienced this issue ...
    • How can I resolve the "unknown filesystem" error that leads me to the GRUB rescue prompt on my Ubuntu system?
    • I'm experiencing an issue with Ubuntu 24.04 where Nautilus fails to display the progress indicator when I'm copying large files or folders. Has anyone else encountered this problem, and what ...

    Sidebar

    Related Questions

    • I'm having trouble installing the NVIDIA Quadro M2000M driver on Ubuntu 24.04.1 LTS with the current kernel. Can anyone provide guidance or solutions to this ...

    • What steps can I take to troubleshoot high usage of GNOME Shell in Ubuntu 24.04?

    • I recently performed a fresh installation of Ubuntu 24.04, and I've noticed that my RAM usage steadily increases over time until my system becomes unresponsive. ...

    • How can I resolve the "unknown filesystem" error that leads me to the GRUB rescue prompt on my Ubuntu system?

    • I'm experiencing an issue with Ubuntu 24.04 where Nautilus fails to display the progress indicator when I'm copying large files or folders. Has anyone else ...

    • How can I configure a server running Ubuntu to bind specific IP addresses to two different network interfaces? I'm looking for guidance on how to ...

    • Is it possible to configure automatic login on Ubuntu MATE 24.04?

    • After upgrading from Ubuntu Studio 22.04 to 24.04.1, I lost all audio functionality. What steps can I take to diagnose and resolve this issue?

    • I am experiencing issues booting Ubuntu 22.04 LTS from a live USB. Despite following the usual procedures, the system fails to start. What steps can ...

    • I'm encountering a problem with my Expandrive key while trying to update my Ubuntu system. Has anyone else faced similar issues, and if so, what ...

    Recent Answers

    1. anonymous user on How do games using Havok manage rollback netcode without corrupting internal state during save/load operations?
    2. anonymous user on How do games using Havok manage rollback netcode without corrupting internal state during save/load operations?
    3. anonymous user on How can I efficiently determine line of sight between points in various 3D grid geometries without surface intersection?
    4. anonymous user on How can I efficiently determine line of sight between points in various 3D grid geometries without surface intersection?
    5. anonymous user on How can I update the server about my hotbar changes in a FabricMC mod?
    • Home
    • Learn Something
    • Ask a Question
    • Answer Unanswered Questions
    • Privacy Policy
    • Terms & Conditions

    © askthedev ❤️ All Rights Reserved

    Explore

    • Ubuntu
    • Python
    • JavaScript
    • Linux
    • Git
    • Windows
    • HTML
    • SQL
    • AWS
    • Docker
    • Kubernetes

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.