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.
In Slackware 10.1, I do it as follow:
$ xhost +<host name>
$ su
# <run it>
But now in Slackware 10.2, I found this way does not work, it says: cannot connect to xxx server. Who can tell me why?
Thanks!
Yes it will work as long as you have KDE installed - I just tried it then in GNOME.
Also have you tried:
Code:
su -
<run application>
It works on my system (Mandriva 2005LE). The - option means to create a login shell, ie. a shell with all the environment variables set as though you'd logged in as root.
Originally posted by tkedwards Also have you tried:
Code:
su -
<run application>
It works on my system (Mandriva 2005LE). The - option means to create a login shell, ie. a shell with all the environment variables set as though you'd logged in as root.
When I use Red Hat 7.2 and Red Hat 9, this method used to work, but it doesn't work in Slackware.
here I can run any app with any user just login the user in the terminal and them typing the app I want to run.
You can open GTK app on KDE if you have the GTK libraries and KDE app on Gnome if you have the QT libraries, is just a matter of the right libs and files.
if I type:
$su
#./runLime.sh
it runs on KDE without problems
or even
$su
#kview
it runs on Gnome without noproblems too ...
or I can just short the command line with a
$su -c "kview"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.