configuring cups on a server that does NOT have X Window installed
I want to set up a server to provide
1. DHCP 2. NTP and to serve as a print server. I've been advised that server security is better if it is NOT running a GUI (X Window) but all my attempts to configure CUPS from the command line have failed. In theory it should be possible to log onto my server from another computer on the same (local) network and use this other computer to be the X Window Server for the web based cups configuration program running on the server and achieve my configuration that way. Can anyone suggest the syntax I should use to accomplish this and workarounds any problems I might encounter? Any and all help would ofcourse be greatly appreciated. cheers, alex [/I] |
on your linux desktop type this command
Code:
ssh -f -L 3000:localhost:631 root@printserver-ip sleep 2d http://localhost:3000 then u can configure that printserver remotely from your desktop |
thanks a lot!
Very good of you to so succinctly give me the info I need. I will continue to try to wrap my brain around the various ssh options such as -f -L etc. Also I don't get the 'sleep 2d' part but will look into it.
cheers, alex |
FYI sleep 2d must exist with -f ( forking to the background)
if you not kill the process or restart the desktop the process will remain in the background for 2 days, you can use 1000s as option :) i use this option for tunnel my web browser to datacenter for fast browsing but privoxy must run in the remote server |
All times are GMT -5. The time now is 07:33 AM. |