Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Display Manager on Wrong TTY
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
gliverman
n00b
n00b


Joined: 24 Dec 2006
Posts: 47
Location: Carrollton, GA

PostPosted: Wed Jan 09, 2013 12:04 am    Post subject: [SOLVED] Display Manager on Wrong TTY Reply with quote

When my laptop starts up, both GDM and LightDM start X and cause the display to switch to TTY7. The odd thing is that TTY7 is just a black screen with a cursor or mouse. The display manager is on another TTY. LightDM is on TTY2 and GDM is on either 8 or 9 (can't remember which). Also, if xdm is not added to a run level I get a black screen unless I disable kernel mode setting via the second of the grub entries below. BTW, there is a genkernel listed purely as my fallback while I teak my custom one.

EDIT / UPDATE
Now, it seems that the display managers are not wanting to show at all. On TTY7 I get a black screen and a mouse. If I move the mouse around it changes to the cursor thing where I should type. If I blindly type in my login info it seems to log me in but still not show me anything other than a mouse on a black screen. Ideas?

EDIT 2
Odd... I let it sit for a minute while typing the first edit and then right clicked in the blackness... saw nothing... switched back to TTY1 to shut it down and there was my GUI with the right click menu open. I am baffled.

EDIT 3
Marked as solved, see post below for details.


Code:
TinyTux ~ # cat /boot/grub/grub.conf
default 0
timeout 5
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo Linux 3.5.7
root (hd0,0)
kernel /boot/kernel-3.5.7-gentoo root=/dev/sda3

title Gentoo Linux 3.5.7 no-kms
root (hd0,0)
kernel /boot/kernel-3.5.7-gentoo root=/dev/sda3 nomodeset

title Gentoo Genkernel 3.5.7
root (hd0,0)
kernel /boot/kernel-genkernel-x86-3.5.7-gentoo real_root=/dev/sda3 rootfstype=ext4
initrd /boot/initramfs-genkernel-x86-3.5.7-gentoo

title Gentoo Linux 3.5.7 (rescue)
root (hd0,0)
kernel /boot/kernel-3.5.7-gentoo root=/dev/sda3 init=/bin/bb

# vim:ft=conf:


Code:
TinyTux ~ # lspci -k
00:00.0 Host bridge: Intel Corporation 82830M/MG/MP Host Bridge (rev 04)
   Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller: Intel Corporation 82830M/MG Integrated Graphics Controller (rev 04)
   Subsystem: Dell Device 00c8
   Kernel driver in use: i915
00:02.1 Display controller: Intel Corporation 82830M/MG Integrated Graphics Controller
   Subsystem: Dell Device 00c8
00:1d.0 USB controller: Intel Corporation 82801CA/CAM USB Controller #1 (rev 02)
   Subsystem: Intel Corporation Latitude C640
   Kernel driver in use: uhci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 42)
00:1f.0 ISA bridge: Intel Corporation 82801CAM ISA Bridge (LPC) (rev 02)
   Kernel driver in use: lpc_ich
00:1f.1 IDE interface: Intel Corporation 82801CAM IDE U100 Controller (rev 02)
   Subsystem: Intel Corporation Latitude C640
   Kernel driver in use: ata_piix
00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio Controller (rev 02)
   Subsystem: Cirrus Logic Crystal WMD Audio Codec
   Kernel driver in use: snd_intel8x0
00:1f.6 Modem: Intel Corporation 82801CA/CAM AC'97 Modem Controller (rev 02)
   Subsystem: PCTel Inc Dell Inspiron 2100 internal modem
   Kernel driver in use: snd_intel8x0m
02:00.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
   Subsystem: Dell Device 00c8
   Kernel driver in use: 3c59x
02:01.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
   Subsystem: Dell Device 00c8
   Kernel driver in use: yenta_cardbus
02:03.0 Network controller: Atheros Communications Inc. AR922X Wireless Network Adapter (rev 01)
   Subsystem: Atheros Communications Inc. Device 2091
   Kernel driver in use: ath9k



