Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Using Fedora 4. I issued the command "ssh -g -L 5901:localhost:5902 mydomain.com" to enable secure vnc connection.
Now I killed the vnc connection, to restart for another user, but the port won't release! I killed the PID of ssh, sshd, xinetd, vnc, etc. When I try to reissue the command, I get "bind: Address already in use".
I also deleted the .X11, etc lock files, and the lock files under ~.vnc/.
Nope. I tried that already. I killed the process, ensured it died, saw no indication anywhere that ssh is running (ps -A; netstat -nlp, etc) and as soon as I try the command again, it tells me the port is not available.
OH, also, I can start vncserver normally, without specifying a port, and it will give start with port :1 with np; but not through ssh.
This is a tricky one. may be a bug.
bind: Address already in use
channel_setup_fwd_listener: cannot listen to port: 5901
Could not request local forwarding.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.