Raspberry Pi Fedora 18 ARM Remix Remote Desktop do Windows 7

1

Instalei o Fedora 18 ARM Remix para Raspberry Pi no cartão SD do meu RasPi (tipo B). Quando conectado por HDMI, o Fedora e o XFCE4 aparecem bem e sem o HDMI eu consigo fazer o login através do SSH facilmente da minha outra caixa do Windows na mesma rede. O Pi é conectado por um cabo LAN a um simples roteador doméstico que atribui endereços IP privados em 192.168. . .

O problema é obter um desktop remoto através do xrdp ou vnc neste FEDORA 18 ARM (rpfr18). A área de trabalho remota é bastante simples de ser instalada e executada em Raspbian e eu consegui 'sudo apt-get install xrdp vncserver' após o qual a área de trabalho remota era acessada diretamente através do mstsc e de um cliente VNC do Windows 7.

No Fedora eu instalei o xrdp e o vncserver e os iniciei ainda não consigo conectar do Windows. Eu tenho feito uma boa quantidade de googling ainda sou incapaz de obter área de trabalho remota trabalhando neste Fedora em Pi a partir do Windows 7. Ajuda muito apreciado ...

Isso foi o que eu fiz até agora por meio de uma sessão SSH: -

[root@pkrpfr18 prateek]# cat /etc/issue
Fedora remix release 18 (Raspberrypi Fedora Remix)
[prateek@pkrpfr18 ~]$ uname -a
Linux pkrpfr18 3.6.11 #1 PREEMPT Fri Feb 15 14:07:09 EST 2013 armv6l armv6l armv6l GNU/Linux
[prateek@pkrpfr18 ~]$ pifconfig
lo
          inet addr:127.0.0.1   Mask:255.0.0.0
          UP LOOPBACK RUNNING

eth0      HWaddr b8:27:eb:e2:37:6f
          inet addr:192.168.1.3 Bcast:192.168.1.255   Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST

[prateek@pkrpfr18 ~]$ cat /proc/cpuinfo
Processor       : ARMv6-compatible processor rev 7 (v6l)
BogoMIPS        : 697.95
Features        : swp half thumb fastmult vfp edsp java tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xb76
CPU revision    : 7

Hardware        : BCM2708
Revision        : 000f
Serial          : 0000000099e2376f
[prateek@pkrpfr18 ~]$ cat /proc/meminfo
MemTotal:         446688 kB

[root@pkrpfr18 prateek]# yum update
No Packages marked for Update
[root@pkrpfr18 prateek]# yum install xrdp tightvnc tightvnc-server tightvnc-server-module tigervnc tigervnc-server tigervnc-server-module x11vnc freerdp freerdp
Package xrdp-0.6.0-0.7.fc18.armv5tel already installed and latest version
Package tigervnc-1.2.80-0.10.20130314svn5065.fc18.armv5tel already installed and latest version
Package tigervnc-server-1.2.80-0.10.20130314svn5065.fc18.armv5tel already installed and latest version
Package tigervnc-server-module-1.2.80-0.10.20130314svn5065.fc18.armv5tel already installed and latest version
Package tigervnc-1.2.80-0.10.20130314svn5065.fc18.armv5tel already installed and latest version
Package tigervnc-server-1.2.80-0.10.20130314svn5065.fc18.armv5tel already installed and latest version
Package tigervnc-server-module-1.2.80-0.10.20130314svn5065.fc18.armv5tel already installed and latest version
Package x11vnc-0.9.13-4.fc18.armv5tel already installed and latest version
Package freerdp-1.0.1-7.fc18.armv5tel already installed and latest version
Package freerdp-1.0.1-7.fc18.armv5tel already installed and latest version
Nothing to do
[root@pkrpfr18 prateek]# yum update xrdp tightvnc tightvnc-server tightvnc-server-module tigervnc tigervnc-server tigervnc-server-module x11vnc freerdp freerdp
No Packages marked for Update
[root@pkrpfr18 prateek]# find / -name xrdp
find: '/proc/5400': No such file or directory
/etc/sysconfig/xrdp
/etc/xrdp
/etc/logrotate.d/xrdp
/usr/share/xrdp
/usr/sbin/xrdp
/usr/lib/xrdp






