Eu já passei por um problema semelhante rastreado em xsetroot, xterm e twm não são encontrados ao iniciar o XRDP / Xvnc (no Cent OS) , no entanto, isso não me ajudou a corrigir.
Estou usando o MAC e tentando instalar o XRDP na versão 6.5 do CentOS (64 bits). Para que eu possa me conectar a essa máquina Centos do MAC.
Eu segui as etapas explicadas no link
Criamos uma nova conta de usuário VNC chamada user_name_one e atribuímos uma senha conforme mencionado em link
Agora, quando tentei conectar o Centos usando o Remote Desktop Connection (do MAC), estou recebendo o seguinte erro:
Inicialmente,minhaconfiguraçãodovncserversemetc/sysconfig/vncserverséaseguinte:
VNCSERVERS="1:user_name_one"
VNCSERVERARGS[1]="-geometry 800x600"
Como sugerido, agora alteramos os valores de configuração da seguinte forma:
VNCSERVERS="0:user_name_one"
VNCSERVERARGS[0]="-geometry 800x600"
Erro ao logar /var/log/xrdp-sesman.log:
[20140416-06:43:43] [WARN ] [init:45] libscp initialized
[20140416-06:43:43] [CORE ] starting sesman with pid 1442
[20140416-06:43:43] [INFO ] listening...
[20140416-06:46:56] [INFO ] scp thread on sck 7 started successfully
[20140416-06:46:56] [INFO ] ++ created session (access granted): username user_name_one, ip 202.83.25.7:13889 - socket: 7
[20140416-06:46:56] [INFO ] starting Xvnc session...
[20140416-06:47:06] [ERROR] X server for display 10 startup timeout
[20140416-06:47:06] [INFO ] starting xrdp-sessvc - xpid=1717 - wmpid=1716
[20140416-06:47:06] [ERROR] X server for display 10 startup timeout
[20140416-06:47:07] [ERROR] another Xserver is already active on display 10
[20140416-06:47:07] [DEBUG] aborting connection...
[20140416-06:47:07] [INFO ] ++ terminated session: username user_name_one, display :10.0, session_pid 1715, ip 202.83.25.7:13889 - socket: 7
Arquivo de log encontrado em /home/user_name_one/.vnc/SPU4-1-3-24-47230: 1.log
Xvnc TigerVNC 1.1.0 - built Feb 4 2014 05:26:31
Copyright (C) 1999-2011 TigerVNC Team and many others (see README.txt)
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 11300000, The X.Org Foundation
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension VNC
Initializing built-in extension GLX
Wed Apr 16 06:43:46 2014
vncext: VNC extension running!
vncext: Listening for VNC connections on all interface(s), port 5900
vncext: created VNC server for screen 0
No protocol specified
vncconfig: unable to open display ":0"
No protocol specified
xrdb: Resource temporarily unavailable
xrdb: Can't open display ':0'
No protocol specified
xmodmap: unable to open display ':0'
No protocol specified
No protocol specified
** (gnome-session:1605): WARNING **: Cannot open display:
Alguém por favor pode me ajudar nisso! Obrigado.