Score:0

xrdp cannot work from ubuntu 20.04 to 22.04

pl flag

I updated from ubuntu 20.04 to 22.04, and now xrdp doesn't work. I checked the xorgxrdp logs and it gives this


[  1342.057] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[  1342.057] (II) FBDEV: driver for framebuffer: fbdev
[  1342.057] (II) VESA: driver for VESA chipsets: vesa
[  1342.057] (EE) 
Fatal server error:
[  1342.057] (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
[  1342.057] (EE) 
[  1342.057] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[  1342.057] (EE) Please also check the log file at ".xorgxrdp.10.log" for additional information.
[  1342.057] (EE) 
[  1342.058] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[  1342.058] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[  1342.058] (EE) Server terminated with error (1). Closing log file.

xf86OpenConsole is unable to open the console. It seems like a permission issue. I have checked online, and changed the tty2 permissions. Still I encountered the same issue. I wonder if this is linked to any other settings that broke during the update from ubuntu 20.04 to 22.04. Any ideas?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.