Slackware :: Can't Launch Applications As Root?
May 18, 2010When I try to run thunar,for example, as root i receive a :
Code:
bash-4.1# thunar
No protocol specified
[code]...
When I try to run thunar,for example, as root i receive a :
Code:
bash-4.1# thunar
No protocol specified
[code]...
I downloaded emacs, but when I run it in terminal, it does not open the gui - it opens emacs in the terminal and I do not want that. Also, kate just doesn't launch and a bunch of error appears. What do I need to do to launch the applications on GUI by default?
View 3 Replies View RelatedAs the subject of this post suggests i'm trying to launch Ubuntu applications from a php script, i have tried different ways of doing this but without much success.Firstly i would like to explain why and maybe somebody may have a better suggestion or an alternative route...I am making a 'personal' remix of Ubuntu which will be a live CD i can use for my university work (studying computer forensics), it will basically be a minimal install with every Linux based forensics application i can lay my hands on,instead of having a huge list of shortcut's in the menu's that ship with Ubuntu I though it would be fun/a challenge to make a fancy PHP based web site which contained a database of the programs so i could search through them and find what i need by category ect and then launch those applications from the same site.I can 'talk' to Ubuntu through some small scripts i've tried but i can't launch any applications.Here is what i've got so far....
Code:
<?php
echo "test1";
[code]....
I recently installed stacks for Docky using the script of this link here [URL]
Until that, everything is okay. I can drag and drop folders to Docky, and when I click 'em I can easily see it's content like in Mac OS or Cairo.
But the problem here is that I wanted to make an Application folder like in Mac OS X. I made a folder that I called aplications and there I put all the applications I have installed.
But, when I try to open an app from the Docky, it just opens gedit with info about the app I'm trying to open. Is it related that all the application's names are .desktop files? Is that an executable?
Below I leave two caps, the first is of the folder opened in Docky stacks. The second is of what I get when I try to open and application directly from stacks.
I tried to launch java files (.jar) by choosing a program Openjdk Java 6 runtime. Then it gives me an error that the file is not marked as executable. I know how to solve problem with wine by making a launcher with a command and path
View 8 Replies View RelatedHow do I get launch feedback for Qt applications such as VLC? For example, if I open a file with a gtk application the mouse turns into a spinning thing to show the application is loading, but this does not happen with Qt applications.
View 7 Replies View Relatedi upgraded my sisters laptop from 10.04LTS to 10.10. I updated everything, prior to starting the upgrade.Everything upgraded fine, however some applications simply wont launch.For instance, if i launch Ubuntu Tweak from the main menu through Applications>System Tools> Ubuntu Tweak, i get the ubuntu tweak splash, but then nothing after that.If i type "ubuntu-tweak" in terminal i get:Quote:
user@user-ubuntu:~$ ubuntu-tweak
/usr/bin/ubuntu-tweak:97: Warning: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
[code]....
I'm thinking about making some offline splash page for Ubuntu (Similar to how Jolicloud functions) I'm wondering if it's possible to be able to launch an application (For example, gedit) by clicking a link on the offline webpage?
View 3 Replies View RelatedToday (25 of March) Fedora 10 asked to install latest security updates. I allowed it to install them and everything seemed ok. But after the next boot I understood that some applications won't launch. Skype, last.fm player, VirtualBox - all the qt ones. I've reinstalled those apps, and reinstalled qt. They still don't launch.When I execute one of them from terminal - it just waits and nothing happens.The process really starts, I can see it from ps -A and gnome's System Monitor.Here's the /var/log/yum.log for March 25th:
Mar 25 00:20:37 Updated: libX11-1.1.5-1.fc10.i386
Mar 25 00:20:39 Updated: lcms-libs-1.18-1.fc10.i386
Mar 25 00:20:44 Updated: gtk2-2.14.7-7.fc10.i386
[code]....
I recently acquired an android device and would like to be able to ssh into my machine and launch certain X applications ( Amarok, other video players)
This works well when I launch server tasks that don't require an interface, however when trying to launch Amarok on the host from a remote session, I get an error about DBUS and display obviously. Just to clarify, I do not want them to launch on the phone itself but on the host, If I start them manually while at the host II can then control them remotely fine once they are started. . .
After upgrading to Natty from Maverick I started playing with the Compiz settings (trying to get my cube back), causing the Launcher to vanish!
This means I can't launch any applications - is there an easy way to restore it?
I have installed Ubuntu 11.04 Natty Narwhal. I'm using the Gnome desktop (Ubuntu Classic) instead of Unity.
My problems is, when I launch certain applications, most of the time LibreOffice ones, Ubuntu desktop freezes.
When this happens the desktop becomes unresponsive to the keyboard. However the mouse pointer can still be moved around. Everything on the screen will freeze including panels and their items.
This happens only when an application launches.
I have already set up a shortcut key combination so that Ctrl + Alt + Backspace will perform a session restart. But when the above mentioned problem occurs, shortcut keys do not work (so I can't just do a session restart). So there's nothing to do other than restarting the laptop by holding the power button down.
Ubuntu 11.04. I would like to move the Applications Icon, the one that launches a window where I can view and launch all my applications. I want to move it up near the top of the Launcher Bar, where it would be more readily accessed. I've tried "clicking and dragging but the only thing I can do is switch places with the "Files & Folders" Icon.
View 5 Replies View RelatedHow to launch the gui applications on remote computer(The application should be displayed on the remote computer, not on the computer from which command is given).
View 4 Replies View RelatedI am new to Linux (I get to learn it for work ) I was wondering how to launch multiple applications on different work spaces via a script. I have researched it and come up with most people using "Devil's Pie" I don't have this as an option. (work reasons) I was wondering what commands I could use in the script file to launch an app. on Said monitor on Said workstation.
View 2 Replies View RelatedSystem: Dell Inspiron 6000 laptopUbuntu version: completely stock Maverick installAfter using my laptop for about half an hour to an hour, the following odd symptoms appear, usually while using Firefox:Firefox is unable to display web pages, displaying a Javascript error.The notification icons all disappear.The icons in the application launcher disappear, but the menus are still accessible - however selecting an application has no effect.The shutdown menu is inaccessible, so the only way to recover is to hard reset.
View 3 Replies View Relateddo all programs installed from software center lanuch from applications? installed fcrackzip but i can't find it to open it.
View 1 Replies View RelatedI've just installed Ubuntu and noticed that there are two tool bars.The one at the top says applications, places, system and then there is also one at the bottom.Is it possible to have just a single toolbar that has a "start button", "quick launch icons" and open applications?
View 1 Replies View RelatedAfter I installed luckyBackup, two icons were added to the 'More applications' window. The first one launches luckyBackup and works fine. The second one is called 'luckyBackup (super user mode' and is supposed to launch luckyBackup with root privileges. However nothing happens when I click on it. I see that the associated command is 'su-to-root -X -c /usr/bin/luckyBackup'. Typing that command in a shell results in an error as su-to-root does not exist. So... is this syntax ('su-to-root -X -c /usr/bin/luckyBackup') supposed to work, or shall I edit it (how?) in order to be able to launch the application as root?
View 4 Replies View RelatedI use Firestarter, seems to be a good firewall. But it is a desktop/GUI application, and it requires root access, or rather sudo in Ubuntu. Every time I launch it, I am required to type in my user (not root) password. How can I make it run automatically at startup (KDE) without prompting for a password?
View 4 Replies View RelatedFresh install of openSUSE 11.3 here and I am used to launching Konqueror as root from the CLI and having a cut and paste editor to use. This doesn't work in KDE 4.4. I can't launch kwrite from the cli as root. What am I supposed to use? I installed midnight commander but it can't cut and paste correctly. I am feeling a bit frustrated with KDE 4.4.
View 9 Replies View RelatedopenSUSE 11.2, just installed. When I start the "Root Terminal", I get this error message: Could not launch 'Root Terminal' Failed to execute child process "gksu" (No such file or directory) This error message doesn't mean enough to me to know what I need to do.
View 9 Replies View RelatedHow to start an X server as root with a session of non-root application?Should be something like xinit 'su -c openbox user
View 2 Replies View RelatedIn a computer, the brightness can't be changed with the fn key (and the brightness starts at 100%) :S I can set the brightness with this command from a shell: sudo setpci -s 00:02.0 F4.B=25 In Ubuntu 10.04 worked set this command in /etc/rc.local But in Ubuntu 11.04 I did this, but it didn't work. In which file can I set a root command in the boot in Ubuntu 11.04?
View 3 Replies View RelatedI am attempting to launch kate via kdesu as well as from the command line and it fails both times. I have (after the first failed attempt) coppied my .kde folder to /root and still am not able to launch it (it works fine under my login). The following is what I get after removing my personal .kde folder from root and launching kate: kate(16689): Session bus not found
KCrash: Application 'kate' crashing...
sock_file=/root/.kde/socket-debian/kdeinit4__0
Warning: connect() failed: : No such file or directory
KCrash cannot reach kdeinit, launching directly.
drkonqi(16694): Session bus not found
I'm trying to launch a root terminal with a profile preloaded, but I'm not yet used to the way gnome handles its syntax, so the default link to root terminal:
Code:
Apparently, the method using gnome-terminal is to add a trailing
Code:
But this did not work, probably because in this case I'm not calling directly on gnome's terminal.
I used sbopkg to install Bleachbit.
It does not launch from the 'system' menu - the small icon just bounces and then nothing happens. (user or root)
When I launch it from a terminal, as root, I get the following output:
Code:
bash-4.1# bleachbit
Traceback (most recent call last):
File "/usr/bin/bleachbit", line 41, in <module>
[Code]....
I have just installed Alien Bob's kde 4.4 packages as per his README instructions over a fresh install of current as of 31 Jan.
I can open a kde session but have problems with running kde applications. Non kde applications such as Firefox, Scanlite, Geany, Gopdit open fine but so far kde applications are hit or miss.
I could launch kmail but not others. Kwrite from quicklaunch gave me a "KDEInit could not launch /usr/bin/kwrite in a pop up but konqueror, dolphin, kcalc to name a few just don't launch with a click and leave no error messages.
I have tried running them from XFC's terminal and I get the following:
Quote:
bash-3.1$ dolphin
bash: /usr/bin/dolphin: cannot execute binary file
bash-3.1$ ls -l /usr/bin/dolphin
-rwxr-xr-x 1 root root 631240 2010-02-06 03:41 /usr/bin/dolphin
I have a java program that needs to be launched with root privileges (from an account that doesn't have root privileges) from a desktop shortcut. The command would look something like this: java -jar /file/location/whatever.jar I've searched and searched and can't figure out how to do this. EDIT*** I would like it to pop up and ask for the root password before it launches the application.
View 3 Replies View RelatedI've set some alias for bash, but, obviously, they only work on the terminal. What I want to do is to launch some applications (Alt+F2) using such "alias" - I guess I'd have to define them somewhere else, but I don't know where.
View 2 Replies View Related