Fedora Linux Support Community & Resources Center
  #1  
Old 25th January 2013, 02:26 AM
rlane602 Offline
Registered User
 
Join Date: May 2007
Posts: 1
windows_8ie
Fedora 18 and xrdp

I'm trying to connect to my Fedora 18 box from a Windows 8 box. I enter my username and password in the xrdp login box and get a blank screen except for a "connection log" GUI which says, "Connecting to sesman ip 127.0.0.1 port 3350" If I click on the "OK" in this box, I get bounced back to the xrdp login. Trying to login again or rebooting did not resolve issue, nor did a different username and password. Thanks in advance for your help. Rich
Reply With Quote
  #2  
Old 29th January 2013, 04:05 AM
PheonixFire Offline
Registered User
 
Join Date: Jul 2010
Location: Australia
Posts: 50
macosfirefox
Re: Fedora 18 and xrdp

don't know if this will help but 127.0.0.1 is the loopback address, so I would check
the ip address your trying to connect to

PheonixFire
Reply With Quote
  #3  
Old 9th June 2013, 04:13 AM
HerbM Offline
Registered User
 
Join Date: Jun 2013
Location: Austin, TX
Posts: 4
windows_7firefox
Re: Fedora 18 and xrdp

This is old but it remains unanswered and is very similar to my current problem as a new Fedora user, and new xrdp users.

Fedor 18, xrdp installed this week, "ps -A" shows it running.

Windows RDP (RDCMan) trying to connect either "herbm" (me) or "root" seems to make SOME type of connection, but never allows logon (and thus never shows a desktop.)

On initial connection a popup appears; obviously NOT a "Windows" message box and it's in the RDP screen so this is coming from the server (eliminating at least most firewall issues).

Popup title: Connection log
connecting to sessman ip 127.0.0.1 port 3350
Button: [Ok]

On pressing Ok, it shows the following Pop (again, Linux style not Windows):

