Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error starting X server #108

Closed
alandarev opened this issue Feb 20, 2014 · 5 comments
Closed

error starting X server #108

alandarev opened this issue Feb 20, 2014 · 5 comments

Comments

@alandarev
Copy link

I am lost on how to further debug my issue. I can connect using vnc, but not x11, the xrdp-sesman.log leaves the next message:

[20140220-14:43:28] [INFO ] A connection received from: 127.0.0.1 port 47060
[20140220-14:43:28] [INFO ] scp thread on sck 8 started successfully
[20140220-14:43:28] [INFO ] ++ created session (access granted): username stinkytest, ip 149.255.121.162:52103 - socket: 8
[20140220-14:43:28] [INFO ] starting X11rdp session...
[20140220-14:43:28] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20140220-14:43:28] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20140220-14:43:28] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20140220-14:43:28] [INFO ] An established connection closed to endpoint: 127.0.0.1:47060 - socket: 8
[20140220-14:43:28] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20140220-14:43:28] [INFO ] An established connection closed to endpoint: 127.0.0.1:47060 - socket: 8
[20140220-14:43:28] [INFO ] X11rdp start:X11rdp :11 -geometry 1024x768 -depth 24 -bs -ac -nolisten tcp -uds  
[20140220-14:43:28] [CORE ] error starting X server - user stinkytest - pid 5528
[20140220-14:43:28] [DEBUG] errno: 2, description: No such file or directory
[20140220-14:43:28] [DEBUG] execve parameter list size: 12
[20140220-14:43:28] [DEBUG]         argv[0] = X11rdp
[20140220-14:43:28] [DEBUG]         argv[1] = :11
[20140220-14:43:28] [DEBUG]         argv[2] = -geometry
[20140220-14:43:28] [DEBUG]         argv[3] = 1024x768
[20140220-14:43:28] [DEBUG]         argv[4] = -depth
[20140220-14:43:28] [DEBUG]         argv[5] = 24
[20140220-14:43:28] [DEBUG]         argv[6] = -bs
[20140220-14:43:29] [DEBUG]         argv[7] = -ac
[20140220-14:43:29] [DEBUG]         argv[8] = -nolisten
[20140220-14:43:29] [DEBUG]         argv[9] = tcp
[20140220-14:43:29] [DEBUG]         argv[10] = -uds
[20140220-14:43:29] [DEBUG]         argv[11] = (null)
[20140220-14:43:38] [ERROR] X server for display 11 startup timeout
[20140220-14:43:38] [INFO ] starting xrdp-sessvc - xpid=5528 - wmpid=5527
[20140220-14:43:38] [ERROR] X server for display 11 startup timeout
[20140220-14:43:38] [ERROR] another Xserver might already be active on display 11 - see log
[20140220-14:43:38] [DEBUG] aborting connection...
[20140220-14:43:38] [INFO ] ++ terminated session:  username stinkytest, display :11.0, session_pid 5525, ip 149.255.121.162:52103 - socket: 8
@jsorg71
Copy link
Contributor

jsorg71 commented Feb 20, 2014

One easy test is go to a command prompt and type

X11rdp -uds :11

and see if it errors.

Jay

On Thu, Feb 20, 2014 at 6:59 AM, stinkyfax notifications@github.com wrote:

I am lost on how to further debug my issue. I can connect using vnc, but
not x11, the xrdp-sesman.log leaves the next message:

