Find the answer to your Linux question:
Results 1 to 2 of 2
I did some switching between XFree86 and Xorg, and now when I boot up Linux there are two different X processes that get started. I'm running Fedora Core 2, and ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2005
    Posts
    2

    Two X servers


    I did some switching between XFree86 and Xorg, and now when I boot up Linux there are two different X processes that get started. I'm running Fedora Core 2, and after the screen asks whether I want to enter interactive startup, X gets loaded, and the screen stays gray all the way until gdm loads about a minute later. Pressing Ctrl-Alt-F8 brings back the gray screen, while Ctrl-Alt-F7 returns to gdm. If I log in then everything works fine for the most part, but my computer gets slowed down a lot and graphical applications don't work well. This is fixed if I Ctrl-Alt-Backspace before gdm loads, or if I killall X from tty1.

    Here's what I get from running ps aux with both X windows running:

    USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
    root 1 0.4 0.0 1468 452 ? S 17:09 0:00 init [5]
    root 2 0.0 0.0 0 0 ? SWN 17:09 0:00 [ksoftirqd/0]
    root 3 0.0 0.0 0 0 ? SW< 17:09 0:00 [events/0]
    root 4 0.0 0.0 0 0 ? SW< 17:09 0:00 [khelper]
    root 5 0.0 0.0 0 0 ? SW< 17:09 0:00 [kacpid]
    root 30 0.0 0.0 0 0 ? SW< 17:09 0:00 [kblockd/0]
    root 31 0.0 0.0 0 0 ? SW 17:09 0:00 [khubd]
    root 41 0.0 0.0 0 0 ? SW 17:09 0:00 [pdflush]
    root 42 0.0 0.0 0 0 ? SW 17:09 0:00 [pdflush]
    root 44 0.0 0.0 0 0 ? SW< 17:09 0:00 [aio/0]
    root 43 0.0 0.0 0 0 ? SW 17:09 0:00 [kswapd0]
    root 117 0.0 0.0 0 0 ? SW 17:09 0:00 [kseriod]
    root 196 0.0 0.0 0 0 ? SW 17:10 0:00 [kjournald]
    root 1278 0.0 0.0 0 0 ? SW 17:10 0:00 [kjournald]
    root 1287 1.3 1.2 277116 8168 ? S 17:10 0:02 /usr/bin/X11/X -s off -dpms -v -nolock -fp /usr/lib/X11/fonts/misc -logfile /initrd/XFree86.0.log :0 vt8
    root 1743 0.0 0.0 0 0 ? SW 17:10 0:00 [shpchpd_event]
    root 2015 0.0 0.0 0 0 ? SW 17:10 0:00 [pccardd]
    root 2027 0.0 0.0 0 0 ? SW 17:10 0:00 [pccardd]
    root 2396 0.0 0.5 5056 3532 ? S< 17:10 0:00 webconfd
    root 2436 0.0 0.0 1384 344 ? S 17:10 0:00 cpuspeed -d
    root 2601 0.0 0.0 0 0 ? SW< 17:10 0:00 [kdldrd/normwrk]
    root 2602 0.0 0.0 0 0 ? SW< 17:10 0:00 [kdldrd/critwrk]
    root 2603 0.0 0.0 0 0 ? SW< 17:10 0:00 [kdldrd/hyperwrk]
    root 2604 0.0 0.0 0 0 ? SW< 17:10 0:00 [kdldrd/dpc]
    root 2605 0.0 0.0 0 0 ? SW< 17:10 0:00 [kdldrd/wrk]
    root 2626 0.0 0.0 0 0 ? SW< 17:10 0:00 [kdldrd/eth1]
    root 2742 0.0 0.0 1464 564 ? S 17:10 0:00 syslogd -m 0
    root 2746 0.0 0.0 1408 440 ? S 17:10 0:00 klogd -x
    rpc 2768 0.0 0.0 1540 564 ? S 17:10 0:00 portmap
    rpcuser 2788 0.0 0.1 1548 696 ? S 17:10 0:00 rpc.statd
    root 2815 0.0 0.0 1464 552 ? S 17:11 0:00 rpc.idmapd
    root 2857 0.0 0.0 1416 576 ? S 17:11 0:00 /sbin/cardmgr
    root 2917 0.0 0.1 1712 740 ? S 17:11 0:00 /usr/sbin/smartd
    root 2927 0.0 0.0 1404 456 ? S 17:11 0:00 /usr/sbin/acpid
    root 2939 0.0 0.3 7588 1992 ? S 17:11 0:00 cupsd
    root 3122 0.0 0.2 3660 1452 ? S 17:11 0:00 /usr/sbin/sshd
    root 3137 0.0 0.1 2020 888 ? S 17:11 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
    root 3156 0.0 0.4 7036 2736 ? S 17:11 0:00 sendmail: accepting connections
    smmsp 3165 0.0 0.3 6136 2340 ? S 17:11 0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
    root 3220 0.0 0.0 1604 456 ? S 17:11 0:00 gpm -m /dev/input/mice -t imps2
    root 3275 0.0 0.0 1516 628 ? S 17:11 0:00 crond
    xfs 3291 0.0 0.6 5348 3888 ? S 17:11 0:00 xfs -droppriv -daemon
    daemon 3310 0.0 0.0 1504 592 ? S 17:11 0:00 /usr/sbin/atd
    dbus 3329 0.0 0.1 1856 876 ? S 17:11 0:00 dbus-daemon-1 --system
    root 3353 0.0 0.0 1452 316 ? S 17:11 0:00 mdadm --monitor --scan
    root 3371 0.0 0.0 1388 336 tty1 S 17:11 0:00 /sbin/mingetty tty1
    root 3372 0.0 0.0 1388 336 tty2 S 17:11 0:00 /sbin/mingetty tty2
    root 3373 0.0 0.0 1388 336 tty3 S 17:11 0:00 /sbin/mingetty tty3
    root 3374 0.0 0.0 1388 336 tty4 S 17:11 0:00 /sbin/mingetty tty4
    root 3375 0.0 0.0 1388 336 tty5 S 17:11 0:00 /sbin/mingetty tty5
    root 3376 0.0 0.0 1388 336 tty6 S 17:11 0:00 /sbin/mingetty tty6
    root 3377 0.0 0.3 10356 2088 ? S 17:11 0:00 /usr/bin/gdm-binary -nodaemon
    root 3806 0.2 0.4 10916 2860 ? S 17:11 0:00 /usr/bin/gdm-binary -nodaemon
    root 3829 7.6 2.8 155284 17944 ? S 17:11 0:09 /usr/X11R6/bin/X :0 -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7
    mbj 3885 0.2 1.4 18112 9228 ? S 17:11 0:00 gnome-session
    mbj 3898 1.3 1.1 8260 7008 ? S 17:11 0:01 /usr/libexec/gconfd-2 5
    mbj 3901 0.0 0.1 2020 876 ? S 17:11 0:00 /usr/bin/gnome-keyring-daemon
    mbj 3903 0.1 0.4 4876 2740 ? S 17:11 0:00 /usr/libexec/bonobo-activation-server --ac-activate --ior-output-fd=18
    mbj 3905 0.1 1.0 10940 6740 ? S 17:11 0:00 /usr/bin/metacity --sm-client-id=default1
    mbj 3907 0.2 1.2 17992 7740 ? S 17:11 0:00 /usr/libexec/gnome-settings-daemon --oaf-activate-iid=OAFIID:GNOME_SettingsDaemon --oaf-ior-fd=23
    mbj 3914 0.0 0.1 2512 1156 ? S 17:11 0:00 fam
    mbj 3950 0.0 0.3 4292 2168 ? S 17:11 0:00 xscreensaver -nosplash
    mbj 3974 0.2 1.6 18620 10752 ? S 17:11 0:00 gnome-panel --sm-client-id default2
    mbj 3976 0.5 2.3 32516 15200 ? S 17:11 0:00 nautilus --no-default-window --sm-client-id default3
    mbj 3978 0.0 0.8 15208 5668 ? S 17:11 0:00 magicdev --sm-client-id default4
    mbj 3980 0.0 1.0 15952 6844 ? S 17:11 0:00 eggcups --sm-client-id default6
    mbj 3982 0.0 0.6 9780 4000 ? S 17:11 0:00 pam-panel-icon --sm-client-id default0
    mbj 3984 1.0 2.7 27824 17528 ? RN 17:11 0:01 /usr/bin/python /usr/bin/rhn-applet-gui --sm-client-id default5
    root 3985 0.0 0.0 1440 492 ? S 17:11 0:00 /sbin/pam_timestamp_check -d root
    mbj 3988 0.0 0.4 15456 3096 ? S 17:11 0:00 /usr/libexec/gnome-vfs-daemon --oaf-activate-iid=OAFIID:GNOME_VFS_Daemon_Factory --oaf-ior-fd=29
    mbj 4017 0.0 0.1 1936 668 ? S 17:11 0:00 /usr/libexec/mapping-daemon
    mbj 4020 0.1 1.1 15840 7588 ? S 17:11 0:00 /usr/libexec/clock-applet --oaf-activate-iid=OAFIID:GNOME_ClockApplet_Factory --oaf-ior-fd=31
    mbj 4022 0.0 1.0 15576 6580 ? S 17:11 0:00 /usr/libexec/notification-area-applet --oaf-activate-iid=OAFIID:GNOME_NotificationAreaApplet_Factory --oaf-ior-fd=33
    mbj 4024 0.1 1.3 17872 8284 ? S 17:11 0:00 /usr/libexec/mixer_applet2 --oaf-activate-iid=OAFIID:GNOME_MixerApplet_Factory --oaf-ior-fd=35
    mbj 4026 0.1 1.4 17444 8948 ? S 17:11 0:00 /usr/libexec/wnck-applet --oaf-activate-iid=OAFIID:GNOME_Wncklet_Factory --oaf-ior-fd=37
    mbj 4028 1.8 1.7 20668 11108 ? S 17:11 0:01 gnome-terminal
    mbj 4029 0.0 0.0 1960 608 ? S 17:12 0:00 gnome-pty-helper
    mbj 4030 0.0 0.1 2332 1188 pts/0 S 17:12 0:00 bash
    mbj 4043 0.0 0.1 2256 736 pts/0 R 17:13 0:00 ps aux

    The processes with pids 1287 and 3829 are the two X servers. Also, X -version gives:

    This is a pre-release version of the The X.Org Foundation X11.
    It is not supported in any way.
    Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
    Select the "xorg" product for bugs you find in this release.
    Before reporting bugs in pre-release versions please check the
    latest version in the The X.Org Foundation "monolithic tree" CVS
    repository hosted at http://www.freedesktop.org/Software/xorg/
    X Window System Version 6.8.1.99 (Minimal DRI build from X.org tree)
    Release Date: 2 October 2004 + cvs
    X Protocol Version 11, Revision 0, Release 6.8.1.99
    Build Operating System: Linux 2.6.9 i686 [ELF]
    Current Operating System: Linux localhost.localdomain 2.6.9 #1 Thu Dec 16 16:54:31 EST 2004 i686
    Build Date: 11 January 2005
    Before reporting problems, check http://wiki.X.Org
    to make sure that you have the latest version.
    Module Loader present

    Where should I look to stop these from loading at startup? Thanks in advance for any help.

    Brian

  2. #2
    Linux Engineer
    Join Date
    Nov 2004
    Location
    home
    Posts
    796
    It might be that you have both X servers being started somewhere in your boot scripts, but I don't know about Fedora boot scripts so I can't help much with this.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •