MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am running mandrake 9.2 now (just installed) and I had the following problem;
When I start a Konsole everything goes just fine, but when I type su and feed in my password, I get the following line running and running as a mad dog:
/usr/X11R6/X11/xserver/xprint-startup: /etc/profile.d/ssh-client.sh[6]: shopt: not found
I close the konsole and use any other terminal-silly me- and I get the same result.
I powered the computer off and tried again but I had the same luck.
While powering off, I prefer to see the messages that tells me that everything goes fine, and I have noticed he following:
1- It took such a long time to reboot the system,
2- While stopping the automount an awful red "failed" appeared instead of the lovely green "OK"
3-At the end of the "sending all processes the TERM signal took that long time and then appeared the following in green (which I think means ok)
"[su(pam_unix)[3013]: session closed for user root (ok)"
For God's sake, what is going on here? And how may I restore my ability to run the su?
Thanks a lot.
It's difficult for us to do anything as we're not at your machine. If I was, I would take note of the line "/usr/X11R6/X11/xserver/xprint-startup: /etc/profile.d/ssh-client.sh[6]: shopt: not found" and I'd go and have a look at /etc/profile.d/ssh-client.sh and see if I could figure out what this "shopt" it's looking for is. It may just need you to create a blank text file called shopt somewhere.
The message "[su(pam_unix)[3013]: session closed for user root (ok)" seems to indicate that you did start a session as root, at least as far as pam is concerned, so I wouldn't worry about that. Your problem seems to be with Xwindows and xprint-startup.
I didn't want to reboot into Mandrake before as I had Gtk-Gnutella running but I'm in Mandrake 9.1 now and for what it's worth, /etc/profile.d/ssh-client.sh looks like this
Code:
# fix hanging ssh clients on exit
if test -n "$ZSH_VERSION"; then
setopt hup
else
shopt -s huponexit
fi
I have removed the package xprint and I could get my su back again.
To say the ruth, I reinstalled the xprint package and I got the same problem. I then knew that I should be living without it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.