Jetson-Nano-Ubuntu-20-image icon indicating copy to clipboard operation
Jetson-Nano-Ubuntu-20-image copied to clipboard

xrdp remote access

Open kyrie2to11 opened this issue 1 year ago • 5 comments

Thank you for the image! After flashing and installing xrdp, I connect to my jetson nano B01 and the screen freezes as shown below. Do you have some hints that can help with this problem please?

nano_xrdp

kyrie2to11 avatar Aug 31 '23 07:08 kyrie2to11

@kyrie2to11,

I'm sorry to hear about your issue. More over, because I think there is not a quick fix. I've googled 'xrdp jetson nano crash' and got 38.300 hits. Looking at the first ones, it seems a common issue with a variety of solutions. In your cast, I would suggest to use Teamviewer. see also https://github.com/Qengineering/Jetson-Nano-Ubuntu-20-image/issues/43.

Qengineering avatar Aug 31 '23 08:08 Qengineering

Thank you for your reply. I will attempt to use Teamviewer. Additionally, I have conducted the xrdp connection testing with Jetpack 4.6.1 and it functions flawlessly with almost no delay.

kyrie2to11 avatar Aug 31 '23 14:08 kyrie2to11

@kyrie2to11 so the following did the trick for me:

sudo apt install xserver-xorg-video-dummy

sudo nano /usr/share/X11/xorg.conf.d/xorg.conf

Input the following in the file:

Section "Device"
Identifier "Configured Video Device"
Driver "dummy"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
HorizSync 31.5-48.5
VertRefresh 50-70
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection

After that reboot.

drjajas avatar Sep 01 '23 07:09 drjajas

@kyrie2to11 so the following did the trick for me:

sudo apt install xserver-xorg-video-dummy

sudo nano /usr/share/X11/xorg.conf.d/xorg.conf

Input the following in the file:

Section "Device"
Identifier "Configured Video Device"
Driver "dummy"
EndSection

Section "Monitor"
Identifier "Configured Monitor"
HorizSync 31.5-48.5
VertRefresh 50-70
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1920x1080"
EndSubSection
EndSection

After that reboot.

Unfortunately, this doesn't work for my situation. :(

kyrie2to11 avatar Sep 03 '23 12:09 kyrie2to11

i found some other ways:

sudo nano /etc/xrdp/startwm.sh

in the file comment out the last two lines:

#test -x /etc/X11/Xsession && exec /etc/X11/Xsession

#exec /bin/sh /etc/X11/Xsession

and add one of the following at the end: 1. gnome-session 2. startlxde 3. startxfce4 you need to install this first if you want to use it: sudo apt install xfce4 xfce4-terminal -y

after that you need to restart xrdp: sudo systemctl restart xrdp.service

drjajas avatar Sep 07 '23 07:09 drjajas