SlackwareThis Forum is for the discussion of Slackware 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've got both my slack 12.2 box running Enlightenment DR16 and my wife's Fedora10-gnome lappie right in front of me doing it, and I can't remember for how long I have used that trick... Precisely, using thunar as my rootly powered file manager for when I need to...
the only trap here is not to forget the ' - how do you call that in english?
can you post the output of su --help ? maybe you have a strange/tweaked version...
[I'll update my post to make it less definitive then, sorry about that]
bash-3.1$ su --help
Password:
GNU bash, version 3.1.17(2)-release-(i486-slackware-linux-gnu)
Usage: /bin/bash [GNU long option] [option] ...
/bin/bash [GNU long option] [option] script-file ...
GNU long options:
--debug
--debugger
--dump-po-strings
--dump-strings
--help
--init-file
--login
--noediting
--noprofile
--norc
--posix
--protected
--rcfile
--restricted
--verbose
--version
--wordexp
Shell options:
-irsD or -c command or -O shopt_option (invocation only)
-abefhkmnptuvxBCHP or -o option
Type `/bin/bash -c "help set"' for more information about shell options.
Type `/bin/bash -c help' for more information about shell builtin commands.
Use the `bashbug' command to report bugs.
bash-3.1$
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
The problem appears to be when you boot into runlevel 4 - i.e. into X. I always boot into runlevel 3 and run startx to run KDE. I also use su -c to run anything I like in X and it works fine. As an experiment I changed my default runlevel to 4 and booted into X. The problems thezoid is having then happened to me too. KDESU still worked as it always does - I don't like sudo so didn't bother setting that up.
Seems like booting into runlevel 4 is missing out on setting some environment variable in Slackware but I haven't looked into it as I prefer to boot to the cli. Maybe something in /etc/profile or /etc/profile.d/ is causing the difference. Possibly startx itself sets something but as I say I've not really looked into 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.