Using XRDP Without Local VNC Server - Unix & Linux Stack Exchange
-
- Home
- Questions
- Tags
- Users
- Jobs
- Companies
- Unanswered
- Teams
Ask questions, find answers and collaborate at work with Stack Overflow for Teams.
Try Teams for free Explore Teams - Teams
-
Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams Using XRDP without local VNC server Ask Question Asked 7 years, 3 months ago Modified 6 years ago Viewed 23k times 5According to xrdp docs it should be possible to connect remotely without using a local VNC server:
xrdp can connect to a locally created X.org session with the xorgxrdp drivers [my emphasis], to a VNC X11 server, and forward to another RDP server.
I can connect with RDP from Windows:
Then I select Xorg session and supply username and password. After some timeout an error pops up about an unknown connection problem.
This is tail /var/log/xrdp.log and tail /var/log/xrdp-sesman.log output:
[DEBUG] Closed socket 17 (AF_UNIX) ... [DEBUG] Closed socket 17 (AF_UNIX) [DEBUG] xrdp_wm_log_msg: some problem [DEBUG] xrdp_mm_module_cleanup [DEBUG] Closed socket 16 (AF_INET6 ::1 port 38094)dmesg doesn't show any problems nor references to Xorg or similar. ps -A | grep rdp shows xrdp and xrdp-sesman processes running. Tried connecting with Windows 7 to Debian: same problem. xrdp.ini and sasman.ini:
In sesman.ini the AlwaysGroupCheck=false. The startwm.sh:
Any ideas? Running on a virtualized minimal, clean Debian 9.1 installation. Only only lxde-core and xrdp installed with apt-get. (No errors during installation.) xorgxrdp drivers installed (since they depend on xrdp).
Share Improve this question Follow edited Aug 29, 2017 at 21:13 Davor Josipovic asked Aug 29, 2017 at 8:11 Davor JosipovicDavor Josipovic 3611 gold badge3 silver badges13 bronze badges 18- Did you compile xrdp and xorgxrdp from source? xrdp must be compiled and installed before xorgxrdp. If not what versions? What desktop are you using? You may want to install lxde desktop to help with debugging. xrdp.ini and sesman.ini using default settings? What about var/log/xrdp-sesman.log Strange error in xrdp log "some problem"... Does dmesg have any useful info? – jc__ Commented Aug 29, 2017 at 14:40
- @jc__, I didn't compile. I first installed lxde-core. Then, once logged in, installed xrdp which has a dependency on xorgxrdp. I'll update the question with other logs. – Davor Josipovic Commented Aug 29, 2017 at 15:27
- Lets do some background checking: Verify the services are running ps -A | grep rdp. You should see both xrdp and xrdp-sesman. You are using the selection Xorg, so check the Xorg in xrdp.ini. Should be libxup.so library, ip=127.0.0.1 port=-1 then check the Xorg section in sesman.ini these are the parameters passed to Xorg. Note the log name. param=.xorgxrdp.%s.log. see your home directory for that log. – jc__ Commented Aug 29, 2017 at 17:44
- In sesman.ini verify the AlwaysGroupCheck= if false the login user does not need to be in the group assigned by TerminalServerUsers= – jc__ Commented Aug 29, 2017 at 17:46
- Oh yeah, What version of windows are you connecting with? If its above 7.. might be a problem. I had to compile with the --enable-painter option to make work with Win10. – jc__ Commented Aug 29, 2017 at 17:53
2 Answers
Sorted by: Reset to default Highest score (default) Date modified (newest first) Date created (oldest first) 9This bug report has the same symptoms as described in the question. Seems xserver-xorg-legacy package is the culprit. So to make it work, it boils down to the following two commands:
apt-get purge xserver-xorg-legacy apt-get install xrdpThe required services are started automatically after install. No need to reboot. Connecting and authenticating should automatically show the desktop.
I do not know though what the consequences are of removing xserver-xorg-legacy. In the bug report it is mentioned to remove if not needed.
Share Improve this answer Follow answered Aug 29, 2017 at 21:10 Davor JosipovicDavor Josipovic 3611 gold badge3 silver badges13 bronze badges Add a comment | 0Initially, I could only access my Debian 9.6.0 LXDE desktop with tigervnc using the Xvnc settings until I changed the file /etc/X11/Xwrapper.config from:
allowed_users = consoleto
allowed_users = anybodyNow, I can RDP using the Xorg settings without the tigervnc. Hope this will be helpful to someone.
There was no need to use any of the recommended answers here...
And don't forget...
sudo service xrdp restart...to restart the xrdp service after editing the Xwrapper.config file.
Share Improve this answer Follow edited Nov 22, 2018 at 19:39 answered Nov 22, 2018 at 19:26 sdittmarsdittmar 1216 bronze badges Add a comment |You must log in to answer this question.
Not the answer you're looking for? Browse other questions tagged
.- The Overflow Blog
- AI agents that help doctors get paid
- Legal advice from an AI is illegal
- Featured on Meta
- The December 2024 Community Asks Sprint has been moved to March 2025 (and...
- Stack Overflow Jobs is expanding to more countries
Linked
1 Setting up cross platform VNC systemRelated
4 XRDP and Cinnamon running in software rendering mode 0 Arch Linux Issues with xorgxrdp and xfce4 windows manager 1 xrdp_iso_send: trans_write_copy_s failed - Issues rdp from RaspiOS to Arch x86 when using Remmina 0 Unexpected need for a server side proof of life to maintain or open an xrdp session if running Gnome?Hot Network Questions
- SelectFirst and Hold
- Deciphering BHS Masorah parva
- Obstruction theory for specializing perfect complexes?
- What is the meaning of the second line of the piecewise output of SeriesCoefficient[]?
- Is it OK to use longjmp to break out of qsort?
- How to interpret being told that there are no current PhD openings but I should "keep in touch" for potential future opportunities?
- 70s or 80s sci-fi book, a small community try to save the world
- EES/ETIAS in Schengen after 1-day overstay?
- Why Does My TikZ/Beamer Animation Render All Elements in the First Frame?
- Pins in Chapter 1 of David Copperfield
- How do we provide permission to use a figure that we hired a graphic designer to create in SciRep?
- The significance of "disciples AND Peter" in Mark 16:7
- 80s Sci-Fi film where alien race agrees to arm transplant to try and kill the bad guy
- British TV show about a widowed football journalist
- Would Europeans be effective slaves on Caribbean Plantations?
- Does using multiple batteries in series or parallel affect mAh
- Quiz interface based on Yaml files
- What would it take for an AI to have beliefs?
- Japanese passport and Philippine passport with different signatures: ok when traveling to another country?
- have someone to do something
- is Romans 14:5 a command or more along the lines of a "concession"?
- Expressing an assumption that all variables are mutually distinct and come from a specified set
- Looking for a word or a term similar to Auteur, applicable to app makers
- Joining two lists by matching elements of the two
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.
Từ khóa » Xorg Vs Xvnc
-
XVnc Versus Xorg : R/learnprogramming - Reddit
-
Xvnc Faster (less Laggy) Than X11rdp/Xorg Drivers · Issue #386 - GitHub
-
Ubuntu 18.04.03 With Xvnc Or Xrdp Connection Problem
-
Xrdp Under Centos7, Which Session Type Do I Need To Try? Xvnc Or Xorg?
-
How To Setup Xrdp Over Xorg In Linux With Multi Sessions - LinuxWays
-
Xrdp - ArchWiki
-
Xvnc - TigerVNC
-
TigerVNC
-
VNC Vs RDP: Which Remote Desktop Tool Is The Best? - RealVNC®
-
How To Remotely Display And Control A Linux Desktop ... - Linuxtopia
-
Vnc Client Hangs When Moving Window (#860) · Issues · Xorg / Xserver
-
Modular XF4VNC
-
Setup Xrdp Over Xorg In CentOS Linux System With Multi Sessions