LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-10-2017, 06:59 PM   #1
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Rep: Reputation: 29
RDP from windows to centos7 using xrdp not working


hi guys,

my port forwarding is working as i can ssh into my linux box using moboxterm. but i cant rdp from my windows 8 machine into my centos7 box.

if i

sudo systemctl status xrdp i get:

● xrdp.service - xrdp daemon
Loaded: loaded (/usr/lib/systemd/system/xrdp.service; disabled; vendor preset: disabled)
Active: active (running) since Tue 2017-01-10 17:36:29 GMT; 7h ago
Main PID: 3465 (xrdp)
CGroup: /system.slice/xrdp.service
└─3465 /usr/sbin/xrdp --nodaemon

Jan 10 17:36:29 FDS-s1A systemd[1]: Started xrdp daemon.
Jan 10 17:36:29 FDS-s1A systemd[1]: Starting xrdp daemon...

but no connection

th ip address is right...as my ssh is working
i have 3389 open on my router
my xrdp.ini says 3389 in globals

any ideas?

is there a better alternative to xrdp?

i have teamviewer but its cutting me off every few minutes

thanks
 
Old 01-10-2017, 10:55 PM   #2
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
The port on your router may be open, but the linux box does not have it open by default.

Code:
# firewall-cmd --permanent --zone=public --add-port=3389/tcp
# firewall-cmd --reload
It also seems you do not have the service to automatically start, so you will have to start it manually before using it.
 
Old 01-11-2017, 05:40 AM   #3
sigint-ninja
Member
 
Registered: Feb 2011
Location: Republic Of Ireland
Distribution: Debian,Centos,Slackware
Posts: 508

Original Poster
Rep: Reputation: 29
thanks ericson007

i should have known that...just never thought of firewall!!! everything is working perfect now thanks...and

may the force be with you...

Last edited by sigint-ninja; 01-11-2017 at 06:44 AM.
 
Old 01-11-2017, 04:33 PM   #4
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
Cheers, just remember on rhel based systems all incoming connections are blocked by default except ssh when doing a normal install.

Enjoy.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
change GUI for xrdp session on centos7 sigint-ninja Linux - Newbie 2 02-01-2016 07:19 PM
xrdp keys not working Larry James Ubuntu 0 08-28-2015 06:48 PM
Reverse SSH and RDP/xRDP issues. nicedreams Linux - Networking 11 07-02-2015 10:31 AM
[SOLVED] xrdp-v0.6.0 RHEL 6.4 Workstation. xrdp loaded started with sesman, but cannot connect capperdog Linux - Newbie 4 02-04-2014 02:56 PM
xrdp authenticates but does not load X server (RDP) shadowsnipes Linux - Server 28 03-15-2012 03:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration