Skip to content
This repository has been archived by the owner on Jan 29, 2021. It is now read-only.

Unable to login/connect to Ubuntu VM #74

Closed
realworld666 opened this issue Dec 12, 2018 · 15 comments
Closed

Unable to login/connect to Ubuntu VM #74

realworld666 opened this issue Dec 12, 2018 · 15 comments

Comments

@realworld666
Copy link

I created an Ubuntu VM on my work PC and had it working absolutely fine. I have a 3 monitor setup and had the VM set to use all my monitor's full screen. This worked fine for a couple of days.
One day I used Remote Desktop from home to connect to my work PC. My home PC is 2 monitors. I used the VM fine from home within the RDP session. When I returned to work and tried to connect to the VM I now have issues.
First I see a login box like this
image
I enter my details and press OK and the box goes away but I am left with the blue background forever. If I switch to a "Basic Session" then I can see the Ubuntu login and use the VM fine
image
but I am limited to a small resolution.
How can I fix the enhanced mode? No matter what resolution I set on Connect it gives the same issue.

@cwilhit
Copy link
Contributor

cwilhit commented Dec 13, 2018

@realworld666 did you power off/power on the VM after observing this behavior?

@realworld666
Copy link
Author

Yes. Several times

@anthonws
Copy link

I've had this issue when launching xrdp from a user session. Make sure xrdp is enabled to start as a service.
Also, please make sure to remove the autologin option (if enabled).

@realworld666
Copy link
Author

Autologin is disabled. How do I enable xrdp?

@anthonws
Copy link

#1 "sudo apt-get install xrdp"
#2 "update-rc.d xrdp enable"
#3 "reboot"

@realworld666
Copy link
Author

Unfortunately, that has not improved my situation :(

@bartbdx
Copy link

bartbdx commented Dec 20, 2018

Same thing with Arch, only blue screen after login. For me it should be mate or lightdm gtk greeting

@cwilhit
Copy link
Contributor

cwilhit commented Dec 20, 2018

Was this a VM that you provisioned through Hyper-V Quick Create Gallery or did you manually apply the scripts from this git repo?

Next steps would be to get some log data to see what state xrdp is in. Try connecting in enhanced mode, let it fail, then connect via basic mode and get the log output of:

  • /var/log/xrdp.log
  • /var/log/xrdp-sesman.log

I'd also check the status of xrdp with sudo systemctl status xrdp and see what it's reporting.

@realworld666
Copy link
Author

The VM was provisioned through the gallery

Here are the log files from my last log in attempt
xrdp.log
xrdp-sesman.log

And the status of xrdp while signed into a basic session
image

@bartbdx
Copy link

bartbdx commented Dec 22, 2018

For me, i provisioned my Archlinux by myself and the scripts also, but the logs and messages are exactly the same.

@grysbok
Copy link

grysbok commented Jan 8, 2019

@bartbdx if you are using lightdm with archlinux take a look at this solution that i found for ubuntu budgie - #77. lightdm run lightdm-session script with an arguments, and don't use Xsession script that xrdp uses to start desktop.

@wjenkins9
Copy link

Having the same issue trying to install using KDE Neon 5.14, using 18.04.

@arvindjs
Copy link

arvindjs commented Mar 27, 2019

I am facing the same issue as @realworld666. Any fixes yet?

@RainCat1998
Copy link

@realworld666 @cwilhit
Take a look at this answer

@cwilhit
Copy link
Contributor

cwilhit commented Jan 28, 2021

This repo is being archived, so closing this issue.

@cwilhit cwilhit closed this as completed Jan 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants