Fedora :: Make An Application Launched As Root
Oct 28, 2010I wonder how I can do to make an application launched as root, without having to go to console and run it from there?
View 14 RepliesI wonder how I can do to make an application launched as root, without having to go to console and run it from there?
View 14 RepliesHow do I make an application launcher in the panel launch more than one application? Is there some sort of a symbol I type between the apps in the command line? Like ;
View 1 Replies View RelatedI thought Fedora 13 could mix sound from two output sources..On my asus laptop, when music is playing and I launch skype, music stops.Just like sound stopping if I have a game running in wine.Is there a trick to allow more than one sound source?
View 1 Replies View RelatedI 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 Relatedwant to run VirtualBox with root permissions. Trouble is that only when run as root i can access attached USB devices inside of a virtual machine, otherwise, these a greyed out).Now running VirtualBox as a root user also changes the configuration folders, making all my virtual machines already defined disappear. I also don't want to copy all to the root configuration folders. Is there a way to give the VirtualBox root permissions but without actually running the application as a root user. Is it possible to do without changing the permissions of the non-root user, i.e. i don't want my user to have all root permissions, due to security considerations.
View 1 Replies View RelatedAs the title says, when I launch programs using the "xinit" command from the command-line they are unable to play any sounds. I am using fedora 11.
View 4 Replies View Relatedconfiguration: $uname -a
Linux perosoft.home.org 2.6.31.6-166.fc12.i686.PAE #1 SMP Wed Dec 9 11:00:30 EST 2009 i686 i686 i386 GNU/Linux
$/sbin/lspci -nn | grep 'VGA|NV'
01:00.0 VGA compatible controller [0300]: nVidia Corporation GeForce 8400 GS [10de:0422] (rev a1)
$rpm -qa|grep kmod
kmod-nvidia-2.6.31.6-166.fc12.i686.PAE-190.42-1.fc12.8.i686
kmod-nvidia-PAE-190.42-1.fc12.8.i686
i have created a shortcut for konsole on desktop, if i click on icon all desktop is freezing for 10-15 seconds before konsole is launched. if i have the same aplication overlapped in taskbar and i click once same thing is happening, desktop is freezing before select menu is appear.
Recently I tried to install Fedora 12 x86_64 to my laptop. I ran the live fedora image from my cooldisk and then pressed "Install to Hard Drive" from live desktop. Then I went forward until I reached the partitioning section. Though I had ~28GB free space in my Harddrive, but it says: "Could not allocate requested partitions: not enough free space on disks." You can see my steps until reaching this problem in these 3
pics:
step1:
step2:
step3:
I captured these steps by using Fedora 12 Live printscreen tool. I tried to install Fedora12 from its non-bootable DVD too, but no difference! So there's only 2 situations:
1. I did something wrong -> install Fedora and use its partitioning tool.
2. There's a bug in Fedora -> confirm that this is a bug and say me an alternative way to install fedora.
I am interested in making the root file system is read-only. I've moved /var and /tmp file systems to another partitions. There are two files in the /etc directory that need to be writable.
These are:
I've moved this files to /var and linked it. I've added command to the /etc/rc.d/rc.local file:
That's it. Are there other solutions to make the root file system is read-only?
Accidentally I changed the ownership of all the directories under / to my own instead of root:root. Now I am unable to use sudo and many bad things are happening. Is there a way to revert the changes or change the permissions again to root:root or make sudo work ?
View 3 Replies View RelatedI have a bit of a dilemma.
I'm using XFCE and it doesn't by default lock the screen before hibernating. I see this as a bit of a security risk, and as I can't hibernate while the screen is locked, I'm a bit lost as to how to achieve this.
I've begun editing /etc/acpi/hibernate.sh, here's what I have so far code...
If I run with sudo, the system hibernates, but gnome-screensaver will not fire. I can verify this by trying "sudo gnome-screensaver-command --lock". The screen goes black, but is not locked. The screen locks properly without sudo.
So the only solution I can see is to edit /etc/acpi/hibernate.sh in such a way that gnome-screensaver-command runs under the current user, and pm-hibernate is called as root.
Also, when I click the HIBERNATE button in XFCE, how does it call pm-hibernate under root without prompting me for a password? I normally wouldn't be interested in such things, but as it seems relevant to my problem I'm a little more eager to learn
The only user that can make the sound card work on a F10 x86_64 system is root. For non root users, I am not seeing any error messages when a app tries to use/access the sound card, just nothing plays. As I said, for root everything works as expected. I am sure this is a permission/setup issue, but I have no idea where to start.
View 3 Replies View RelatedI hope this post stands in the right section.I have a commandline i need to enter in terminal when i want to run a program. i tought lets put that piece of command in an .sh file and just click the file to run the program (then i dont need to open terminal first an give in the command) however the .sh file does not open the program. so i propably need to make a executable (application/x-executable).
View 3 Replies View RelatedHow do I run application as root, without using Konsole?Sometimes I wish to start task manager on system level, but I dont want to use console. I wish to know how, from KDE4 logged as user, run app as root.
View 9 Replies View Relatedhow can I run it as root if root has been disabled in Ubuntu?
View 3 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 RelatedI tried to create a shortcut to an app I wanted in the plasma dashboard. When I did so, I found that it was owned by root! When I looked at the permissions of the other app icons, they were owned by me, the user.Why did plasma make my newly created app launcher owned by root?I'm so used to the way KDE 3 worked. It was so much simpler. I could click anywhere on that desktop to add shortcuts and they were owned by me, not root. I don't understand why they changed this.
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 RelatedI am getting no packages listed in Gnome application manager gpk-application 2.27.2. I have tried 'yum clean all' and get the following error messages.
View 3 Replies View Relatedi have made a small program to find the md5 checksum of a string.i am using xshell to compile the program.
Code:
#include <string.h>
#include <stdio.h>
#include <sys/types.h>
#include <md5.h>
[Code]...
I downloaded the tar file form mozilla's website, in which I must click the firefox executable in order for it to run
I'd like the firefox logo to appear in my apps, how do I do it? I already moved the firefox folder to /opt
I want to make specific keymaps for application, that working only in it and doesn't affect other apps.
For example, I already use my Caps key to toggle input language (via xorg.conf), but I want Capslock to behave like Esc in vim.
Looks like xmodmap doesn't have any options related to that.
I just installed Ubuntu 10.04 on my laptop, and am amazed how well everything is working, even on my dual-monitor setup! But, I also have a problem with said setup. I downloaded and installed the XBMC media center, but whenever I open up the application, it displays across both monitors. Since my two monitors are of different sizes and at different heights, it looks really bad. Is there a way to always force it to load on just one monitor?
View 1 Replies View RelatedIs it possible to create a loadable module for a C app that could be loaded into the app in runtime from a CLI or web interface?I would like the code to handle a particular type of structure to be "swappable" for lack of a better term. This would allow different modules to be used based on the users wants without having to mess with code. A different module could be downloaded into the application directory then loaded. Basicaly the code would be handed a pointer process it then return it.
View 2 Replies View RelatedI am using openSUSE 11.2, and i want to use configure a scanner app to install drivers for my scanner but it requires root previlages to do so.So Please Can Anyone tell me how can i run configure a scanner as root from the kick off application launcher.
View 3 Replies View RelatedOn my main work machine I have openSUSE 11.4 standard KDE on two partitions, standard root and standard /home. I'm going to add the Tumbleweed repos and follow the evolution of openSUSE until 11.5/12.0 is released.
But I cannot afford to have my main work machine off the air. So I want to back up the root parttiion each time I go a major upgrade from the Tumbleweed repos.
So I thought I would just image the root partition in compressed/reduced form to a USB drive prior to updating.
First I looked at Partimage but it doesn't do the EXT4 filesystem.
Second I thought about Clonezilla but it doesn't allow compression (it states that the target for the image must be at least as big as the source partition); thus DD is just as limited.
Third I looked at the System backup and restore facility in Yast but it seems to be undocumented (i.e. I can't find it.)
Then I thought why not just use cp because the root filesystem of 11.4 for me is only occupying 6Gb ATM. I propose to use "cp -a -u -v" from a live CD to copy the root files to a USB drive with an EXT4 partition.
So two questions:is there a flaw in backing up the system/root with "cp -a -u -v"
is there a better imaging software for a small job like this
I am running Squeeze (Gnome desktop) and I'm experiencing some problems with Iceweasel. My problem is that sometimes Iceweasel just hangs when I launch it. I can see the cursor blinking 2-3 times in the adress bar and then it just locks up. I have tried a few different versions of iceweasel, both from stable (squeeze though), experimental and now a package from http://mozilla.debian.net/packages/ with iceweasel 4 beta.
All of them behaves the same way. They work for a while and then suddenly locks up when launched. The only way to get going again is to kill the process and delete the .mozilla directory. It is possible to launch the --safe-mode though but nothing with this mode lets me change anything to get a normal session going.' Also, it doesn't matter if I have extensions installed or not, it still behaves the same way with zero of them installed. How would I go about to debug this? If I launch iceweasel from the command line I get no output but I'm sure there is a way to get some more info to work with.
I would like to get a log of all processes that are launched with the time that they were launched and the arguments they were launched with. Is this possible in Linux?
View 3 Replies View RelatedI've created a bash file that calls another bash. And I would like to get the pid from the second file launched, to wait for the file to ends. The second bash file launches processes in background. How can I get the PID from the second bash file?
Here's my code:
Code:
#!/bin/bash
echo "FIRST"
./second.sh
PID=$(echo $!)
wait $PID
echo "CONTINUUING FIRST"
I am using Ubuntu 10.10 maverick meekat...suddenly terminal cannot be launched.
View 8 Replies View Related