General :: Launch An Application In Another X-session As Non-root?
Jan 5, 2011How 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 RepliesHow 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 RepliesI 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 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 Relatedhow to launch a non-login bash session that doesn't inherit its parents environmental variables, and doesn't source /etc/bashrc?
View 2 Replies View RelatedI downloaded the tar ball of seamonkey,
copy it to Document folder, unzip it and get a folder named seamonkey.
Everytime to launch it, i open the terminal windows, cd to that directory and type ./seamonkey.
My question is, how to launch it from any where? Just type ./seamonkey and it will run?
I use TextMate on Mac OS X to develop. The files I need to edit are on a Linux machine, and I have the Linux filesystem mounted on my Mac OS X. Opening the files and saving them in TextMate is not a problem.What I want to do (from my Mac OS X) is be able to...SSH <linux>cd <folder>mate <filename>I want that to open up the file in TextMate on my Mac OS X (thus, shifting focus from my Terminal.app to TextMate.app). How can I achieve this effect?
View 4 Replies View RelatedHow 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 have installed Redshift But do not know what to do Next.There is no icon for the application or anything to launch the application.
View 1 Replies View RelatedI use ctrl + shift + s to launch synaptic in KDE. That works wonderful and it is standardized on all my systems. I want to define the same in gnome, so that it does not matter if I'm in gnome or KDE.Where can I do this?Now before you start mentioning, I am familiar with keyboard launchers like launchy or gnome do (but have to admit that I don't know that much what gnome do does in all extents), so I am not looking for a program that launches an app after typing a few letters. I want exactly that keyboard combination, everything else will not do it.
I just mention that, because it happens all the time that I see in my posts that I ask:
How can I do B with Y? I don't want to use Z. (specifically asking the question) and then hear as an answer: you can do B with Z!And I am always tempted to answer: That is not what I asked, I asked something specific and got an answer that does not concern it.
Is there a way to find out the currently installed packages and the corresponding command line to launch the package from a terminal. For example, I know that I have openoffice installed but I do not know how to find the command line to launch it.
View 5 Replies View RelatedI'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.
Desktop computer (AMD64) running F12. Nothing unusual about it, stock install. Thinkpad laptop running Windows XP. Putty is installed, I can SSH to Fedora.
If I'm at the laptop, in a Putty session, how can I (for example) type "firefox" and have the resultant Firefox window appear on-the-laptop?
I generally have X running all the time on the desktop because I can't get the wireless network connection to function without NetworkManger (not that I really care because I'm rarely at a console screen and need net access).
I was having an annoying problem with icons on my KDE desktop moving out of place, even if the icons were locked. I blamed KDE, but I don't have the knowledge or experience to guess what part of KDE was the problem, so I reinstalled most or all of KDE. That did indeed solve the problem, but it caused two minor new "problems." Both I can ignore, but one I should probably fix. One, the MEPIS splash screen was replaced by a Debian splash screen. Two, on the session menu, root became invisible so I can no longer select it with the mouse; I can only type it in (which I don't mind doing).
View 2 Replies View Relatedi am wondering if it is possible to do this all i can find with google is idea proposals and brainstorms i know i could make a separate account and call it guest user bu that user would get to keep data/settings where as a guest session places a temporary account in the /tmp folder which combined with a ram disk for /tmp would result in some really fast performance since i use a ssd for / which would make the traditional hdd only used for /var also since /tmp would be a ram disk it would be like the guest is using a live cd with security restrictions and performance enhancements on top of this there would be no trace of the guest on my computer after shutdown
View 4 Replies View RelatedI am on an xubuntu live cd setting up gentoo linux. I use screen to make sure that all my compiling and whatnot runs in the background and I won't accidently exit it. I have a script that I have written that autoruns starting my screen session, whenever I insert my thumbdrive. A seprete script should be passed along to screen telling it to chroot into my gentoo setup. However, whenever I use screen -X ./myscript.sh it says that it is an unknown command. How can I pass it along to screen?
View 1 Replies View RelatedBasically, the problem is, we have a bunch of computers in a computer lab, that we want to students to access, but not modify in ANY way. That includes backgrounds or whatnot. And after restart, any changes they may have made, change back. Also, they can't have read access to the administrator account on the computer.
This needs to give a permission denied, or something:
Code:
cd /home/(admin account username)
ls
The Guest Session is exactly what we are looking for, but try as I might, I can't get it to work. Because, we don't want to have to login as administrators, then activate guest session, just for our students to use the computers. The idea being, we can leave the computers in there, and not worry about the students breaking anything.
One thread I tried was: [URL]. However, using his method, will log the student into the account, and after about 5 seconds, log them back out.
The other method listed lower in the thread,
Code:
/usr/bin/guest-session
Seems to work, but upon logging out, fails to launch the gdm
Only way to restore is restarting the computer.
I would love to auto-start tomboy at startup. How can I do this ? [Moderator edit: fixed Subject so nobody would expect an automatic Lunch. Is that the same as a free one? ]
View 2 Replies View RelatedI have downloaded Ubuntu within windows 7, with wubi. It shows itself as Ubuntu 10.10, though I had selected 11.04, not to worry, this is for information only. I downloaded Q Cad, a drawing programme from the Ubuntu software centre and it shows in the list but I do not know how to launch it.I will have to down load some more applications and I think I will run into this wall again. I can enter CLI through Ctrl+Alt+F1 to F7 and probably do nothing more.
View 1 Replies View Relatedam using a PC104 with Linux and i need to control it with a controller that is connected via RS-232 or USB port. I need to launch one or more application some specific message come through RS-232 port. Is that doable? If yes how? I am beginner with C++ on Linux so i don't really know specif libraries. If possible i would like to use pure C and not C++.
View 4 Replies View RelatedThis has probably been asked about before.... I would like to start apps in desktop 2, 3 and 4. To start apps during boot, I use two different methods: The .xinitrc file in /home/dan works fine under: "Add your own lines here..." Startup Applications in Gnome | System works well as well. Here, I can enter nautilus /dir and nautilus starts up just fine in that directory. But as I mentioned, I have yet to find a way to direct the program to run in a different desktop other than #1.
View 1 Replies View RelatedI'm new here, but certainly not new to Linux. Some of you may recognise my screen handle from other forum groups. Sadly my other communities seem to be dying and this one is going strong so here I am! I'm sure there's something I'm doing incorrectly, but here's my scenario:
I have a pair of shell scripts that launch SSH sessions with different forwarded ports, and use them multiple times each day. I'd like to drag the shell script directly onto the top Ubuntu Bar where shortcuts go and be able to use it. Or, even better, put all of my frequently used shell scripts in a "drawer". I know that I used to be able to make a shortcut, and set its path to "gnome-terminal -e file://xx.sh" and the script would run in a new terminal window. When I try to do this, a terminal opens with an error dialog that reads "There was an error creating the child process for this terminal". Permissions?
I run 10.10, netbook. Fine so far. I don't manage to call an application that I added manually, though. I have created a menu item, with all subdetails, a proper command, icon, everything. And I can see it in the menu editor, and it is there, even after a reboot. But: How to launch it?? It never shows up under applications, it doesn't show up in Searches, I can't type it in. It does work fine, though, when I open a terminal and add the proper command. It then also shows in the launcher list (left column). But it can't make it 'stick' there, the right-click option does not show in this case.
how to *start* an application that I have added to the menu? Why would a menu item never show as an available application?
I installed Crossover Office Pro (full release) which I used on previous version of opensuse, but now it is installed on opensuse 11.4 64 bits. The installation is fine, but the problems begin when I try to launch the application to install windows software.
I get this output:
alienware:/opt/cxoffice/bin # ./cxinstaller
Traceback (most recent call last):
File "./cxinstaller", line 85, in <module>
import gtk
ImportError: No module named gtk
It has something to do with python I guess but I tried about every possible solution I could find on the internet but nothing works. Any idea's how to fix this error? I tried all option, but no luck so far.
I'm trying to launch CoverGloobus (a fantastic little album art and current song display) and Rhythmbox simultaneously through a BASH script. Problem is that when I attempt to run the script the first time, CoverGloobus doesn't launch, but Rhythmbox does. Here's my script as it is right now:
Code:
#! /bin/bash
#Opens Rhythmbox and CoverGloobus
rhythmbox && covergloobus
done
I've double-checked the commands in gnome-terminal, and they're the right ones for launching the applications. Here's where it gets odd, though. The second time I run the script, CoverGloobus and Rhythmbox launch simultaneously. I've reproduced this scenario multiple times.
I have a laptop running Ubuntu hooked up to a TV via a VGA to S-Video converter with the VGA-out through an external monitor, and I am trying to find a way to set vlc or mplayer to open fullscreen in the external monitor by default. Eventually I want to be able to hit enter on a video file and have it play on the TV without any dragging to the external monitor. I have googled around a bit, checked the monitor settings options, and looked through the media player options but so far can't find anything.
View 3 Replies View RelatedHow to launch a graphical application using gnome-schedule ? I got some tutorials about cron after googling . But I couldn't understand the stuff about Screen number As an example, please tell what should be typed in "Task:" to launch say, nautilus
View 3 Replies View RelatedWhen I try to launch it from the System Tools sub folder, I see it appear for a second and then it disappears. What should I do? This is the code displayed when I try running it from the Terminal.
View 1 Replies View RelatedI am using ubuntu 10.04 LTS version. can i know how to get application menu toolbar in the mentioned ubuntu version.
View 1 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 RelatedI recently installed kinternet from a repository and when I enter Menu -> Applications -> Internet, there is no kinternet application.
I need this, to display the icon in the tray bar, so I can see if Internet is connected or not, and if it isn't I connect clicking on the icon.