Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Hi! I'm trying to set up tightvnc to listen on http port 53 so I can access my desktop at home from work on a java enabled web browser. I'm limited on the number of ports I can use from work because of the corporate firewall.
I issue the command:
vncserver -httpport 53
I get this response:
Couldn't start Xvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn't start Xvnc process.
02/12/03 09:56:18 Xvnc version 3.3.tight1.2.7
02/12/03 09:56:18 Copyright (C) 1999 AT&T Laboratories Cambridge.
02/12/03 09:56:18 Copyright (C) 2000-2002 Constantin Kaplinsky.
02/12/03 09:56:18 All Rights Reserved.
02/12/03 09:56:18 Desktop name 'X' (localhost:1)
02/12/03 09:56:18 Protocol version supported 3.3
02/12/03 09:56:18 Listening for VNC connections on TCP port 5901
02/12/03 09:56:18 Listening for HTTP connections on TCP port 53
02/12/03 09:56:18 URL "sorry, had to remove the url because i don't have enough posts"
02/12/03 09:56:18 ListenOnTCPPort: Permission denied
Anybody have any ideas? Should I have something else in the command to launch tightvnc?
Any ideas would be greatly appreciated.
Ok. I now have ssh listening on port 53. I had it listening on port 80 because that's one of the ports open at work but would rather not have anything listening on that port. The default port for TightVNC is 5901 if I'm not mistaken. I can start vncserver with no arguments and it listens on that port. How would I go about accessing that through my ssh connection?
From work you need to ssh to the server with something like:
ssh -l 5901:127.0.0.1:5901 -N ip.of.your.machine -l root
You can do this with putty too if it is a windows computer. Then from my your work pc you should be able to vnc to itself and have the connection forwarded over a secure connection to your home machine - ie:
The desktop I'm trying to connect to is inside my LAN. It's IP address is 192.168.0.2
I have a linux firewall/router set up with port forwarding set up to forward the correct ports to my inside box.
sshd is listening on port 53
I opened putty. In the session section, in the host name field, I entered my outside Ip address. Ticked the SSH protocal radio button. Changed the port number to 53.
Went to the Tunnels section under SSH.
Checked "Enable X11 forwarding"
Set X display location to "localhost:0" (that was the default)
Entered 5901 in the source port field.
put 192.168.0.2:5901 in the Destination field.
Made sure the Local Radio button was ticked.
Then went back to the Session Section and Saved this config so wouldn't have to type it all in every time.
Connected and then logged in as a user.
Opened TightVNC viewer and connected to localhost:1
It asked me for a user password. entered that and a window opened up and there was my desktop!
Hmmm...Did any of that make any sense?