LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-12-2009, 09:19 PM   #1
aKleider
LQ Newbie
 
Registered: Jul 2009
Location: San Francisco Bay Area
Distribution: currently Debian and Ubuntu
Posts: 4

Rep: Reputation: 1
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]
 
Old 07-13-2009, 05:46 AM   #2
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 771
Blog Entries: 6

Rep: Reputation: 75
on your linux desktop type this command

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

http://localhost:3000

then u can configure that printserver remotely from your desktop
 
Old 07-14-2009, 10:16 AM   #3
aKleider
LQ Newbie
 
Registered: Jul 2009
Location: San Francisco Bay Area
Distribution: currently Debian and Ubuntu
Posts: 4

Original Poster
Rep: Reputation: 1
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
 
Old 07-15-2009, 01:50 AM   #4
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 771
Blog Entries: 6

Rep: Reputation: 75
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
 
  


Reply

Tags
cups, remotely, ssh


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
updating from CUPS 1.1.9 to CUPS 1.2.10 conflicts with programs not installed. Nahmus Linux - Software 4 04-20-2007 12:23 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 09:31 AM
Configuring CUPS printing through router w/ print server AIMath Linux - Networking 6 08-31-2004 12:51 AM
configuring cups Mister_Glass Linux - Newbie 2 08-23-2004 03:11 PM
Configuring CUPS Inexactitude Linux - Software 2 10-22-2003 09:28 PM


All times are GMT -5. The time now is 10:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration