-   Linux - Server (
-   -   configuring cups on a server that does NOT have X Window installed (

aKleider 07-12-2009 08:19 PM

configuring cups on a server that does NOT have X Window installed
I want to set up a server to provide
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.


routers 07-13-2009 04:46 AM

on your linux desktop type this command


ssh -f -L 3000:localhost:631 root@printserver-ip  sleep 2d
open ur desktop browser


then u can configure that printserver remotely from your desktop

aKleider 07-14-2009 09:16 AM

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.

routers 07-15-2009 12:50 AM

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 03:45 AM.