LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 07-01-2005, 06:36 PM   #1
jasone
Member
 
Registered: Oct 2004
Location: Sweden
Distribution: FreeBSD, OpenBSD, Debian Etch
Posts: 160

Rep: Reputation: 30
Shut down entire ssh-deamon and close xorg's listen mode


Hi!

How and where can I shut down the ssh-deamon. I mean in which file.... I'd also like to know how to start x with no listen mode (with xorg)

Thanks in advance!
 
Old 07-01-2005, 07:23 PM   #2
dunric
Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 387

Rep: Reputation: 32
  • /etc/rc.d/rc.sshd stop or kill <pid> or killall sshd. To prevent automatic starts at next system inits, remove exec permission (chmod -x /etc/rc.d/rc.sshd) .
  • F.E. add -nolisten tcp parameter to X.
 
Old 07-01-2005, 07:27 PM   #3
egag
Senior Member
 
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,718

Rep: Reputation: 48
if you use "startx " to do what it sais, you can edit
this line in /usr/X11/bin/startx :

defaultserverargs="-dpi 96 -nolisten tcp"

it's linenr. 24.
it also put your screen in 96x96dpi, wich gives a better font.

egag
 
Old 07-01-2005, 07:33 PM   #4
jasone
Member
 
Registered: Oct 2004
Location: Sweden
Distribution: FreeBSD, OpenBSD, Debian Etch
Posts: 160

Original Poster
Rep: Reputation: 30
Great! Thanks you two! This is why LQ rocks!
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring SSH to listen on two different ports at once james penguin Linux - Software 4 11-24-2005 09:08 PM
SSH listen on two ports Buto Slackware 1 10-02-2004 01:15 PM
nmb failed to close on shut down LinuxNewbie1103 Linux - General 1 10-30-2003 10:17 PM
how to start up ssh deamon bennethos Linux - Newbie 2 10-21-2003 08:56 AM
Can SSH Telnet listen for specific IP? tikvah Linux - Security 2 01-19-2003 10:00 AM


All times are GMT -5. The time now is 06:49 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
Open Source Consulting | Domain Registration