Code:
TinyTux ~ # emerge --info gdm lightdm
Portage 2.1.11.31 (default/linux/x86/10.0, gcc-4.5.4, glibc-2.15-r3, 3.5.7-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.5.7-gentoo-i686-Intel-R-_Pentium-R-_III_Mobile_CPU_866MHz-with-gentoo-2.1
Timestamp of tree: Sat, 05 Jan 2013 17:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.27.1
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.osuosl.org/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync3.us.gentoo.org/gentoo-portage"
USE="X acl alsa berkdb bindist branding bzip2 cli cracklib crypt cxx dbus dri drm fortran gdbm gif gnome gpm gtk iconv javascript jpeg lm_sensors mmx modules mudflap ncurses nls nptl ntp openmp pam pcre png pppd readline session sse ssl symlink systemd tcpd threads tiff truetype unicode vim vim-syntax x86 zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel i915" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

gnome-base/gdm-2.20.11-r1 was built with the following:
USE="branding consolekit pam tcpd -accessibility -afs -dmx -gnome-keyring -ipv6 -remote (-selinux) -xinerama"


x11-misc/lightdm-1.0.11 was built with the following:
USE="branding gtk introspection -qt4 -test"


Last edited by gliverman on Thu Jan 10, 2013 12:46 pm; edited 5 times in total
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 426

PostPosted: Wed Jan 09, 2013 12:38 am    Post subject: Reply with quote

Let me start off by saying I have no idea what is causing your problems. Myself I've never been happy with any of the current display managers. Really its because I never figured them out.

Anyway, During my exploring I discovered an application called qingy that is really cool. It makes running multiple x sessions a snap. But I admit that it does seem quirky..
_________________
MB: Biostar TForce 6100 AM2 @ 250x10
CPU: AMD Athlon 64 3800+ X2 @ 2500mhz
MEM: G. Skill DDR2-800 2GB @ DDR2-1000
GPU: nVidia GeForce 7600 GT
OS: Gentoo Linux 2006.1
Back to top
View user's profile Send private message
gliverman
n00b
n00b


Joined: 24 Dec 2006
Posts: 47
Location: Carrollton, GA

PostPosted: Wed Jan 09, 2013 2:46 am    Post subject: Reply with quote

duby2291 wrote:
Let me start off by saying I have no idea what is causing your problems. Myself I've never been happy with any of the current display managers. Really its because I never figured them out.

Anyway, During my exploring I discovered an application called qingy that is really cool. It makes running multiple x sessions a snap. But I admit that it does seem quirky..

You are right... that does not help my issue. On the other hand, thanks for the tip. I may check that out :)
Back to top
View user's profile Send private message
gliverman
n00b
n00b


Joined: 24 Dec 2006
Posts: 47
Location: Carrollton, GA

PostPosted: Wed Jan 09, 2013 5:54 pm    Post subject: Reply with quote

Wasn't sure of the best way to get this update to show so I edited the OP but also wanted to post it here.

Now, it seems that the display managers are not wanting to show at all. On TTY7 I get a black screen and a mouse. If I move the mouse around it changes to the cursor thing where I should type. If I blindly type in my login info it seems to log me in but still not show me anything other than a mouse on a black screen. Ideas?
Back to top
View user's profile Send private message
gliverman
n00b
n00b


Joined: 24 Dec 2006
Posts: 47
Location: Carrollton, GA

PostPosted: Wed Jan 09, 2013 5:58 pm    Post subject: Reply with quote

Odd... I let it sit for a minute while typing the first edit and then right clicked in the blackness... saw nothing... switched back to TTY1 to shut it down and there was my GUI with the right click menu open. I am baffled.
Back to top
View user's profile Send private message
gliverman
n00b
n00b


Joined: 24 Dec 2006
Posts: 47
Location: Carrollton, GA

PostPosted: Wed Jan 09, 2013 8:27 pm    Post subject: More investigation Reply with quote

After doing some more looking, it seems that the GUI is displaying on one TTY while the mouse and all is on TTY7. When the graphics were showing on TTY1 I could still type (blindly) in the terminal session that was really on TTY1. If I switched back to TTY7 where I saw the mouse I could move it and click somewhere else then go back to TTY1 to see the visual result of what I had done. Since X is configured automatically I am guessing this is something related to my kernel config. I think that is where I will look now baring any great insight from the community.
Back to top
View user's profile Send private message
gliverman
n00b
n00b


Joined: 24 Dec 2006
Posts: 47
Location: Carrollton, GA

PostPosted: Thu Jan 10, 2013 12:44 pm    Post subject: Kernel upgrade = problem solved Reply with quote

Since this all revolved around the kernel I decided to try the ~x86 kernel which took me from 3.5.7 to 3.7.1. I copied my .config file over and rebuilt the kernel. This seems to have resolved all my problems. I guess the i915 video driver or the kernel mode setting stuff or the framebuffer stuff got some fixes along the way. Regardless... SOLVED :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum