xmms2d - nemozem sa pripojit s klientom
dash:/tmp# ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:ca:d0:f2:24
inet addr:192.168.2.106 ...
dashko@dash:~$ xmms2d
INFO: ../src/xmms/log.c:49: Initialized logging system :)
06:35:05 INFO: ../src/xmms/ipc.c:795: IPC listening on 'tcp://192.168.2.106:9772'.
06:35:05 INFO: ../src/xmms/main.c:517: Using output plugin: alsa
dash:/tmp# netstat -anp tcp | grep 9772
tcp 0 0 192.168.2.106:9772 0.0.0.0:* LISTEN 7615/xmms2d
A ked sa z ineho stroja (192.168.2.101) pripajam s Esperanzou na 192.168.2.106:9772, Esperanza pise
Couldn't connect to XMMS2, please try again.
V com moze byt problem? Je to default instalacia Debianu, LAMP server pekne fici.
Dik.
Pre pridávanie komentárov sa musíte prihlásiť.
dash@dash-pc:~$ nmap 192.168.2.106 -p9773
Starting Nmap 4.62 ( http://nmap.org ) at 2010-02-10 13:03 CET
Interesting ports on 192.168.2.106:
PORT STATE SERVICE
9773/tcp closed unknown
Nmap done: 1 IP address (1 host up) scanned in 0.396 seconds
Making xmms2d listen for requests via TCP:
xmms2 config core.ipcsocket tcp://192.168.2.20:<port>
and then restart xmms2d. (replace 192.168.2.20 with your IP address as appropriate) xmms2d will then listen on that port for requests from remote clients.
dash:/home/dashko/.config/xmms2# cat xmms2.conf | grep 9772
<property name="ipcsocket">tcp://192.168.2.106:9772</property>
Tam som to nastavoval a tam to nastavuje ten prikaz :/ kde moze byt problem?
dash:/tmp# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Starting Nmap 4.62 ( http://nmap.org ) at 2010-02-10 13:10 CET
Interesting ports on 192.168.2.106:
PORT STATE SERVICE
9772/tcp open unknown
Nmap done: 1 IP address (1 host up) scanned in 0.282 seconds
Sry som si pomylil 9772!=9773 :D no stale sa nemozem pripojit :/
dashko@dash:~$ xmms2 list
ERROR: Could not connect to xmms2d: xmms2d is not running.
dashko@dash:~$ ps -aux | grep xmms
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
dashko 19239 0.0 0.4 64180 3068 pts/3 Sl+ 07:48 0:00 xmms2d
dashko 21198 0.0 0.1 3108 752 pts/4 S+ 08:00 0:00 grep xmms
treba uviest exaktne ipcpath=tcp://192.168.2.106:9772
<section name="core">
<property name="ipcsocket">tcp://192.168.2.106:9772</property>
15:15:32 INFO: ../src/xmms/main.c:267: Client 'xmms2-cli' with bad protocol version (11, not 13) connected
15:19:03 INFO: ../src/xmms/main.c:267: Client 'Esperanza' with bad protocol version (11, not 13) connected
A je to ;)