LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 10-08-2006, 09:07 AM   #1
PredatorX
Member
 
Registered: Sep 2003
Location: The Hague
Distribution: Gentoo / Suse 9.2
Posts: 53

Rep: Reputation: 15
Suse 10.1 graphical link launch trouble - password prompt, but nothing happens after


Hi,

I have a problem when starting programs from Suse 10.1 from quicklaunch.
For example : when starting Yast , I get a prompt for the admin password.
When I type it in, nothing happens, so no Yast.
When I open a terminal en do 'su -' followed by the password en then type 'yast2' i get the wished result : Yast starts.

This seems to have occured after an upgrade from Suse 10.0 to 10.1.
I am running a fully up2date suse 10.1 on my x86_64 architecture now.

Does anyone know how to fix this?
I was thinking of a configuration thing in Xorg , or in user groups, but I do not know where to look.

Your help is greatly appreciated!
 
Old 10-09-2006, 05:55 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
Does 'kdesu yast2' work from x-console?

Check the log files for errors:

dmesg (after the problem occured)
~/.xsession-errors
/var/log/kdm.log
/var/log/YaST2/y2log
~/.y2log
(not sure about the names of the YaST logfiles)

Have a look at the end of those files for errors related to x or yast.
 
Old 10-09-2006, 03:47 PM   #3
PredatorX
Member
 
Registered: Sep 2003
Location: The Hague
Distribution: Gentoo / Suse 9.2
Posts: 53

Original Poster
Rep: Reputation: 15
kdesu yast2 works.
When I just click the link, there is another window, so I guess it uses the gnome equivalent.
I am on another machine, will check the log later.
Any1 knows the Gnome equivalent of kdesu?
And what would be causing the problem?
(The logged in user is in the wheel group)
 
Old 10-09-2006, 04:16 PM   #4
PredatorX
Member
 
Registered: Sep 2003
Location: The Hague
Distribution: Gentoo / Suse 9.2
Posts: 53

Original Poster
Rep: Reputation: 15
I figured out that gnomesu was the alternative for kdesu .
That's where the problem seems to be:
This is the output when typing it in the terminal:
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

(gnome-terminal:31403): Gtk-WARNING **: cannot open display:
me@here:~>

seems like an X restiction.
Some googling gave me the answer :
http://nixforums.org/about12335-asc-15.html

i types xhost + as a normal user, the terminal responding with:
access control disabled, clients can connect from any host .
Now, when typing gnomesu , a terminal comes up and the links work again.
Isn't this a security issue?
Is there a way to allow my logged in user to this?

Thanks for your help!
 
Old 10-10-2006, 02:15 AM   #5
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
It's a normal security feature that other users (including root) cannot connect to the X server of another user. But normally, gnomesu or kdesu are being used to circumvent this feature. So there is some misconfiguration on your system.

Have a look at this article: http://en.opensuse.org/SDB:X_Client_...splay%22_Error
This is little more information than the link you provided.

My guess is that one of the access control files in your users homedirectory is locked. It would be interesting to know, if gnomesu works from another/new users desktop. In that case I'd use brute force and delete (backup!) all dot-files (not folders) in the faulty users homedirecory.

But maybe you should wait until someone with deeper knowledge finds this thread.
 
Old 10-10-2006, 03:15 AM   #6
PredatorX
Member
 
Registered: Sep 2003
Location: The Hague
Distribution: Gentoo / Suse 9.2
Posts: 53

Original Poster
Rep: Reputation: 15
thanks , that's a usefull link.
I think I already tried removing the .gnome-directories in the current users home folder.

Anyway, while xhost +x works, this is lost after a reboot.
Does anyone know how to specifically add my user to do the thing the command xhost +x does, but not for every user, still working after reboot?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to launch kppp without admin password matt_w_lambert Fedora 3 06-19-2004 08:39 PM
RedHat graphical login prompt fails LQtoto Linux - General 1 02-12-2004 05:42 AM
password prompt ? wr3ck3d Linux - General 5 03-20-2003 08:54 PM
Boot prompt from Graphical LILO ? L33t_H4x0R Linux - General 1 04-16-2002 07:31 AM
no password prompt stroh78 Linux - General 3 01-02-2001 09:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 03:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration