Yast will not open as normal user?

I’ve been running OS 11.1 for about 2 weeks, clean install w/KDE4. Yast
would run fine from the menu then just today when you click on Yast
nothing happens. If I open a terminal and “su -” then run yast it works
fine. How can I fix yast from the menu.

Thanks!


buckmaster60

buckmaster60’s Profile: http://forums.opensuse.org/member.php?userid=2194
View this thread: http://forums.opensuse.org/showthread.php?t=404909

Use edit menu to check the settings in there for the launch command.


Box: Linux 2.6.27.7-9 i686 | OS 11.1 | (KDE3.5.10) “33.2” | M2N4-SLI |
AMD 64 X2 5200+ | nVidia 8500GT | 2GB RAM
Lap: OS 11.1 | Celeron 550 | (KDE4.1.87)“3.1” | Intel 965 GM | Lenovo
R61e | 3GB RAM

caf4926’s Profile: http://forums.opensuse.org/member.php?userid=204
View this thread: http://forums.opensuse.org/showthread.php?t=404909

The “Command” is /sbin/yast2. /var/log/messages has no errors related
to yast2 when I try to start it. Is there somewhere else to look?


buckmaster60

buckmaster60’s Profile: http://forums.opensuse.org/member.php?userid=2194
View this thread: http://forums.opensuse.org/showthread.php?t=404909

This is something you could try

Where you looked at the launch command, there is a ‘Run as user’ box,
try enabling that and setting the user to run as to root


Ecky

Ecky’s Profile: http://forums.opensuse.org/member.php?userid=3518
View this thread: http://forums.opensuse.org/showthread.php?t=404909

Same thing. Something interesting I tried may shed light how to fix.
From terminal as normal user issue command /sbin/yast2 opens fine with
limited functionality as expected since we did not switch user to root.
If I “su -” from terminal, run yast2 it run fine. However, as normal
user from terminal if I issue “sudo /sbin/yast2” I get the following
error: No protocol specified y2controlcenter: cannot connect to X
server :0. ???


buckmaster60

buckmaster60’s Profile: http://forums.opensuse.org/member.php?userid=2194
View this thread: http://forums.opensuse.org/showthread.php?t=404909

Is the user added to sudo?

Another one to try besides sudo, assuming you’re using kde is:

kdesu yast2


Ecky

Ecky’s Profile: http://forums.opensuse.org/member.php?userid=3518
View this thread: http://forums.opensuse.org/showthread.php?t=404909

Fixed. Have no idea why but from the properties of the icon, click the
“application” tab then “advanced options” then un-check “place in system
tray”. Now works. Do you know what “Place in system tray” means? On
OS 11 I ran KDE3 and on OS11.1 I’m trying to get use to KDE4. Maybe
that has something to do with it?


buckmaster60

buckmaster60’s Profile: http://forums.opensuse.org/member.php?userid=2194
View this thread: http://forums.opensuse.org/showthread.php?t=404909

I would imagine it means put the application in the system tray

I don’t really know much about kde4, I’ve hardly used it because as yet
I’m not all that keen on it, but you have it working now and that’s what
counts


Ecky

Ecky’s Profile: http://forums.opensuse.org/member.php?userid=3518
View this thread: http://forums.opensuse.org/showthread.php?t=404909