[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-29 Thread tdflanders
** Changed in: gedit (Ubuntu) Status: Incomplete => Invalid -- gedit fails to run as root in jaunty https://bugs.launchpad.net/bugs/311237 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bug

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-16 Thread tdflanders
Hi there MridKash, I don't use apache server, I work from a laptop, but: r...@thomas-laptop:/home/thomas# cat /etc/hosts 127.0.0.1 localhost 127.0.1.1 thomas-laptop # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-16 Thread MridKash
Actually, I was changing the /etc/hosts file for apache server configuration and accidentally removed "127.0.0.1 localhost" line from that. and the above mentioned programs stopped functioning. I still don't know why only the programs started as root were affected. So you should check your /etc/

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-15 Thread tdflanders
Hi there MridKash, can you please tell me how you did it and how you fixed it (remove localhosts from hosts)? Maybe I can verify that and then we can close this bug down. Otherwise it is a different bug you experienced or not a bug as you say ... Thanks for that, it would help. (Some terminal ou

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-15 Thread MridKash
oops... accidentally removed localhost from hosts please ignore my previous comment -- gedit fails to run as root in jaunty https://bugs.launchpad.net/bugs/311237 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-15 Thread MridKash
This is happening on my Hardy Laptop too. even nautilus is not starting as root. the terminal just hangs when I enter "sudo nautilus" or "sudo gedit" or "sudo gvim" -- gedit fails to run as root in jaunty https://bugs.launchpad.net/bugs/311237 You received this bug notification because you are

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-11 Thread tdflanders
I will tell you if this solved the problem (I am fairly sure it will): r...@thomas-laptop:/home/thomas# dpkg-reconfigure debconf r...@thomas-laptop:/home/thomas# dpkg-reconfigure debconf Configuring debconf --- Packages that use debconf for configuration share a common look and fe

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-11 Thread tdflanders
Hi there, The problem here was that I had only 1 root gnome-terminal and 1 user gnome-terminal available. I could obviously try and repeat this exact same process from a live cd and open up sever terminals previous to any sort of crash. I have altered the /etc/X11/xorg.conf file as described: http

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-11 Thread tdflanders
No use a expected, best of: r...@thomas-laptop:/home/thomas# gdb gdm | tee gdb-gdm-root-retake-with-gedit-under-gdb.log GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-11 Thread tdflanders
Hi, no crash of the gdm gdb session occurs this way, I will try instead to run gedit under gdb and see if this changes anything. Probably not, as there is no pipe between the two different settings and I cannot open a new xterm or gnome-terminal unfortunately. Below is the terminal output after ,

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-11 Thread tdflanders
** Attachment added: "strace-gedit-root.log" http://launchpadlibrarian.net/21102914/strace-gedit-root.log -- gedit fails to run as root in jaunty https://bugs.launchpad.net/bugs/311237 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee.

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-11 Thread tdflanders
Ok, strace gives a ridiculous amount of output. Have fun. tho...@thomas-laptop:~$ ls -la ~/strace-gedit.log -rw-r--r-- 1 thomas thomas 63621 2009-01-11 14:19 /home/thomas/strace-gedit.log tho...@thomas-laptop:~$ nano ~/strace-gedit.log tho...@thomas-laptop:~$ strace -Ff -tt gedit ~/Desktop/gdb-g

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-11 Thread tdflanders
Oops ... r...@thomas-laptop:/home/thomas# G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind -v --tool=memcheck --leak-check=full --num-callers=40 --log-file=valgrind.log gedit /home/thomas/Desktop/gdb-gedit-debugfile-with-garbage-in-it-and-not-my-private-passwords Invalid MIT-MAGIC-COOKIE-1 k

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-11 Thread tdflanders
Oops ... tho...@thomas-laptop:~$ G_SLICE=always-malloc G_DEBUG=gc-friendly valgrind -v --tool=memcheck --leak-check=full --num-callers=40 --log-file=valgrind.log gedit ~/Desktop/gdb-gedit-debugfile-with-garbage-in-it-and-not-my-private-passwords Invalid MIT-MAGIC-COOKIE-1 key (gedit:24585): Gt

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-11 Thread tdflanders
Hi, should I go out with a bang now, one more thing before I start valgrind: I have installed in this session: gnome. Also my Desktop background disappeared, it is all gray now. If I do not loose this session, I will try to take a screenshot from the terminal as I cannot open the Accessories > Take

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-11 Thread tdflanders
Oops ... tho...@thomas-laptop:~$ gnome-terminal ; gnome-terminal ; gnome-terminal Invalid MIT-MAGIC-COOKIE-1 keyCannot open display: Run 'gnome-terminal --help' to see a full list of available command line options. Invalid MIT-MAGIC-COOKIE-1 keyCannot open display: Run 'gnome-terminal --help' t

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-11 Thread tdflanders
The funny thing is that there are always 2 instances of gnome display manager working: r...@thomas-laptop:/home/thomas# pidof gedit r...@thomas-laptop:/home/thomas# pidof gnome-terminal 5823 r...@thomas-laptop:/home/thomas# pidof gdm 5164 5161 r...@thomas-laptop:/home/thomas# This is the same in

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-11 Thread tdflanders
Brilliant, I now have gnome-terminal refusing to open as well. I suspect something is very not ok ... tho...@thomas-laptop:~$ nano gdb-gedit-1000.txt tho...@thomas-laptop:~$ touch ~/Desktop/gdb-gedit-debugfile-with-garbage-in-it-and-not-my-private-passwords tho...@thomas-laptop:~$ gedit ~/Deskt

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-11 Thread tdflanders
Ok, one more thing: I just installed: openoffice.org openoffice.org-core openoffice.org-gnome openoffice.org-core-dbgsym openoffice.org-gnome-dbgsym I will refrain for now from filing a different bug against this, as I can always still do that upon popular demand ... -- gedit fails to run

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-11 Thread tdflanders
Ok, this is too difficult for me still. I will got for a valgrind thing now and maybe an strace. I could try also to attach pidof gdb before I press run. I will do that first. Then lets see if something happens with gdm under gdb, but probably not I guess ... tho...@thomas-laptop:~$ 'gdb gedit

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-11 Thread tdflanders
Ok, the above files are for running the command on 8.10 from harddisk as root. What we have so far: this problem is identical for 8.10 and 9.04 and happens from live-cd as well as from a version on harddisk, fully updated. I think it disappears when running: dpkg-reconfigure -aup low and it never r

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-11 Thread tdflanders
Good, as 1000 same result as anticipated. Next step with gdb under gdb, both as 1000. tho...@thomas-laptop:~$ gdb gedit 2>&1 | tee gdb-gedit.txt GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-11 Thread tdflanders
** Attachment added: "gdb-gedit.txt" http://launchpadlibrarian.net/21101423/gdb-gedit.txt -- gedit fails to run as root in jaunty https://bugs.launchpad.net/bugs/311237 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bu

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-11 Thread tdflanders
** Attachment added: "gdb-gedit.log" http://launchpadlibrarian.net/21101418/gdb-gedit.log -- gedit fails to run as root in jaunty https://bugs.launchpad.net/bugs/311237 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bu

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-11 Thread tdflanders
Hi there, Unfortunately I had no time so far to check this out in Jaunty. To my horror the same problem exists in Intrepid however. I am currently trying to debug it there. Cheers, Thomas r...@thomas-laptop:/home/thomas# gdb gedit 2>&1 | tee gdb-gedit.txt GNU gdb 6.8-debian Copyright (C) 2008 F

[Bug 311237] Re: gedit fails to run as root in jaunty

2009-01-05 Thread Pedro Villavicencio
Thanks for your bug report. Please try to obtain a backtrace http://wiki.ubuntu.com/DebuggingProgramCrash and attach the file to the bug report. This will greatly help us in tracking down your problem. If you're using jaunty you should use the dbgsym packages for jaunty not for intrepid. ** Change

[Bug 311237] Re: gedit fails to run as root in jaunty

2008-12-24 Thread tdflanders
tho...@thomas-laptop:~$ apt-get source gedit-dbgsym Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to find a source package for gedit-dbgsym tho...@thomas-laptop:~$ apt-cache search gedit gedit - official text editor of the GNOME desktop en

[Bug 311237] Re: gedit fails to run as root in jaunty

2008-12-24 Thread tdflanders
nano works fine as root though ... -- gedit fails to run as root in jaunty https://bugs.launchpad.net/bugs/311237 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gedit in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.co

[Bug 311237] Re: gedit fails to run as root in jaunty

2008-12-24 Thread tdflanders
tho...@thomas-laptop:~$ lsb_release -rd ; uname -a ; apt-cache policy linux gedit sudo gnome-terminal Description:Ubuntu jaunty (development branch) Release:9.04 Linux thomas-laptop 2.6.28-3-generic #4-Ubuntu SMP Fri Dec 12 22:48:15 UTC 2008 i686 GNU/Linux linux: Installed: 2.6.28.3