| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8
Comments:
<0> ssh -L 5901:localhost:5900 user@vncip <--- I used that. <1> two seconds.. <0> I'm thinking I might have to forward those ports on my router? <1> Reznik: no.. it goes through ssh <1> thats why its tunnelled ;) <0> Oh, i see <0> So....channel_setup_fwd_listener...Hm - <1> Reznik: locahost is wrong <1> should be remotehost <0> znx: i'm just reading it off the gentoo-wiki <2> ok , auto mount the cdrom , search through the dirs and pull out all images and movies , music files and copy them to another dir and then make a log of what was just done <1> hrmm.. must be something will looping the x11 .. <0> ssh -L 5901:remotehost:5900 myuser@myip gave me the same errors <0> channel_setup_fwd_listener:cannot listen to port: 5901 and 'could not request local forwarding. <1> ssh -L 5901:remotehost:5900 -l myuser -N remotehost <0> remotehost or my Ip :P ?
<1> phatrat: mount /mnt/cdrom || exit; find /mnt/cdrom -iname '*.mp3' -print0 | xargs -i -0 cp -iv {} /path/to/copy/to >>/path/to/log/to 2>>/path/to/log/errors/to; umount /mnt/cdrom <0> znx: input my p***wd and got the same channel_.... and could not request... <1> maybe phatrat hehe.. untested :P <0> it's hanging now lol <1> hrmm <1> Reznik: show me the gentoo-wiki page.. <1> so i can see what its talking about <0> http://gentoo-wiki.com/HOWTO_TightVNC_connecting_to_current_session <1> :( <1> Reznik: OK! <1> i see what they are doing.. <1> hehe <1> they are running the vnc backwards.. to what i guessed :x <1> starting it on the remotehost and mapping it to you <1> so you then connect to port 5901 on the localhost and will see the remotely pushed vnc <1> so what they are saying is right.. ignore what i was doing :p <2> znx , thanks for the help on the snag <1> np <3> re <0> znx: So :O "? LOl <0> znx: Any guess to why ssh -L 5901:localhost:5900 user@vncip gets those errors <0> the ssh tunnel <4> what are you trying to do? <1> ugh <1> Reznik: check to see nothing is running on the port <4> ya thanks <4> ignore me <1> :p <4> that isn't possible <4> I'll phase right through you <5> poop <0> znx: 5901/tcp open vnc-1 <0> znx: when I ssh -L 5901:localhost:5900 myuser@localhost I get logged in <0> Is that where the vnc starts ? <6> what do you mean "where the vnc starts" ? <7> where it starts damn you! starts! <7> heh <0> ssh -L 5901:localhost:5900 user@vncip 'x11vnc -localhost -display :0' ? <3> :o) <3> not without lubricant <0> i'll try that <0> i've never used vnc before <0> I just input that command and got a huge list <0> do I 'startx' in terminal or something? <6> set vnc to only allow connections on localhost. start vnc server. from the remote machine, ssh to to vnc machine and forward the port 5901 back to your local machine just the way you have shown above. then, on the local machine, run vncviewer and point to localhost:5900 or whatever port you ***igned it to in the ssh forward command <6> vncserver can run all the time. it only uses resources when you are actually connected to it <0> vncviewer -quality 5 localhost:1 <0> Error: Can't open display: <6> on linuxnoob, i have written a guide to setting up ssh for forwarding ports... if you need a guide <6> reznik: i prefer to point to the port instead of the display. ive had better luck that way <0> i'm noob P38 ! <6> and, according to the command you show above, you are on 5900 localhost not 5901 <6> reznik: all the more reason to read the guide on how ssh works <6> if you change the command above to ssh -L 5901:localost:5901 user@vncip, vncviewer localhost:1 should work <0> vncserver
<0> xauth: (argv):1: bad display name "tux:2" in "add" command <0> Weird... <6> why tux:2 you are using :1 <0> I ..guess - <1> someone brave enough to get banned ? <8> heh znx <1> sixtymhz: type DCC SEND .. :P <8> no. <1> i will unban i promise <6> DCC SEND <1> P38: you are "god" <1> :P <6> znx: you are too <8> DCC S3ND <1> well my client isnt going to ban me :P <8> you didnt give me enough time to pull my pants down :) <1> heh <8> er :) <8> er <8> :( <8> dark in here. <8> anyways, wifey needs lovin. Night guys. <1> P38: :O <0> P38: When I ssh -L 5901:localost:5901 user@vncip, vncviewer localhost:1 should work <6> nn sixtymhz btw, that is not what she told me <0> could not request local forwarding, error cant open display <6> reznik: standby a sec <0> yes sir <6> reznik: ssh -L5901:remote.machine.ip:5901 user@remote.machine.com <6> that will forward 5901 from the remote machine back to your local machine on 5901 <6> then, once you are connected, do vncviewer:5901 <6> bah <6> vncviewer localhost:5901 <6> do you understand the command i show <0> bah. :S ssh: remote.machine.com: Name or service not know <9> wheres the p***word file located on FC4 <6> ssh -L5901:192.168.0.1:5901 user@192.168.0.1 <6> bigbong: /etc/p***wd <6> the encrypted p***words are stored in /etc/shadow <0> ssh: connect to host 192.168.0.1 port 22: Connection refused <6> reznik: is your remote machine's ip 192.168.0.1 <6> the machine that is running vncserver <0> i think it's 192.168.0.102 <6> well then you are not going to have any luck trying to connect to 192.168.0.1 are you <0> ok i logged into it <0> but i see something after the p***word it says <0> channel_setup_fwd_listener; cannot listern to port: 5901 <6> is vncserver running ? <0> ill get xauth: (argv):1: bad display name "tux:4" in "add" command whenever i run vncserver <0> new 'X ' desktop is tux 4 starting apps in specified /home/myuser/.vnc/xstartup blah <6> znx: did you set this up ? <0> this business is difficult <1> OINK <1> hrmm? <6> reznik: who setup your .vnc/xstartup <1> P38: yeah i know.. its counterintuitive.. <10> man I HATE security. <6> znx: that word has more than 3 sullables <1> the ssh tunnel is setup to open the server back to the client <6> ahhh <6> yeah exactly that isnt the problem <6> the problem seems to be his vnc startup file.. it looks like he is starting viewport 4 instead of 1 <1> heh <1> that wouldnt help ;) <6> reznik: vnc port 5901 = viewport 1 5904 would be viewport 4 <6> something else.. it sounds like his server is already running <6> therefore he cant start it again <6> i need hot tea <6> bbn a minute <0> yeah when i nmap localhost i see 5901 vnc being used <1> hehe nmap? <1> netstat <0> nothing really
Return to
#linux-noob or Go to some related
logs:
#stocks #politics #beginner #bsd #solaris #beginner mediso efnet how to make degausing coil #nhl #linuxhelp
|
|