Popup title: Login to xrdp
Module [set to "sessman-Xvnc]
usernane [either 'root' or 'herbm']
password [correct password]

On pressing Ok, to logon it cycles back to that first dialog.


What I believe: 127.0.0.1 has NOTHING to do with remote address of the actual Fedora box, but is rather the Fedora xrdp trying to connect to X and/or the session manager on the same (Fedora) box, and sending back a failed result to Windows RDCMan screen.

This leads me to believe that either the X session is not running, or there are incorrect session manager options, or ????

I obtained some hint (from an Ubuntu site) that perhaps the ".xsession" file was involved with the problem.

Neither root nor herbm has an '.xsession' file in the home directory for that user (e.g., /home/herbm).

The only processes (shown with ps -A) containing the letter 'x' (or 'X') that seem they MIGHT be relevant are 'xrdp' and 'Xorg'.

How to I correct this problem and use xrdp on Fedora 18?

Thank you.

--
HerbM
Reply With Quote
  #4  
Old 9th June 2013, 05:58 AM
flyingfsck Online
Registered User
 
Join Date: Aug 2010
Location: Al Ain, UAE
Posts: 1,891
linuxfirefox
Re: Fedora 18 and xrdp

Uhmm, you are trying to connect from what to which?

If you want to connect from Linux to Windows, first enable remote access in Windows (don't ask me how, I don't do windows anymore), then check the IP address of the Windows box, then run 'rdesktop ipaddress' on the Linux machine.

If you want to connect from Windows to Linux, install Cygwin on Windows, then install PuTTY. First start Cygwin X server, then PuTTY. On Linux run sshd and check the IP address, then use PuTTy to connect from Windows to Linux.

Last edited by flyingfsck; 9th June 2013 at 06:16 AM.
Reply With Quote
  #5  
Old 9th June 2013, 06:09 AM
HerbM Offline
Registered User
 
Join Date: Jun 2013
Location: Austin, TX
Posts: 4
windows_7firefox
Re: Fedora 18 and xrdp

Trying to connect FROM Windows TO Linux

While I truly appreciate you help, this was stated in the initial message and continued in my reply, and if you think about it you will realize that I have NETWORK connectivity since I am getting popups back from the Fedora system that are being display in the Windows RDCMan window so we can safely eliminate general network issues (although not firewall issues on the Fedora box perhaps.)

Thank you.

If you have other pertinent ideas I would appreciate hearing those also.

--
HerbM
Reply With Quote
  #6  
Old 9th June 2013, 06:16 AM
solo2101 Offline
Registered User
 
Join Date: Jan 2010
Location: behind that screen...
Posts: 796
linuxchrome
Re: Fedora 18 and xrdp

If i remember correctly... the user needs to be part of the "remote access" group.
Reply With Quote
  #7  
Old 9th June 2013, 06:33 AM
HerbM Offline
Registered User
 
Join Date: Jun 2013
Location: Austin, TX
Posts: 4
windows_7firefox
Re: Fedora 18 and xrdp

Quote:
Originally Posted by solo2101 View Post
If i remember correctly... the user needs to be part of the "remote access" group.
So you are suggesting there is a "Remote Access Group" on Fedora?

Were you connecting to a Windows box it would require membership in the Windows "Remote Desktop Users" group, but that group above doesn't sound like a very Linux-like thing.

We are connecting FROM WINDOWS to Fedora. as mentioned in all the requests for help above.

Again though, I do appreciate any attempts to help.

Right now, I am compiling and installing everything based on a guide at scarygliders. net.

Wish me luck.
Reply With Quote
  #8  
Old 9th June 2013, 09:54 AM
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Age: 57
Posts: 14,768
linuxfirefox
Re: Fedora 18 and xrdp

Hello HerbM and welcome to Fedora Forum. Your question piqued my curiosity so here's what I've just done.

I have three Fedora boxes running all the time, so, on the one I call enterprise (Fedora 18), I installed xrdp using yum while ssh'd into enterprise from my main desktop. Here's a snip from that operation:
PHP Code:
Installing:
 
xrdp                             x86_64          0.6.0-0.7.fc18                            updates          261 k
Installing 
for dependencies:
 
tigervnc-license                 noarch          1.2.80-0.10.20130314svn5065.fc18          updates           22 k
 tigervnc
-server-minimal          x86_64          1.2.80-0.10.20130314svn5065.fc18          updates          979 k 
I then took a wild guess and started xrdp on enterprise.
PHP Code:
systemctl enable xrdp.service
systemctl start xrdp
.service 
Then I started Windows 7 under VirtualBox on the main desktop. Under Windows 7 I chose "Remote Desktop Connection. This prompted me for a hostname or ip address to connect to. I used 10.0.0.9 (enterprise) and was then prompted for a user name and password. Once the credentials were provided I was in. See attached screenshot of my Windows to Linux connection.

On enterprise selinux is in enforcing mode.

Now, I'm not even sure if this is close to what you're trying to do with your machines but I figured I'd give it a go in the event that it may prove helpful to you. It seems as though it may be. Have you considered selinux may be blocking? Have you looked at the logs on the client machine? Given that it was this simple to get working here (minutes) maybe there is something amiss that you just haven't considered?

Oh, one more thing. How the h-e-double hockey sticks do I get out of this remote desktop thing?
Attached Thumbnails
Click image for larger version

Name:	Screenshot-remote.png
Views:	165
Size:	1.02 MB
ID:	25111   Click image for larger version

Name:	Screenshot-remote2.png
Views:	161
Size:	360.1 KB
ID:	25112  
__________________
Glenn
The Bassinator © ®

[SIGPIC][/SIGPIC]
Laptop: Just a couple of old single core units
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / Kingston HyperX 3K SSD 240GB SATA 3.0 / 1TB SATA / EVGA GeForce 8400 GS 1GB
Reply With Quote
  #9  
Old 9th June 2013, 04:00 PM
solo2101 Offline
Registered User
 
Join Date: Jan 2010
Location: behind that screen...
Posts: 796
linuxchrome
Re: Fedora 18 and xrdp

Quote:
Originally Posted by HerbM View Post
So you are suggesting there is a "Remote Access Group" on Fedora?
Yes that is what I am suggesting.
Reply With Quote
  #10  
Old 9th June 2013, 04:18 PM
solo2101 Offline
Registered User
 
Join Date: Jan 2010
Location: behind that screen...
Posts: 796
linuxchrome
Re: Fedora 18 and xrdp

But i dont think such group exist...
Reply With Quote
  #11  
Old 9th June 2013, 07:24 PM
HerbM Offline
Registered User
 
Join Date: Jun 2013
Location: Austin, TX
Posts: 4
linuxubuntufirefox
Re: Fedora 18 and xrdp

h Here is the tail from the xrdp showing the last connection attempt:

Quote:
[20130609-01:46:05] [INFO ] scp thread on sck 7 started successfully
[20130609-01:46:05] [INFO ] ++ created session (access granted): username herbm, ip 192.168.239.215:22708 - socket: 7
[20130609-01:46:05] [INFO ] starting X11rdp session...
[20130609-01:46:05] [INFO ] starting xrdp-sessvc - xpid=20964 - wmpid=20963
[20130609-01:46:05] [INFO ] ++ terminated session: username herbm, display :10.0, session_pid 20962, ip 192.168.239.215:22708 - socket: 7
192.168.239.215 is my Windows 7 workstation. I am not confident in that 'diplay :10.0' from my old but very rusty exposure to XWindow.

Would it matter if I were logged in separately to the console (through VMWare vCenter Server & vSphere client)?

Is there some group thing I have to do? It looks like I am authorized ("access granted").

Firewalls seem to have allowed the connection.

---------- Post added at 01:24 PM ---------- Previous post was at 01:23 PM ----------



Thanks Glennzo.

That is what I was trying to do, and the fact that it works for you easily does indeed indicate that there is likely something very simple preventing it working for me.

Firewalls and selinux features seemed likely after reading your post so....

Looking up selinux indicates that 'getenforce' would give me its state.

getenforce was not installed so I did apt-get then re-ran it and it reports "disabled".

And actually this is not the first machine that has given me trouble, I have gone through a kubuntu, a mint, and now this new install of Fedora trying various ways to get xrdp (and even vnc to work correctly.)

This Fedora attempt was following scarygliders.net "X11RDP-o-Matic and RDPsesconfig : Updated to Version 2.5 By Kevin Cave, on June 20th, 2012" http://scarygliders.net/x11rdp-o-mat...ownloads-page/

That set of detailed instructions is far longer than your successful method (from what I can tell.)

As I recall, there was no explicit reference in this scarygliders method to vnc (nor to tigervnc).

The fact that I am still having trouble and having trouble with multiple machines and also with vnc seems to point toward a firewall.

The only thing arguing against that is the fact that apparently I am getting an initial connection to Fedora (etc.) since I see the logon dialog box.

As to logs, the Connection log is now filling out more (on the screen) after the dialog box is submitted but it IMMEDIATELY disappears (which is different from the behavior when it was showing almost nothing) so I cannot read it.

I found the xrdp session log and posted the tail of it above.

Again, thanks to anyone who tries to help, especially Glennzo for taking the time and trouble to try it.

--
HerbM
Reply With Quote
Reply

Tags
fedora, xrdp

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem in Connecting with XRDP on Fedora 16 aus76pk Servers & Networking 3 2nd November 2012 03:48 AM
Fedora 17 XRDP on boot topher83 Using Fedora 1 14th September 2012 09:58 PM
xrdp on Fedora 13 from outside internal network eliassal Servers & Networking 0 26th November 2010 09:10 AM
XRDP server on Fedora 13 vobler Guides & Solutions (No Questions) 2 25th November 2010 11:32 AM
xrdp Fedora 13 howto ??? omar silva Servers & Networking 2 20th September 2010 03:52 PM


Current GMT-time: 13:28 (Friday, 24-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
North Shore - Mercedes Photos on Instagram - Tortola Travel Photos on Instagram