Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214354 - x11-apps/xdm misses dependency xconsole
Summary: x11-apps/xdm misses dependency xconsole
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High trivial (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on: 274720
Blocks:
  Show dependency tree
 
Reported: 2008-03-23 10:51 UTC by Stan Behrens
Modified: 2010-07-25 22:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stan Behrens 2008-03-23 10:51:15 UTC
# cat /usr/lib/X11/xdm/Xsetup_0 
#!/bin/sh
# $Xorg: Xsetup_0,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail

# equery b /usr/lib/X11/xdm/Xsetup_0 
[ Searching for file(s) /usr/lib/X11/xdm/Xsetup_0 in *... ]
x11-apps/xdm-1.1.6 (/usr/lib/X11/xdm/Xsetup_0)

# grep -ri xconsole /usr/portage/x11-apps/xdm

Reproducible: Always

Steps to Reproduce:
1. emerge xdm
2. /etc/init.d/xdm start
3. grep Xsetup_0 /var/log/xdm.log




Patch:
--- x11-apps/xdm/xdm-1.1.6.ebuild.orig	2008-03-23 11:48:47.000000000 +0100
+++ x11-apps/xdm/xdm-1.1.6.ebuild	2008-03-23 11:48:58.000000000 +0100
@@ -21,7 +21,8 @@
 	x11-libs/libXinerama
 	x11-libs/libX11
 	x11-libs/libXt
-	x11-apps/sessreg"
+	x11-apps/sessreg
+	x11-apps/xconsole"
 DEPEND="${RDEPEND}
 	x11-proto/xineramaproto
 	x11-proto/xproto"
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2009-06-22 07:22:13 UTC
Fixed in portage without a revbump.

Thanks
Comment 2 Atanas Kamburov 2009-06-23 17:37:15 UTC
Thanks for fixing this bug.
However, every time xdm starts, an xconsole instance is started too, and stays open in xfce. This is a bit annoying, since I have to manually close the console window every time I start my computer. Is there a way to get around this?
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2009-06-23 19:47:32 UTC
No idea. xdm is really a "reference implementation" and is hardly used at all. The last meaningful release (more than just bugfix and dead code cleanups) is more than 2 years old.

If you want a real login manager, take a look at gdm, kdm, slim, etc. If xdm wasn't such a historical part of X, it would have been treecleaned long ago.

Thanks
Comment 4 Richard 2009-07-01 21:12:59 UTC
(In reply to comment #2)
> Thanks for fixing this bug.
> However, every time xdm starts, an xconsole instance is started too, and stays
> open in xfce. This is a bit annoying, since I have to manually close the
> console window every time I start my computer. Is there a way to get around
> this?
> 

I too suffer from this issue (I use xdm and ratpoison). xconsole had never been installed on my system until it became a dependency of xdm. Is there any way I can continue using xdm without having an xconsole appear every time I log in?
Comment 5 Richard 2009-07-01 21:17:48 UTC
Sorry to post again, but to Atanas and others suffering from an unwanted xconsole instance: you can stop xconsole from appearing on login by commenting the xconsole line in /usr/lib/X11/xdm/Xsetup_0.
Comment 6 Martin Mokrejš 2010-07-25 22:51:12 UTC
(In reply to comment #5)
> Sorry to post again, but to Atanas and others suffering from an unwanted
> xconsole instance: you can stop xconsole from appearing on login by commenting
> the xconsole line in /usr/lib/X11/xdm/Xsetup_0.
> 

And due to rejected bug #130876 you should fiddle with /etc/env.d.