General :: Sudo In .desktop File When Launching Graphical App
Feb 8, 2011Fedora 14 i can run a program with another user with:
But:
it doesn't work, if i put the command in a .desktop file.
Fedora 14 i can run a program with another user with:
But:
it doesn't work, if i put the command in a .desktop file.
Is there a way to run graphical apps as su without launching from the terminal? For example is there a way to open File Browser as su? And if the only way is via the terminal, then how can I find out the names of apps like the File Browser so I can launch them?
View 8 Replies View RelatedI was in the middle of deleting the Xine movie player, and clicked a box wrong. I lost everything possible on the graphical desktop as well as a log in screen for Ubuntu 9.10 (karmic). Since then I did a few things:1. apt-get install ubuntu-desktop2. apt-get install kubuntu-desktop3. apt-get remove kubuntu-desktopAfter all this, I still have the login screen for Kubuntu. But I don't want that. I want to get back to the Ubuntu login screen, and the orange colored desktop. Right now -- after I log in -- I only have a terminal to use. And I have the blue background of Kubuntu. What do I need to do to get rid of the Kubuntu graphics and back to my original login screen, plus the Ubuntu (karmic) graphics and toolbars / menus?
View 2 Replies View RelatedI dislike dependency ridden applications or applications that do something useful designed for a specific window manager. So I am starting a thread specifically for requests for applications in Gnome and KDE that aren't immediately available in XFCE, Fluxbox,Blackbox, IceWM, LXDE etc. For instance, I am personally creating a graphical sudo application for the lesser window managers. What other applications would you like to see? this is NOT a request for applications for Linux is general, ONLY ones already available in Linux.
View 1 Replies View RelatedMy OS is Linux Fedora 11.PC is IBM 1.8 GiB memory, Intel Duo E8500@3.1GHz.The modem I want to install is a USB stick from 'Cell C' the service provider.The code I got from the internet is for Ubuntu. I am new to Linux. When I type the code in at the Terminal, it tells me that Fdeb (my user login name) is not in the sudo file. How do i get my name in the sudo file?
View 2 Replies View RelatedI need to have regular user run this command sync; echo 3 > /proc/sys/vm/drop_caches
but it requires root privileges that I cannot give.
So I figured they could run the command as "sudo". I looked in /etc/sudoers and wasn't sure what I needed to edit for the users to run the following command
sync; echo 3 > /proc/sys/vm/drop_caches
I installed CentOS with KDE and Gnome. the computer starts with a console instead of a window manager. When I try to start Gnome (using either startx or gdm), it freezes the whole computer. I can't even get to another command prompt using Control+Alt+F2, when I try to start Gnome.
After rebooting I tried starting KDE using the kdm command, but it prints out some error messages and logs me out of my session. (I've never seen a program force a log out of a session before! I thought that was strange.) I tried to record the errors by using the command "kdm > errors.log" and "kdm >> errors.log", but nothing is written to the errors.log file.
Also, under the (likely?) case that this problem is caused by the graphics card, I ran lspci and discovered that this computer contains this graphics card: VGA Compatible Controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
I've been able to run *.*msi files in the past through WINE. Apparently the latest version of Ubuntu is blocking the action of launching my *.*msi file. Any way of unblocking this? Uploaded with ImageShack.us. BTW, the app I'm trying to install is Steam.exe.
View 2 Replies View RelatedI am trying to make a custom launcher for a playlist file to open in VLC player. In the command part I have the path to the file like this:
/home/mike/Videos/newTv.m3u
What am I doing wrong cause when I try and launch it I get this error:
Details: Failed to execute child process "/home/mike/Videos/newTv.m3u" (Permission denied)
This is my problem
bash: /usr/local/uvlayout-pro/bin/headus: No such file or directory
but the file exists. If I uncheck the Allow execute as a program the error is
bash: /usr/local/uvlayout-pro/bin/headus: permission denied
I used the sudo command.
(I tried to change the folder permissions to read and write, cause if I didn't, then the file, when not in nautilus, had an x in the top right of the icon. Before this it didn't work anyway)
Where does input to sudo go? I mean when we give password to sudo prompt where it actually goes? If it goes to a file what is its name or what is its file descriptor?
View 1 Replies View RelatedWhere is the SUDO file at, and remind me how do I add myself as a SUDO'er?
View 3 Replies View RelatedWhen I run '# sudo touch newfile' my expectation was that the file would be owned by me, not by root, as my understanding of sudo is that it is giving me, the user, root priviledges but does not actually switch the user.Do I have a fundamental misunderstanding of what sudo is about?
View 4 Replies View RelatedDebugging some of my scripts after upgrading from Debian Lenny to Ubuntu 10.04. In so doing, I tripped over this "problem," the solution to which may give me a clue to others.
On a bash shell command line I created a file thusly:
sudo touch zero_file
and it lists as expected with default permissions 0644:
-rw-r--r-- 1 root root 0 2011-03-09 11:18 zero_file
But then this command fails
sudo echo abcdef >>zero_file
-bash: zero_file: Permission denied
I can place the command (minus the "sudo") in a script & run it under the auspices of sudo & it works. Am I missing something re the stdin redirection when using sudo?
If I try the sudo mv command on the file listed below I get the error listed. I am confused. It is my file & I have permissions. Somehow a slew of files on my system are now showing this way. This seems to correspond when I ran rsync from my netbook to sync it up with my desktop where I am having a problem.
Potential Source ->
sudo rsync -av --delete --rsh=ssh joe@192.168.1.4:/media/Abyss/Memories/ /home/joe/Pictures/
Type of issue ->
mv: cannot remove `100_2259.jpg': Permission denied
joe@Tux-Box:/media/Abyss/Memories/2009/3-09$ stat 100_2259.jpg
File: `100_2259.jpg'
Size: 243012 Blocks: 480 IO Block: 4096 regular file
Device: 811h/2065dInode: 1312030 Links: 1
Access: (0777/-rwxrwxrwx) Uid: (1000/joe) Gid: (1000/joe)
Access: 2010-07-17 11:41:26.708020712 -0400
Modify: 2009-12-13 21:49:59.501938000 -0500
Change: 2009-12-24 05:54:02.854309200 -0500
I am trying to install Squeeze (Debian 6.0.2), KDE environment, desktop PC, older 32-bit single CPU, 40 GB hard drive wholedisk, 2 GB RAM). I am trying to install an encrypted hard drive (takeover installation using entire hard drive).
Each time I try this I seem to run into different problems, and to date I have not succeeded in obtaining graphical installation. My most recent previous thread on my problems is at
viewtopic.php?f=17&t=67113
It contains video controller hardware information. (In that thread I mentioned a desktop and a laptop; I am currently trying to install Squeeze on the desktop PC, not the laptop!)
It seems I will need to request using apt in the shell the Squeeze package firmware-linux-nonfree. I am not familiar with configuring apt from the command line. Can anyone just tell me what I need? (I have many other things I am trying to learn today, so RTFM would not be helpful in this instance.) I am hoping apt will be autoconfigured well enough to get the deb if I simply give the command. Would it be
apt-get install firmware-linux-nonfree
I want to ensure before trying to get apt to install debs over the internet that the key-signing and package verification is working. I hope that all is done automatically by the installer, but does anyone know with certainty? I stress that (as I understand things) checking the GPG signature of a signed deb is different from and complementary with checking the integrity hash; both verifications are crucially important. The reason I ask is that at least under oldstable (Lenny) there was a separate debsig package, which seems to imply that apt does not automatically acquire the ability to check the GPG signature of signed debs.
Someone said that in addition to non-free drivers I might need to obtain firmware. I have never been able to do this successfully, probably because hardware sites assume Windows users and I don't use Windows at all.
I've put a fresh install of Fedora 13 x86_64 on my new server and I have it automatically log in to the gnome desktop so I can control it via VNC. However this only happens when there is a monitor physically connected when the computer boots. If there is no monitor present at boot time, there is no graphical session started, however I want it to start whether or not a monitor is present.
My hardware is a Zotac IONITX-G-E board (which has an Atom N330 and a NVidia ion chipset of some description). I'm using the Fedora default graphics driver (nouveau). Why doesn't it start a graphical session with no monitor, and is there any way to get Fedora to start one whether or not there is a monitor connected?
In programming sense what is Desktop ?I can run any gnome apps using terminal or "Run Application" ?Such as , to open terminal i can type gnome-terminal and it invokes. What is Xwindow , xserver and Why do we need Gnome , KDE etc ?Why i cannot launch any graphical application [ firefox as example ] without loading xserver ?? I donot need wallpaper , start menu bla bla .. I only want to run any graphical applictaion using default black terminal.
View 4 Replies View RelatedFirst question. I accidentally closed the transparent desktop window and I want to get it back. How do i get it back or how do I create a new one, because it was very useful! what is that actually called so I know?
Second question. I have installed Suse on Vmware Fusion 3, I want to remove the Vmware tools installed within Suse and install the Vmware tools that came with Fusion 3, I also want to enable the graphical effects on the desktop, is there anyway I can do this?
I have a really strange problem. I have a few files in a large directory that I want to make readable by everyone. So I try this:
sudo find readme* -not -perm -o+r -exec chmod +r {} ;
and get this:
sudo: unable to execute /usr/bin/find: Success
I don't know why it says Success, because the permissions were not changed. I verified by typing this:
find readme* -not -perm -o+r -exec ls -l {} ;
and get something like
-rw------- 1 root root 536871076 Nov 22 14:06 readme_20101122200429
-rw------- 1 root root 536871892 Nov 22 14:08 readme_20101122200642
-rw------- 1 root root 293458128 Nov 22 14:10 readme_20101122200859
as a last resort, I tried:
sudo chmod +r *
and got:
sudo: unable to execute /bin/chmod: Success
and again Success really means fail. So, I gave up and logged in as root and tried:
find readme* -not -perm -o+r -exec chmod +r {} ;
This time it worked. Why?
EDIT: /etc/sudoers looks like:
## Allow root to run any commands anywhere
root ALL=(ALL) ALL
##Me
user1 ALL=(ALL) ALL
I recently installed 11.3 from DVD Am using Ubuntu Lucid Grub2 bootloader as I have several OS's Updated Grub so that the new kernel version 4 would boot but it boots to a command line... What has happened to my desktop?
View 4 Replies View RelatedI had just upgraded when after the first reboot I noticed that the black Ubuntu screen (with the little red/white dots) is actually white and buggy. It's unreadable and looks trashed.
After the first login, the desktop wasn't able to load properly, leaving me with a blinking, unresponsive icons and no menubars.
The only way to use the desktop environment is to choose Ubuntu Classic (both with and without effects) and Ubuntu Safe Mode.
I do have nvidia drivers installed (173).
I had edited the bashsr file wrongly in my ubuntu while trying to put a "export" command in bashsr for javac. Next when i am writing sudo , its saying :
Command 'sudo' is available in '/usr/bin/sudo'
The command could not be located because '/usr/bin' is not included in the PATH environment variable. sudo: command not found
is it possible to install with just the very min of things, no GUI, etc so I can use it as a compact OS for an old Pentium2 system with a 10 GB hard drive? Should I have downloaded the server edition ISO for this? Is it possible to remove everything down to the bare min without the graphical junk from a Desktop CD disk install? Maybe I should use [URL]
View 2 Replies View RelatedI install ubuntu server 11.04 I select ubuntu server from boot menu then enter username and password and then i see a command line line and a black background How i can setup a graphical app (some thing like genome) for my server I do not know any thing Any body can explain all step of this for me how I connect to internet how download graphical app and install it? (I connect to web with windows 7 and adsl internet)
View 6 Replies View Relatedsince a recent upgrade to Mandriva 2010.1 I am not able to 'sudo' as administrator or when I use the 'root' password. I am the only user on this machine (Dell Inspiron 530S multi-booted with Window's Vista Home Premium, Ubuntu 10.4, and Mandriva 2010.1). I can get into the 'Manage Users' section of the control center by authenticating as 'root' but I can't access 'sudoers file' from command line.
View 4 Replies View RelatedI Have been trying to change a file in filestarter using sudo /etc/rsyslog.conf. but am getting a permission denied message. How do I get into this file to change it ? Firestarter is working ok but for some reason it cannot open the system log. I Have found what amendments need to be made to get this to work but simply cannot get access to the file
View 2 Replies View RelatedI've been trying to get SELinux working in OpenSUSE 11.2. So far I can get to runlevel 3 with enforcing=0. Before I start tinkering with audit2allow, The 11.2 repository gives me these policy rpms:
[URL]
But that version of policy has some issues in OpenSUSE:
1) failure to allow the graphical desktop to load (even with enforcing=0) . The following message appears in the console during boot:
** (gdm:1073): WARNING **: Couldn't connect to system bus: A SELinux policy prevents this sender from sending this message to this recipient (rejected message had sender "(unset)" interface "org.freedesktop.DBus" member "Hello" erro name "(unset)" destination "org.freedesktop.DBus") startproc: exit status of parent of /usr/sbin/gdm: 1 Since enforcing is off, I'm surprised to see a message like that. SELinux shouldn't be preventing anything, so I don't see how modifying policy will solve that. Ideas?
2) Attempting to boot to runlevel 5 with kernel parms "security=selinux selinux=1 enforcing=0", I'm dropped off in runlevel 3 instead. I'm getting a couple of pages of AVC errors after boot (see below). I've tried several other versions of the policy without luck:
- the version included in Fedora 12 (refpolicy-2.2009117
- the latest release from Tresys
- the latest from the repository at Tresys
[Code]....
Kernel 2.6.21.5, Slackware 12.0
Code:
Code:
On the other hand
Code:
So, I do not understand why the notification "sudo: cd: command not found", considering cd is a bash built-in command.
I know how to manage them from a commandline but I was wondering if there are any graphical partition editors that understand and work with lvm2?
View 1 Replies View Related