LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-24-2004, 09:21 PM   #16
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47

yeah i already did that.

Sorry, i meant i want a user to be alble to shutdown from inside KDE.. without having to logout first.
 
Old 11-01-2004, 08:00 AM   #17
zsazs
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
Here's how to fix your problem with KDM not allowing X to listen for tcp connections.

(I have a Debian system, but the location should be similar if not the same)

In the file /etc/kde3/kdm/Xservers file there should be a line like:

:0 local@tty1 /usr/X11R6/bin/X -dpi 100 -nolisten tcp

Just take out the "-nolisten tcp" and you should be able to run X apps remotely without SSH X tunnelling. I, too, like to run them directly for that little bit of less latency.=B
 
Old 11-01-2004, 01:17 PM   #18
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
PERFECT..... this is what i was looking for....
good answers come to those who wait
 
Old 11-08-2004, 02:12 AM   #19
grayd
LQ Newbie
 
Registered: Nov 2004
Location: Sydney, Australia
Distribution: Formerly RH, Fedora, now Ubuntu
Posts: 9

Rep: Reputation: 0
Thanks qwijibow for persevering with this thread. I have had exactly the same problem and I am about to try the solution outlined by zsazs.
I use Gnome so I hope the Xservers file exists there as well.
 
Old 11-08-2004, 04:27 AM   #20
grayd
LQ Newbie
 
Registered: Nov 2004
Location: Sydney, Australia
Distribution: Formerly RH, Fedora, now Ubuntu
Posts: 9

Rep: Reputation: 0
Nope, FC2 does not have the file... but it was the clue I needed.

For me the critical switch is in /etc/X11/gdm/gdm.conf
In the security section set:
DisallowTCP=false

Alternatively use the 'gdmsetup' gui accessible from System Settings -> Login Screen -> 'security' tab -> uncheck the appropriate box.
 
Old 11-28-2004, 06:17 PM   #21
jeroen_trappers
LQ Newbie
 
Registered: Nov 2004
Posts: 1

Rep: Reputation: 0
THE ANSWER!

in gentoo, the default startup options are in :

/usr/kde/3.3/share/config/kdm/Xservers :

the first uncommented line has -nolisten tcp in the end. If you comment that option out and restart your x-server, it should work just fine.


greetings,

Jeroen Trappers
 
Old 11-28-2004, 07:29 PM   #22
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Original Poster
Rep: Reputation: 47
lol.. you were beaten to it by 18 days
look at zsazs post a few posts up.
 
Old 09-30-2005, 08:35 AM   #23
evilbohdran
LQ Newbie
 
Registered: Sep 2005
Distribution: Gentoo
Posts: 5

Rep: Reputation: 0
Thanks for the help, I was looking for this too.

For those running plain X servers (not using kdm,xdm or gdm), know that you can set this on a per user basis
by adding a ~/.xserverrc to your home directory, contents of which are:

exec /usr/bin/X -dpi 100

(replace X with wherever your xserver is).

As well, on my gentoo install, the system-wide default file is at -
/etc/X11/xinit/xserverrc
 
Old 06-16-2006, 10:06 PM   #24
jfs_linux
LQ Newbie
 
Registered: Aug 2005
Distribution: Suse
Posts: 3

Rep: Reputation: 0
For SUSE 10.0 the -nolisten TCP is in /etc/opt/kde3/share/config/kdm/kdmrc
on a line ServerArgsLocal=-nolisten tcp
 
Old 12-23-2009, 02:42 AM   #25
Exto
LQ Newbie
 
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
Running OpenSuse11, given that I searched a bit, thought i would update this old thread.

it appears this option has moved to:

/etc/sysconfig/displaymanager

setting:

# TCP port 6000 of Xserver. When set to "no" (default) Xserver is
# started with "-nolisten tcp". Only set this to "yes" if you really
# need to. Remote X service should run only on trusted networks and
# you have to disable firewall for interfaces, where you want to
# provide this service. Use ssh X11 port forwarding whenever possible.
#
DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="no"
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What kind of music do you listen to when surfing linuxquestions.org forums? t3gah General 32 10-14-2005 04:41 PM
Can i make my X server to listen only for ssh requests and my X client to use shh ??? alekoos Linux - Security 2 05-06-2004 05:11 PM
How to make a program to listen on a Particular port palanisaravanan Linux - General 4 04-14-2004 06:43 PM
a program to listen+accept incomming connection+echo packets ? qwijibow Linux - Software 0 03-01-2004 09:10 PM
using 2 ISDN connections to make one fast one zarnok Linux - Networking 0 09-07-2001 03:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:43 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration