Processed: Re: Bug#302685: After removing gdm 'startx' wont start X

2005-04-12 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 reassign 302685 xbase-clients
Bug#302685: After removing gdm 'startx' wont start X
Bug reassigned from package `gdm' to `xbase-clients'.

 severity 302685 important
Bug#302685: After removing gdm 'startx' wont start X
Severity set to `important'.

 thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#302685: After removing gdm 'startx' wont start X

2005-04-11 Thread Leszek Koltunski
On Fri, 8 Apr 2005, Steve Langasek wrote:
Date: Fri, 8 Apr 2005 03:19:28 -0700
From: Steve Langasek [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Bug#302685: After removing gdm 'startx' wont start X
Resent-Date: Fri, 08 Apr 2005 10:33:01 UTC
Resent-From: Debian BTS [EMAIL PROTECTED]
Resent-To: Leszek Koltunski [EMAIL PROTECTED]
Hi Leszek,
You wrote in your report that
I added gdm back in - it was complaining that /var/lib/gdm already exists,
and it gave some other warning, and voilla, once again I could log onto X
as 'leszek'.
It's not clear to me whether log onto X here means running startx, or
logging in using gdm.  Can you please clarify?
--
Steve Langasek
postmodern programmer
I meant 'log in using gdm'
L.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Bug#302685: After removing gdm 'startx' wont start X

2005-04-08 Thread Steve Langasek
Hi Leszek,

You wrote in your report that 

 I added gdm back in - it was complaining that /var/lib/gdm already exists, 
 and it gave some other warning, and voilla, once again I could log onto X
 as 'leszek'.

It's not clear to me whether log onto X here means running startx, or
logging in using gdm.  Can you please clarify?

-- 
Steve Langasek
postmodern programmer


signature.asc
Description: Digital signature


Bug#302685: After removing gdm 'startx' wont start X

2005-04-02 Thread Leszek Koltunski
Subject: After removing gdm 'startx' wont start X
Package: gdm
Version: 2.6.0.6-1
Severity: grave
I decided to 'dpkg -P gdm' yesterday and 'startx' wont start X any more
when issued by normal user 'leszek'. ( root can start it )
X server starts, ( I added a 'echo Got here!  ~/startx' to ~/.xinitrc
and I get to see the log, also, there are no errors in
/etc/X11/XFConfig-4.log ) but things go wrong later.
I think this is not an issue of a crashing WM ( WindowMaker ) because
I've tried copying all WindowMaker's -working- init settings of root
to leszek's home dir, to no avail.
I suspect this may have something to do with the fact that I had 'gdm'
to auto-login 'leszek' before.
'apt-get install gdm' solved the issue for me.
-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages gdm depends on:
ii  adduser  3.63Add and remove users and groups
ii  debconf  1.4.30.11   Debian configuration management sy
ii  dpkg 1.10.27 Package maintenance system for Deb
ii  gksu 1.2.4-1 graphical frontend to su
ii  libart-2.0-2 2.3.17-1Library of functions for 2D graphi
ii  libatk1.0-0  1.8.0-4 The ATK accessibility toolkit
ii  libattr1 2.4.16-1Extended attribute shared library
ii  libaudiofile00.2.6-5 Open-source version of SGI's audio
ii  libbonobo2-0 2.8.1-2 Bonobo CORBA interfaces library
ii  libbonoboui2-0   2.8.1-2 The Bonobo UI library
ii  libbz2-1.0   1.0.2-5 high-quality block-sorting file co
ii  libc62.3.2.ds1-20GNU C Library: Shared libraries an
ii  libcroco30.6.0-2 a generic Cascading Style Sheet (C
ii  libesd0  0.2.35-2Enlightened Sound Daemon - Shared
ii  libgconf2-4  2.8.1-4 GNOME configuration database syste
ii  libgcrypt11  1.2.0-4 LGPL Crypto library - runtime libr
ii  libglade2-0  1:2.4.2-2   library to load .glade files at ru
ii  libglib2.0-0 2.6.3-1 The GLib library of C routines
ii  libgnome-keyring00.4.1-1 GNOME keyring services library
ii  libgnome2-0  2.8.1-2 The GNOME 2 library - runtime file
ii  libgnomecanvas2-02.8.0-1 A powerful object-oriented display
ii  libgnomeui-0 2.8.1-3 The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0   2.8.4-2 The GNOME virtual file-system libr
ii  libgnutls11  1.0.16-9GNU TLS library - runtime library
ii  libgpg-error01.0-1   library for common error values an
ii  libgsf-1 1.11.1-1Structured File Library - runtime
ii  libgtk2.0-0  2.6.2-4 The GTK+ graphical user interface
ii  libice6  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  libjpeg626b-9The Independent JPEG Group's JPEG
ii  liborbit21:2.12.1-1  libraries for ORBit2 - a CORBA ORB
ii  libpam-modules   0.76-22 Pluggable Authentication Modules f
ii  libpam-runtime   0.76-22 Runtime support for the PAM librar
ii  libpam0g 0.76-22 Pluggable Authentication Modules l
ii  libpango1.0-01.8.1-1 Layout and rendering of internatio
ii  libpopt0 1.7-5   lib for parsing cmdline parameters
ii  librsvg2-2   2.8.1-2 SAX-based renderer library for SVG
ii  libselinux1  1.22-1  SELinux shared libraries
ii  libsm6   4.3.0.dfsg.1-10 X Window System Session Management
ii  libtasn1-2   0.2.10-3Manage ASN.1 structures (runtime)
ii  libwrap0 7.6.dbs-8   Wietse Venema's TCP wrappers libra
ii  libx11-6 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxext6 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii  libxml2  2.6.16-4GNOME XML library
ii  rxvt-ml [x-terminal-emul 1:2.6.4-6.2 multi-lingual VT102 terminal emula
ii  wmaker [x-window-manager 0.91.0-7NeXTSTEP-like window manager for X
ii  xbase-clients4.3.0.dfsg.1-10 miscellaneous X clients
ii  xlibs4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  xterm [x-terminal-emulat 4.3.0.dfsg.1-10 X terminal emulator
ii  zlib1g   1:1.2.2-3   compression library - runtime
-- debconf information:
  gdm/daemon_name: /usr/bin/gdm
  shared/default-x-display-manager: gdm

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Bug#302685: After removing gdm 'startx' wont start X

2005-04-02 Thread Justin Pryzby
On Sat, Apr 02, 2005 at 01:01:38PM +0200, Leszek Koltunski wrote:
 
 Subject: After removing gdm 'startx' wont start X
 Package: gdm
 Version: 2.6.0.6-1
 Severity: grave
 
 I decided to 'dpkg -P gdm' yesterday and 'startx' wont start X any more
 when issued by normal user 'leszek'. ( root can start it )
 
 X server starts, ( I added a 'echo Got here!  ~/startx' to ~/.xinitrc
 and I get to see the log, also, there are no errors in
 /etc/X11/XFConfig-4.log ) but things go wrong later.
 
 I think this is not an issue of a crashing WM ( WindowMaker ) because
 I've tried copying all WindowMaker's -working- init settings of root
 to leszek's home dir, to no avail.
 
 I suspect this may have something to do with the fact that I had 'gdm'
 to auto-login 'leszek' before.
 
 'apt-get install gdm' solved the issue for me.
With gdm purged, are you able to run XFree86 as a normal user?

What if you add a completely new user; does startx work for that user?

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#302685: After removing gdm 'startx' wont start X

2005-04-02 Thread Leszek Koltunski
I once again purged gdm, tried to 'startx' as a normal user 'leszek' - no 
success. For a brief moment I get to see this gray screen with the 
hourglass, but after some ~1/2 a second X server exits.

I added another normal user and 'startx' - no problems.
I added gdm back in - it was complaining that /var/lib/gdm already exists, 
and it gave some other warning, and voilla, once again I could log onto X 
as 'leszek'.

It really looks like all this has something to do with the fact that I had 
'leszek' set to be the 'auto-login username' in gdm's settings.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Bug#302685: After removing gdm 'startx' wont start X

2005-04-02 Thread Justin Pryzby
On Sat, Apr 02, 2005 at 05:08:22PM +0200, Leszek Koltunski wrote:
 
 I once again purged gdm, tried to 'startx' as a normal user 'leszek' - no 
 success. For a brief moment I get to see this gray screen with the 
 hourglass, but after some ~1/2 a second X server exits.
 
 I added another normal user and 'startx' - no problems.
Can you also confirm that XFree86 always works, independent of whether
gdm is installed or not, and independent of what user runs it?

Thanks,
Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#302685: After removing gdm 'startx' wont start X

2005-04-02 Thread Leszek Koltunski

Can you also confirm that XFree86 always works, independent of whether
gdm is installed or not, and independent of what user runs it?
ok, I've got 3 users here: 'root' , 'leszek' and 'blah' ( which is just a 
dummy user created to test startx and XFree86 )

I purged gdm again, killed the X server, and tried 'startx-ing' with the 
three users. root and blah could do it, leszek - no.

I then tried to issue 'XFree86'. root could do it, both blah and leszek 
failed with

Fatal server error:
Cannot move old log file /var/log/XFree86.0.log.old
No wonder, since
[EMAIL PROTECTED]:~$ ls -l /var/log | grep XFree
-rw-r--r--  1 rootroot   40196 Apr  3 00:44 XFree86.0.log
-rw-r--r--  1 rootroot   40078 Apr  3 00:43 XFree86.0.log.old
However, as I said above, 'blah' still can issue 'startx' with no 
apparent problems at all!

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Bug#302685: After removing gdm 'startx' wont start X

2005-04-02 Thread Justin Pryzby
On Sat, Apr 02, 2005 at 06:51:37PM +0200, Leszek Koltunski wrote:
 
 Can you also confirm that XFree86 always works, independent of whether
 gdm is installed or not, and independent of what user runs it?
 
 ok, I've got 3 users here: 'root' , 'leszek' and 'blah' ( which is just a 
 dummy user created to test startx and XFree86 )
 
 I purged gdm again, killed the X server, and tried 'startx-ing' with the 
 three users. root and blah could do it, leszek - no.
 
 I then tried to issue 'XFree86'. root could do it, both blah and leszek 
 failed with
 
 Fatal server error:
 Cannot move old log file /var/log/XFree86.0.log.old
 
 No wonder, since
 
 [EMAIL PROTECTED]:~$ ls -l /var/log | grep XFree
 -rw-r--r--  1 rootroot   40196 Apr  3 00:44 XFree86.0.log
 -rw-r--r--  1 rootroot   40078 Apr  3 00:43 XFree86.0.log.old
 
 However, as I said above, 'blah' still can issue 'startx' with no 
 apparent problems at all!
Well, this is interesting, though probably not related to the original
problem.  X should be SUID root

  -rwsr-sr-x  1 root root 7860 2005-02-23 04:07 /usr/bin/X11/X

which is I guess how its supposed to be relocating the log files.  Can
you confirm that your permissions match:

  drwxr-xr-x  14 root root 4096 2005-04-02 11:42 /var/log

Justin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#302685: After removing gdm 'startx' wont start X

2005-04-02 Thread browaeys . alban
[EMAIL PROTECTED]:~$ ls -l /var/log | grep XFree
-rw-r--r--  1 rootroot   40196 Apr  3 00:44 XFree86.0.log
-rw-r--r--  1 rootroot   40078 Apr  3 00:43 XFree86.0.log.old

this is not a problem since X is setuid root (which means it start with root
 permissions whatever user start it).

You should looks after file in the user for which it fails :
ls -l .X*

I would do:
mkdir ~/backup
mv ~/.Xautthority ~/backup

then retry startx.

Well those are just mind reading guesses. If you send me logs,
output and errors it may be easier to help out with this problem.

Though this is not a gdm bug. gdm does not mess with those files (be they 
/var/lo
g/XFree.0.log or ~/.Xauthority ). It just check your passward and start X.

Cheers
Alban





-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#302685: After removing gdm 'startx' wont start X

2005-04-02 Thread Leszek Koltunski
to answer your questions, Justin,
[EMAIL PROTECTED]:~$ ls -l /var | grep log
drwxr-xr-x   8 root root  4096 Apr  3 13:49 log
[EMAIL PROTECTED]:~$ whereis XFree86
XFree86: /usr/X11R6/bin/XFree86 /usr/bin/X11/XFree86
[EMAIL PROTECTED]:~$ ls -l /usr/X11R6/bin/ | grep X
-rwsr-sr-x  1 root root7860 Dec 16 03:19 X
-rwxr-xr-x  1 root root 1745740 Dec 16 03:19 XFree86
-rwxr-xr-x  1 root root   27494 Dec 16 03:13 Xmark
-rwxr-xr-x  1 root root 4396016 Feb 20 21:27 Xprt
[EMAIL PROTECTED]:~$ ls -l /usr/bin/X11/ | grep X
-rwsr-sr-x  1 root root7860 Dec 16 03:19 X
-rwxr-xr-x  1 root root 1745740 Dec 16 03:19 XFree86
-rwxr-xr-x  1 root root   27494 Dec 16 03:13 Xmark
-rwxr-xr-x  1 root root 4396016 Feb 20 21:27 Xprt
when I was testing if a normal user could start XFree86 I just typed 
'XFree86' at the command prompt. It is not setuid root, so it gave me the 
errors. I just tried issuing 'X' as 'leszek' and 'blah' and both can do 
it.

To answer your question, Alben,
1) removing .Xauthority didn't change anything
2) here are last lines of XFree86.0.log for both successful run ( with gdm 
installed ) and unsuccessful one:

a) successful:
[EMAIL PROTECTED]:/var/log$ cat /var/log/XFree86.0.log | tail -n 20
(**) LIRC-Mouse: ZAxisMapping: buttons 4 and 5
(**) LIRC-Mouse: Buttons: 5
(**) Option BaudRate 1200
(**) LIRC-Mouse: BaudRate: 1200
(II) XINPUT: Adding extended input device LIRC-Mouse (type: MOUSE)
(II) XINPUT: Adding extended input device Generic Mouse (type: MOUSE)
(II) XINPUT: Adding extended input device Configured Mouse (type: MOUSE)
(II) Configured Mouse: ps2EnableDataReporting: succeeded
(II) Generic Mouse: ps2EnableDataReporting: succeeded
Warning: font renderer for .pcf already registered at priority 0
Warning: font renderer for .pcf.Z already registered at priority 0
Warning: font renderer for .pcf.gz already registered at priority 0
Warning: font renderer for .snf already registered at priority 0
Warning: font renderer for .snf.Z already registered at priority 0
Warning: font renderer for .snf.gz already registered at priority 0
Warning: font renderer for .bdf already registered at priority 0
Warning: font renderer for .bdf.Z already registered at priority 0
Warning: font renderer for .bdf.gz already registered at priority 0
Warning: font renderer for .pmf already registered at priority 0
Could not init font path element unix/:7100, removing from list!
b) unsucessful:
[EMAIL PROTECTED]:/var/log$ cat  XFree86.0.log.old | tail -n 20
(**) Option BaudRate 1200
(**) LIRC-Mouse: BaudRate: 1200
(II) XINPUT: Adding extended input device LIRC-Mouse (type: MOUSE)
(II) XINPUT: Adding extended input device Generic Mouse (type: MOUSE)
(II) XINPUT: Adding extended input device Configured Mouse (type: MOUSE)
(II) Configured Mouse: ps2EnableDataReporting: succeeded
(II) Generic Mouse: ps2EnableDataReporting: succeeded
Warning: font renderer for .pcf already registered at priority 0
Warning: font renderer for .pcf.Z already registered at priority 0
Warning: font renderer for .pcf.gz already registered at priority 0
Warning: font renderer for .snf already registered at priority 0
Warning: font renderer for .snf.Z already registered at priority 0
Warning: font renderer for .snf.gz already registered at priority 0
Warning: font renderer for .bdf already registered at priority 0
Warning: font renderer for .bdf.Z already registered at priority 0
Warning: font renderer for .bdf.gz already registered at priority 0
Warning: font renderer for .pmf already registered at priority 0
Could not init font path element unix/:7100, removing from list!
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA 0xe0a37000 at 0xb5d93000
Let me know what other logs you need.
L.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]