Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

David's personal tech support thread

  • 17-01-2005 11:51pm
    #1
    Closed Accounts Posts: 761 ✭✭✭


    (I guess Ian will be the only one able to answer this but here I go anyway)
    How do I know what port to connect to on walton.maths.tcd.ie with VNC through PuTTY? I've got the option set to (under the tunnels section in PuTTY) L5900 localhost:5900. When I run VNCviewer it gives says: server closed connection unexpectedly.

    I guess I'm forwarding the remote port 5900 to localhost:5900 then connecting to localhost:5900 with VNC. I'm pretty sure I've got all the right ports forwarded from my router so any idea where I'm going wrong?

    There's not a huge amount of options in PuTTY so my last thought would be that I'm connecting to the wrong port on the maths servers.


Comments

  • Registered Users, Registered Users 2 Posts: 7,314 ✭✭✭Nietzschean


    probally are, when u ran vncserver what session number did it give u?
    looking at namp i see sessions on 5901 and 5902


  • Closed Accounts Posts: 761 ✭✭✭PrecariousNuts


    Oh right, I didn't realise I had to run vncserver by typing the command in PuTTY. I did that now and it gave me session 3. So that means I have to connect to port 5903 right? But do I have to start up a new PuTTY thing for that port?


  • Closed Accounts Posts: 761 ✭✭✭PrecariousNuts


    Ugh still not working, I'm actually doing things right now but I'm getting an error connection refused


  • Registered Users, Registered Users 2 Posts: 7,314 ✭✭✭Nietzschean


    5903 seems to be a valid one , you sure you've the portforwarding setup correctly?


  • Closed Accounts Posts: 761 ✭✭✭PrecariousNuts


    In PuTTY under tunnels:
    Source port: 5903
    Destination: localhost:5900

    My router forwards ports 5900-5910 to my computer.

    I try VNC to localhost:5900 and I either get connection refused or an unexpected closure.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 7,314 ✭✭✭Nietzschean


    In PuTTY under tunnels:
    Source port: 5903
    Destination: localhost:5900

    My router forwards ports 5900-5910 to my computer.

    I try VNC to localhost:5900 and I either get connection refused or an unexpected closure.
    just tried one there, works fine for me, you sure you selected local tunnel vs remote? and that in all connection settings available u selected ipv4?


  • Registered Users, Registered Users 2 Posts: 4,579 ✭✭✭Pet


    *makes swooshing over head sound and does corresponding action*


  • Closed Accounts Posts: 761 ✭✭✭PrecariousNuts


    In netstat I have:
    local address foreign address state
    davelaptop:5900 localhost:2397 TIME_WAIT


  • Closed Accounts Posts: 761 ✭✭✭PrecariousNuts


    I guess it must be this retarded router


  • Registered Users, Registered Users 2 Posts: 7,314 ✭✭✭Nietzschean


    In netstat I have:
    local address foreign address state
    davelaptop:5900 localhost:2397 TIME_WAIT
    5900? should it not be 5903?

    and once u can make an outbound connection your router doesn't come into it, vnc doesn't require an inbound connection................


  • Advertisement
  • Closed Accounts Posts: 761 ✭✭✭PrecariousNuts


    Yey it's working now, I guess it was just that port thing. Thanks for pointing that out!


  • Closed Accounts Posts: 761 ✭✭✭PrecariousNuts


    Two last things, is it possible to resize it to anything greater than 640*480 and does vi/vim have syntax highlighting?


  • Closed Accounts Posts: 761 ✭✭✭PrecariousNuts


    vncserver -geometry 1600*1200 or whatever you want if anyone is interested


  • Registered Users, Registered Users 2 Posts: 7,314 ✭✭✭Nietzschean


    well since u figured the other one out.......
    does vi/vim have syntax highlighting?

    add the line
    syntax on
    ~/.vimrc


  • Closed Accounts Posts: 761 ✭✭✭PrecariousNuts


    does that only work with gvim?


  • Registered Users, Registered Users 2 Posts: 7,314 ✭✭✭Nietzschean


    ummmm nope, works fine with vim for me...


  • Closed Accounts Posts: 761 ✭✭✭PrecariousNuts


    **** sake, another thing that doesn't work off the bat for me


  • Registered Users, Registered Users 2 Posts: 7,314 ✭✭✭Nietzschean


    try it on turing

    o and try an echo $TERM and tell me the results there..


  • Closed Accounts Posts: 761 ✭✭✭PrecariousNuts


    It works on turing... brought a tear to my eye. echo $TERM gives xterm-color


  • Closed Accounts Posts: 761 ✭✭✭PrecariousNuts


    Oh and do the maths servers have a mysql database or the likes? At the moment I have 4 or so very simple php scripts to read in stuff from text files and echo them and then the CSS takes over with the formatting. But they are very painful and seem to stop working and I don't like the way I have to set the permissions.

    http://www.maths.tcd.ie/~dleen/index.php


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 7,314 ✭✭✭Nietzschean


    Oh and do the maths servers have a mysql database or the likes? At the moment I have 4 or so very simple php scripts to read in stuff from text files and echo them and then the CSS takes over with the formatting. But they are very painful and seem to stop working and I don't like the way I have to set the permissions.

    http://www.maths.tcd.ie/~dleen/index.php
    read in and echo? you could just use require/include and it would load up the files and spew them out...... , and 644 premissions? whats wrong with that if your going to be displaying them on the web anyway?


    anyway yes we do have a mysql server, its on gosset, you can request an account by mailing ops@maths.tcd.ie


  • Closed Accounts Posts: 761 ✭✭✭PrecariousNuts


    Great thanks, I'm pretty new to php so I was just trying to use the bit of C knowledge that I've got so far to do this since php is fairly similar to it.


  • Registered Users, Registered Users 2 Posts: 7,314 ✭✭✭Nietzschean


    ah yeah php is a complete doddle when ye know C


  • Posts: 16,720 ✭✭✭✭ [Deleted User]


    Really? Hmmm...


  • Registered Users, Registered Users 2 Posts: 7,314 ✭✭✭Nietzschean


    Myth wrote:
    Really? Hmmm...
    yes if u didn't zone out when ever mention something computer related i'm sure u'd have learned that ages ago :p


  • Closed Accounts Posts: 4,487 ✭✭✭Kevin_rc_ie


    All hail the mighty ian, keeper of all information techo.


  • Registered Users, Registered Users 2 Posts: 7,314 ✭✭✭Nietzschean


    All hail the mighty ian, keeper of all information techo.
    lol.


  • Closed Accounts Posts: 761 ✭✭✭PrecariousNuts


    Any update on my request;
    28954 6days open mysql account


  • Registered Users, Registered Users 2 Posts: 7,314 ✭✭✭Nietzschean


    Any update on my request;
    28954 6days open mysql account
    o yeah that, umm i forgot since eoin's gone i'm about the only one who can be bothered admin'n the mysql server..... woopsie


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 7,314 ✭✭✭Nietzschean


    right all done, check ur maths email.


  • Closed Accounts Posts: 761 ✭✭✭PrecariousNuts


    Thank you good sir! How did you manage to get to be (head?) admin anyway?


  • Closed Accounts Posts: 4,487 ✭✭✭Kevin_rc_ie


    lets just say he gives good. damn that was too obvious.


  • Registered Users, Registered Users 2 Posts: 7,314 ✭✭✭Nietzschean


    Thank you good sir! How did you manage to get to be (head?) admin anyway?
    i'm not head admin anyway, its more of a team effort...and emm cause i helped out quite a few times n i guess showed i knew stuff so let me be admin n i learned everything else :)


  • Closed Accounts Posts: 761 ✭✭✭PrecariousNuts


    Do you have phpmyadmin? I know it's probably quicker and easier to manage from the prompt but it would be good to know it's there anyway.


  • Registered Users, Registered Users 2 Posts: 7,314 ✭✭✭Nietzschean


    Do you have phpmyadmin? I know it's probably quicker and easier to manage from the prompt but it would be good to know it's there anyway.
    umm globally installed no, tho i suppose i could install it without much hassle... you can of course install it locally(all it is is a couple of php pages really..)


  • Advertisement
  • Closed Accounts Posts: 761 ✭✭✭PrecariousNuts


    Cool I'll do that then


  • Registered Users, Registered Users 2 Posts: 8,452 ✭✭✭Time Magazine


    These threads make me wonder why people mock BESS.....


  • Closed Accounts Posts: 761 ✭✭✭PrecariousNuts


    So having never used or even heard of VNC before that question, was I wrong in assuming that there was already a VNC server running on the maths servers?

    Having exhausted google was I wrong in asking if syntax highlighting worked? I edited the .vimrc file so many times I got sick of trying to figure it out and just asked. (I had never used vim before either)

    Was I supposed to know that ops@maths.tcd.ie dealt with creating mysql accounts? Did I know that Eoin was gone?

    Go back to mocking BESS.
    (Oh and that wasn't the original thread topic, it was edited. That's the only possible reason I can think of for you posting that comment.)


  • Registered Users, Registered Users 2 Posts: 7,314 ✭✭✭Nietzschean


    These threads make me wonder why people mock BESS.....
    wtf does that mean? why wouldn't we?


  • Registered Users, Registered Users 2 Posts: 7,314 ✭✭✭Nietzschean


    So having never used or even heard of VNC before that question, was I wrong in assuming that there was already a VNC server running on the maths servers?[/QUPTE]
    Uh that doesn't make sence, each user run's their own copy of a vnc server...
    Did I know that Eoin was gone?
    you were mailing poor eoin?


  • Advertisement
Advertisement