Výsledky 1 až 4 z 4

Téma: Gentoo, ssh + X forward

Hybrid View

Předcházející příspěvek Předcházející příspěvek   Další příspěvek Další příspěvek
  1. #1

    Standardní Gentoo, ssh + X forward

    Zdravim, mam mensi problem s rozbitym forwardem X-ek.
    Na masine mam pusteny cygwin + X-ka. ssh-cku se domu pomoci ssh -XC foo@bar. Vypis pripojeni:
    Kód:
    debug1: channel 0: new [client-session]
    debug3: ssh_session2_open: channel_new: 0
    debug2: channel 0: send open
    debug1: Entering interactive session.
    debug2: callback start
    debug2: x11_get_proto: /usr/X11R6/bin/xauth -f /tmp/ssh-JljeMW8820/xauthfile generate :0.0 MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2>/dev/null
    debug2: x11_get_proto: /usr/X11R6/bin/xauth -f /tmp/ssh-JljeMW8820/xauthfile list :0.0 . 2>/dev/null
    debug1: Requesting X11 forwarding with authentication spoofing.
    debug2: channel 0: request x11-req confirm 0
    debug2: client_session2_setup: id 0
    debug2: channel 0: request pty-req confirm 0
    debug3: tty_make_modes: ospeed 38400
    debug3: tty_make_modes: ispeed 38400
    debug3: tty_make_modes: 1 3
    debug3: tty_make_modes: 2 28
    debug3: tty_make_modes: 3 8
    debug3: tty_make_modes: 4 21
    debug3: tty_make_modes: 5 4
    debug3: tty_make_modes: 6 0
    debug3: tty_make_modes: 7 0
    debug3: tty_make_modes: 8 17
    debug3: tty_make_modes: 9 19
    debug3: tty_make_modes: 10 26
    debug3: tty_make_modes: 12 18
    debug3: tty_make_modes: 13 23
    debug3: tty_make_modes: 14 22
    debug3: tty_make_modes: 18 15
    debug3: tty_make_modes: 30 0
    debug3: tty_make_modes: 31 0
    debug3: tty_make_modes: 32 0
    debug3: tty_make_modes: 33 0
    debug3: tty_make_modes: 34 0
    debug3: tty_make_modes: 35 0
    debug3: tty_make_modes: 36 1
    debug3: tty_make_modes: 37 0
    debug3: tty_make_modes: 38 1
    debug3: tty_make_modes: 39 0
    debug3: tty_make_modes: 40 0
    debug3: tty_make_modes: 41 0
    debug3: tty_make_modes: 50 1
    debug3: tty_make_modes: 51 1
    debug3: tty_make_modes: 53 1
    debug3: tty_make_modes: 54 1
    debug3: tty_make_modes: 55 1
    debug3: tty_make_modes: 56 0
    debug3: tty_make_modes: 57 0
    debug3: tty_make_modes: 58 0
    debug3: tty_make_modes: 59 1
    debug3: tty_make_modes: 60 1
    debug3: tty_make_modes: 61 1
    debug3: tty_make_modes: 70 1
    debug3: tty_make_modes: 71 0
    debug3: tty_make_modes: 72 1
    debug3: tty_make_modes: 73 0
    debug3: tty_make_modes: 74 0
    debug3: tty_make_modes: 75 0
    debug3: tty_make_modes: 90 1
    debug3: tty_make_modes: 91 1
    debug3: tty_make_modes: 92 0
    debug3: tty_make_modes: 93 0
    debug2: channel 0: request shell confirm 0
    debug2: fd 3 setting TCP_NODELAY
    debug2: callback done
    debug2: channel 0: open confirm rwindow 0 rmax 32768
    debug2: channel 0: rcvd adjust 131072
    Last login: Sat May 27 22:42:02 2006 from 10.0.0.1
    pak kdyz zkousim pustit napr. gimp:
    Kód:
    foo@bar ~ $ gimp
    _X11TransSocketINETConnect() can't get address for localhost:6011: Name or service not known
    GIMP could not initialize the graphical user interface.
    Make sure a proper setup for your display environment exists.
    a vypis DISPLAY:
    Kód:
    foo@bar ~ $ echo $DISPLAY
    localhost:11.0
    sshd_config:
    Kód:
    Port 22
    PermitRootLogin no
    IgnoreRhosts yes
    X11Forwarding yes
    TCPKeepAlive yes
    ClientAliveInterval 43200
    Subsystem       sftp    /usr/lib/misc/sftp-server
    nemate nekdo radu, co kde jeste zkontrolovat, co je spatne?
    jenom mi prijde divna ta $DISPLAY

    v gentoo jsou pam odstranil pomoci http://gentoo-wiki.com/HOWTO_Remove_PAM
    Dik za jakoukoliv radu
    Nejaky to Jabko a nejakej ten Nikoooon + fitpc2 s FreeBSD :)

  2. #2

    Standardní Re: Gentoo, ssh + X forward

    Kód:
    cat /etc/hosts
    ?
    Hrrrr, will you stop using people as human driven search engines? Google.com has all the answers you need.

  3. #3

    Standardní Re: Gentoo, ssh + X forward

    Kód:
    cat /etc/hosts
    127.0.0.1               localhost
    10.0.0.10               domain bar
    je pravda, ze mi to rika 'unknown domain' pri bootu a to taky nejak netusim jak se rozbilo
    Nejaky to Jabko a nejakej ten Nikoooon + fitpc2 s FreeBSD :)

  4. #4
    Administrátor mince Avatar uživatele Jezevec
    Založen
    08.10.2002
    Bydliště
    Teplice
    Příspěvky
    6 738
    Vliv
    300

    Standardní Re: Gentoo, ssh + X forward

    Ta neznama domena je tim, ze se znenil zpusob konfigurace, hledej v /etc/conf.d/hostname a domainname
    IMPROBE AMOR, QUID NON MORTALIA PECTORA COGIS - krutá jsi, lásko, kam až ty doženeš smrtelná srdce -- Vergilius
    Mnoho je prostředků, které léčí lásku, ale žádný není spolehlivý.
    S tím, čeho se na nás dopustili druzí se už nějak vyrovnáme. Horší je to s tím, čeho jsme se na sobě dopustili sami.
    -- Francois La Rochefoucauld
    Nabídnout přátelství tomu, kdo chce lásku, je jako dát chleba tomu, kdo umírá žízní.