[root@pkrpfr18 prateek]# ls /etc/xrdp/
km-0407.ini      km-040c.ini      km-0419.ini      rsakeys.ini      startwm-bash.sh  xrdp.ini         xrdp.sh_bak
km-0409.ini      km-0410.ini      km-041d.ini      sesman.ini       startwm.sh       xrdp.sh

In xrdp.sh, have had to change
SBINDIR=/usr/local/sbin to SBINDIR=/usr/sbin because there are no file there.
[root@pkrpfr18 prateek]# ls /usr/local/sbin/
[root@pkrpfr18 prateek]#
[root@pkrpfr18 xrdp]# /bin/bash /etc/xrdp/xrdp.sh
Usage: xrdp.sh {start|stop|restart|force-reload}
[root@pkrpfr18 xrdp]# /bin/bash xrdp.sh start
xrdp is already loaded
[root@pkrpfr18 xrdp]# /bin/bash /etc/xrdp/xrdp.sh restart
Restarting xrdp ...
Stopping: xrdp and sesman . . .
Started: xrdp and sesman . . .


[prateek@pkrpfr18 ~]$ whoami
prateek
[prateek@pkrpfr18 ~]$ vncserver

New 'pkrpfr18:1 (prateek)' desktop is pkrpfr18:1

Starting applications specified in /home/prateek/.vnc/xstartup
Log file is /home/prateek/.vnc/pkrpfr18:1.log

[prateek@pkrpfr18 ~]$ cat /home/prateek/.vnc/pkrpfr18:1.log

Xvnc TigerVNC 1.2.80 - built Mar 20 2013 07:34:55
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 11303000, 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 COMPOSITE
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-EXTENSION
Initializing built-in extension GLX

Fri Mar  8 01:41:05 2013
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5901
 vncext:      created VNC server for screen 0
[prateek@pkrpfr18 ~]$ vncserver -list

TigerVNC server sessions:

X DISPLAY #     PROCESS ID
:1              1106
prateek@pkrpfr18 ~]$ cat /etc/services | grep vnc
corel_vncadmin  2654/tcp  corel-vncadmin  # Corel VNC Admin
corel_vncadmin  2654/udp  corel-vncadmin  # Corel VNC Admin
[prateek@pkrpfr18 ~]$


Have Tried from Windows 7 to connect using mstsc, VNCViewer, TigerVNC Viewer TightVNCViewer on 192.168.1.3 and at ports :0, :1, :3389, :5900, :5901
Nothing worked as they ALL get timed out
    
por PKM 04.04.2013 / 05:48

2 respostas

1

O sistema de firewall pode estar bloqueando as solicitações de conexão. Tente desativar temporariamente o firewall (systemctl stop firewalld.service) e se isso resolver o problema, ajuste o firewall para permitir as portas apropriadas (5900 + número de exibição para vnc, por exemplo) e reative o firewall (supondo que você ganhou deseja executar com o firewall desativado, a menos que você esteja em uma LAN privada).

Como alternativa: use a opção '-via' dentro do cliente VNC para usar o ssh para a conexão. Isso é mais seguro do que usar uma conexão VNC bruta e snoopable e com a compactação ssh ativada (o padrão), um pouco mais rápida também.

    
por 05.04.2013 / 22:35
0

Deve ser algo mais do que o problema do firewall. Depois de verificar passo a passo o relatório PKM esta é a saída que recebi. o cliente tigervnc não pode ler a linha 28 no arquivo de configuração no vncserver.

[txe@Txarly ~]$ vncviewer 192.168.0.8:5903

 TigerVNC Viewer 32-bit v1.2.80 (20130314) Built on Mar 14 2013 at
 18:53:28 Copyright (C) 1999-2011 TigerVNC Team and many others (see
 README.txt) See http://www.tigervnc.org for information on TigerVNC.

 Wed Oct 16 21:54:54 2013  
 Parameters:  Could not read the line(28) in the configuration file,the buffersize is to small.  
 CConn:       unable connect to socket: No route to host (113) XOpenIM() failed 
[txe@Txarly ~]$
    
por 16.10.2013 / 23:54