You are not logged in.
Pages: 1
Hi there,
using GDM it looks like the X server is started with "nolisten tcp" per default. How can I change this ?
Joerg
Offline
Try /etc/X11/xinit/xserverrc
Even w/o GDM startx uses "-nolisten tcp".
Edit: How I figured it out:
I start with 'startx', so let's see what exactly is it:
[karol@black ~]$ type startx
startx is /usr/bin/startx
[karol@black ~]$ less /usr/bin/startx
#!/bin/sh
#
# This is just a sample implementation of a slightly less primitive
# interface than xinit. It looks for user .xinitrc and .xserverrc
# files, then system xinitrc and xserverrc files, else lets xinit choose
# its default. The system xinitrc should probably do things like check
# for .Xresources files and merge them in, startup up a window manager,
# and pop a clock and serveral xterms.
#
# Site administrators are STRONGLY urged to write nicer versions.
#
unset DBUS_SESSION_BUS_ADDRESS
unset SESSION_MANAGER
userclientrc=$HOME/.xinitrc
sysclientrc=/etc/X11/xinit/xinitrc
userserverrc=$HOME/.xserverrc
sysserverrc=/etc/X11/xinit/xserverrc
The file is longer, but let's stop here.
I'm looking for '-nolisten tcp' and I'm sure I don't have it set up in my ~/.xinitrc and I don't have ~/.xserverrc at all.
/etc/X11/xinit/xinitrc is not what I'm looking for, but /etc/X11/xinit/xserverrc sure is! :-)
Last edited by karol (2010-09-26 16:22:54)
Offline
I already removed "-nolisten tcp" from /etc/X11/xinit/xserverrc, it doesn't make a difference.
Offline
I already removed "-nolisten tcp" from /etc/X11/xinit/xserverrc, it doesn't make a difference.
Either you have it also in some other place like .xinitrc or GDM uses some extra configs. What happens if you run '/usr/bin/X'? Does it magically pick some options?
Last edited by karol (2010-09-27 18:01:28)
Offline
/etc/gdm/custom.conf
[security]
DisallowTCP=false
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Either you have it also in some other place like .xinitrc or GDM uses some extra configs.
There's no related config in .xinitrc and so on, so I'm pretty sure it's somewhere in GDM's config, but I don't know how to get there. I checked the GDM options in the Gnome config editor, but couldn't find anything relevant.
What happens if you run '/usr/bin/X'? Does it magically pick some options?
Actually the X server exits complaining about a missing touchpad driver, but as far as I could see it tried to start without "-nolisten tcp"
Offline
...did my suggestion not work?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
...did my suggestion not work?
Yes, that did the trick ! Many thanks.
Offline
Pages: 1