Informace o tématu

Users Browsing this Thread

Toto téma si právě prohlíží 1 uživatelů. (0 registrovaných a 1 anonymních)

Podobná témata

  1. Debian a pristup z inetu k SSH nebo Webu nefunguje - Uz jede
    Založil MEluZíNa v sekci fóra Operační systémy na bázi Unixu
    Odpovědí: 12
    Poslední příspěvek: 12.10.2005, 10:49
  2. Gentoo otazky.
    Založil minio v sekci fóra Operační systémy na bázi Unixu
    Odpovědí: 72
    Poslední příspěvek: 28.06.2005, 17:52
  3. Něco jako ssh, ale do win (ne telnet), pouze comand line!!
    Založil Skodik v sekci fóra Programy a problémy s nimi
    Odpovědí: 8
    Poslední příspěvek: 29.11.2004, 21:02
  4. SSH v konzoli jako default login?
    Založil Marty v sekci fóra Operační systémy na bázi Unixu
    Odpovědí: 2
    Poslední příspěvek: 17.06.2004, 15:53
  5. Gentoo
    Založil Wohmatak v sekci fóra Operační systémy na bázi Unixu
    Odpovědí: 37
    Poslední příspěvek: 23.06.2003, 15:19

Pravidla přispívání

  • Nemůžete zakládat nová témata
  • Nemůžete zasílat odpovědi
  • Nemůžete přikládat přílohy
  • Nemůžete upravovat své příspěvky
  •