[20140220-14:43:28] [INFO ] A connection received from: 127.0.0.1 port 47060[20140220-14:43:28] [INFO ] scp thread on sck 8 started successfully
[20140220-14:43:28] [INFO ] ++ created session (access granted): username stinkytest, ip 149.255.121.162:52103 - socket: 8
[20140220-14:43:28] [INFO ] starting X11rdp session...
[20140220-14:43:28] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20140220-14:43:28] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20140220-14:43:28] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 9
[20140220-14:43:28] [INFO ] An established connection closed to endpoint: 127.0.0.1:47060 - socket: 8
[20140220-14:43:28] [INFO ] An established connection closed to endpoint: NULL:NULL - socket: 7
[20140220-14:43:28] [INFO ] An established connection closed to endpoint: 127.0.0.1:47060 - socket: 8
[20140220-14:43:28] [INFO ] X11rdp start:X11rdp :11 -geometry 1024x768 -depth 24 -bs -ac -nolisten tcp -uds
[20140220-14:43:28] [CORE ] error starting X server - user stinkytest - pid 5528
[20140220-14:43:28] [DEBUG] errno: 2, description: No such file or directory
[20140220-14:43:28] [DEBUG] execve parameter list size: 12
[20140220-14:43:28] [DEBUG] argv[0] = X11rdp
[20140220-14:43:28] [DEBUG] argv[1] = :11
[20140220-14:43:28] [DEBUG] argv[2] = -geometry
[20140220-14:43:28] [DEBUG] argv[3] = 1024x768
[20140220-14:43:28] [DEBUG] argv[4] = -depth
[20140220-14:43:28] [DEBUG] argv[5] = 24
[20140220-14:43:28] [DEBUG] argv[6] = -bs
[20140220-14:43:29] [DEBUG] argv[7] = -ac
[20140220-14:43:29] [DEBUG] argv[8] = -nolisten
[20140220-14:43:29] [DEBUG] argv[9] = tcp
[20140220-14:43:29] [DEBUG] argv[10] = -uds
[20140220-14:43:29] [DEBUG] argv[11] = (null)
[20140220-14:43:38] [ERROR] X server for display 11 startup timeout
[20140220-14:43:38] [INFO ] starting xrdp-sessvc - xpid=5528 - wmpid=5527
[20140220-14:43:38] [ERROR] X server for display 11 startup timeout
[20140220-14:43:38] [ERROR] another Xserver might already be active on display 11 - see log
[20140220-14:43:38] [DEBUG] aborting connection...
[20140220-14:43:38] [INFO ] ++ terminated session: username stinkytest, display :11.0, session_pid 5525, ip 149.255.121.162:52103 - socket: 8

Reply to this email directly or view it on GitHubhttps://github.com//issues/108
.

@alandarev
Copy link
Author

Thanks, that cleared things out - I had no x11rdp installed. The reason it wasn't installed is that I had no folder "/opt", so creating folder "/opt/X11rdp" was failing as a result.

Still unable to launch, but that will likely be another cause.

@moobyfr
Copy link
Contributor

moobyfr commented Feb 20, 2014

On 20/02/2014 22:06, stinkyfax wrote:

Thanks, that cleared things out - I had no x11rdp installed. The reason
it wasn't installed is that I had no folder "/opt", so creating folder
"/opt/X11rdp" was failing as a result.

Still unable to launch, but that will likely be another cause.


Reply to this email directly or view it on GitHub
#108 (comment).

you have probably to go to xorg/X11R7.6/ and build the X11rdp binary
(./buildx defaults)n, and copy X11rdp to /usr/bin for example

@alandarev
Copy link
Author

Yes, I have installed it, and running X11rdp -uds :11 gives me:

_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
InitOutput:

X11rdp, an X server for xrdp
Version 0.7.0
Copyright (C) 2005-2012 Jay Sorg
See http://xrdp.sf.net for information on xrdp.
Underlying X server release 10903000, The X.Org Foundation
Screen width 1024 height 768 depth 24 bpp 32
dpix 100 dpiy 100
buffer size 3145728
20/02/14 21:09:51 kill disconencted [0] timeout [60] sec
pRRScrPriv 0x17ddc80
rdpScreenInit: ret 1
InitOutput: out
[dix] Could not init font path element /usr/share/fonts/X11/TTF/, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/OTF/, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/100dpi/, removing from list!
[dix] Could not init font path element /usr/share/fonts/X11/75dpi/, removing from list!
rdpSpriteDeviceCursorInitialize:
rdpPointerWarpCursor:
rdpPointerNewEventScreen:
InitInput:
rdpMouseCtrl:
rdpChangeKeyboardControl:
rdpChangeKeyboardControl:

But when I try to use XRDP: it authorises me; connects to the x11; and that's it.

Anyway, the initial issue is solved, thank you.

@metalefty
Copy link
Member

Solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants