Answer the question
In order to leave comments, you need to log in
How to disable GDM server on hardware?
Inspired by this article:
<a href="http://habrahabr.ru/post/77159/">habrahabr.ru/post/77159/</a>
0=Standard device=/dev/console
<a href="http://www.digitalenginesoftware.com/blog/archives/73-Problems-with-XDMCPVNC-and-GDM-on-a-Headless-Server.html">www.digitalenginesoftware.com/blog/archives/73-Problems-with-XDMCPVNC-and-GDM-on-a-Headless-Server.html</a><br/>
Answer the question
In order to leave comments, you need to log in
[email protected]:/etc/gdm# aptitude show gdm
Package: gdm
State: installed
Automatically installed: no
Version: 2.30.2.is.2.30.0-0ubuntu5.2
[email protected]:/etc/gdm# ll
total 64
drwxr-xr-x 6 root root 4096 Mar 17 13:07 ./
drwxr-xr-x 94 root root 4096 Mar 17 11:37 ../
drwxr-xr-x 2 root root 4096 Mar 17 12:35 Init/
drwxr-xr-x 2 root root 4096 Mar 17 12:35 PostLogin/
drwxr-xr-x 2 root root 4096 Mar 17 12:35 PostSession/
drwxr-xr-x 2 root root 4096 Mar 17 12:35 PreSession/
-rwxr-xr-x 1 root root 6111 Apr 28 2011 Xsession*
-rw-r--r-- 1 root root 261 Mar 17 11:36 custom.conf
-rw-r--r-- 1 root root 132 Apr 1 2010 failsafeBlacklist
-rwxr-xr-x 1 root root 4778 Apr 1 2010 failsafeXServer*
-rwxr-xr-x 1 root root 8778 Apr 1 2010 failsafeXinit*
-rw-r--r-- 1 root root 3157 Apr 28 2011 gdm.schemas
Here. Now see if there is such a line in custom.conf?
If not, then the config is probably in Init /
[email protected]:/etc/gdm# cat custom.conf
# GDM configuration storage
[daemon]
[security]
[xdmcp]
Enable=true
HonorIndirect=false
# following line fixes a problem with login/logout
DisplaysPerHost=2
[greeter]
[chooser]
[security]
DisallowTCP=false
[debug]
[servers]
#0=Standard device=/dev/console
[email protected]:/etc/gdm# find / -name gdm.conf
/etc/init/gdm.conf
/etc/dbus-1/system.d/gdm.conf
[email protected]:/etc/gdm# cat /etc/init/gdm.conf
# gdm - GNOME Display Manager
#
# The display manager service manages the X servers running on the
# system, providing login and auto-login services
description "GNOME Display Manager"
author "William Jon McCann <[email protected]>"
start on (filesystem
and started dbus
and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
or stopped udevtrigger))
stop on runlevel [016]
emits starting-dm
env XORGCONFIG=/etc/X11/xorg.conf
script
if [ -n "$UPSTART_EVENTS" ]
then
[ ! -f /etc/X11/default-display-manager -o "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/sbin/gdm" ] || { stop; exit 0; }
# Check kernel command-line for inhibitors
for ARG in $(cat /proc/cmdline)
do
case "${ARG}" in
text|-s|s|S|single)
plymouth quit || : # We have the ball here
exit 0
;;
esac
done
fi
if [ -r /etc/default/locale ]; then
. /etc/default/locale
export LANG LANGUAGE
elif [ -r /etc/environment ]; then
. /etc/environment
export LANG LANGUAGE
fi
export XORGCONFIG
exec gdm-binary $CONFIG_FILE
end script
[email protected]:/etc/gdm#
#0=Standard device=/dev/console
Problem solved, line already commented out)
Unfortunately no. Custom.conf is generated by this tutorial:
library.gnome.org/admin/gdm/stable/configuration.html.en
for experimentation
Well then, since there is no config, no instruction is written anywhere, so it does not need to be commented.
I'm not a gdm master, try locate gdm.conf, maybe you have this config in another place.
And so, in theory, defaults.conf is not a config, but just a file with examples of “what this custom.conf can be”
5.4. Daemon Configuration
The GDM daemon is configured using the /gdm/custom.conf file. Default values are stored in GConf in the gdm.schemas file. It is recommended that end-users modify the /gdm/custom.conf file because the schemas file may be overwritten when the user updates their system to have a newer version of GDM.
Written in that manual. Those. config == custom.conf.
Line commented out == problem solved.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question