Closed Ortizachris closed 2 years ago
If you're able to SSH into the instance as the desired user, can you run the following: env | grep DISPLAY
and let me know what it says? It's likely that the environment DISPLAY doesn't match the RDP set display of 0.
I will try that later today and post my update here
I am currently unable to ssh as the desired user but in the process of creating ssh key pairs via was documentation to see if I can sign in at that user. I am able to ssh and ubuntu or root and run
env | grep DISPLAY
with no result as well as sudo su - desired_user andenv | grep DISPLAY
with no result either
So when you installed remnux, were you logged in as the desired user, or were you logged in as another user, and passed the "--user" flag? Your commands don't show that you did use the --user
flag, which will install remnux for that user. If you did not, it will have installed remnux for the user you were logged in as (either ubuntu or root)
recreated an exact instance under sudo remnux install --user default --mode=cloud same issue "black screen"
default being the user I installed remnux on
sudo remnux update remnux-cli@1.3.4.2.g87c65ef remnux-version: v2022.15.6
Solution 1: Fix Black Ubuntu Screen
Edit the following script file
sudo nano /etc/xrdp/startwm.sh
Add following lines
Per ScreenShot
unset DBUS_SESSION_BUS_ADDRESS
unset XDG_RUNTIME_DIR
Restart Service
sudo systemctl restart xrdp
Login Congrats
AWS EC2 Instance Settings
Ubuntu Version
More Info
Install of XRDP
Install of VNC
Remnux Install Mode Cloud Successful
Remnux did install and be accessed via any user
Thank you for taking the time to help resolve my issue. I have successfully installed the Gnome-Desktop Gui and connected via RDP from my Mac M1 using "Microsoft Remote Desktop". The issue I am having is after reboot I try to login as ubuntu and I get this "Connection Log Error" so my work around was creating a different user to sign into for example "default" or root (after setting a password) however that just takes me to ubuntu again but when I successfully login to the account that REMnux was installed via mode cloud all I get is a black screen that never loads
Any next steps will definitely be appreciated. Thank you.