OpenSUSE :: Running A Script At Startup As Superuser?
Jun 14, 2011
I have installed OpenSUSE 11.4 using the Gnome Live USB version, and I have updated to Gnome 3.I use a USB CDMA modem which is not detected automatically (it never did).after reading a lot of forums regarding similar issues I have been able to solve my problem, I have to run this script after login, modprobe usbserial vendor=0X05c6 product=0x00a0as RootI was wondering is there anyway that this script runs automatically at start up.
View 4 Replies
ADVERTISEMENT
Jul 18, 2010
Im comming from ubuntu/mint and one of the things I got used too was doing something like "sudo nautilus" or "sudo gedit" and similar things. In Suse 11.3 I always get errors like the following
(gedit:6115): Gtk-WARNING **: cannot open display:
kate: cannot connect to X server
Could not parse arguments: Cannot open display:
or similar variations of these.What can I so to prevent this from happening? even if I do "su" and try from there it doesnt always work.I like Suse as it feels more professional then ubuntu, but I am trying to make it as user friendly.
View 5 Replies
View Related
Mar 1, 2010
I can't open files with anything using Dolphin as superuser. For example with Kate:
Code:
KDEinit cannot launch /usr/bin/kate
Also, I can't launch kwrite or kate as root per below:
Code:
john@vostro:~> su
Password:
vostro:/home/john # kate
kate(3007): Session bus not found
[Code]....
View 7 Replies
View Related
Dec 19, 2009
I've got a triple boot system here (W7,XP,OpenSUSE 11.1). Several windows partitions are mounted as part of the standard opensuse install. I can write to them from opensuse only when I am superuser. I suspect I need to tweak mtab? Here is my ftab followed by mtab: Any ideas?
++++ etc/ftab +++++
/dev/disk/by-id/ata-ST31500341AS_9VS2CGVN-part5 swap swap defaults 0 0
/dev/disk/by-id/ata-ST31500341AS_9VS2CGVN-part6 / ext3 acl,user_xattr 1 1
/dev/disk/by-id/ata-ST31500341AS_9VS2CGVN-part7 /home ext3 acl,user_xattr 1 2
[code]....
View 4 Replies
View Related
Jun 11, 2011
The root password is accepted by yast and the lxde login manager, but not the super user version of the pcmanfm file manager. The user pcmanfm icon in tthe lxde control center works OK.
From the lxde control center the superuser icon gives "permission denied" and reverts to the user version. Invoking pcmanfm from a su root shell gets 3 paragraphs of output referencing this error:
a** (pcmanfm:8870): DEBUG: FmJob error: Permission deniedll:
I used the yast SW Manger to update pcmanfm with no change.
If there is interest here, I can insert these 3 paragraphs. I have the stock 11.4 kernel 2.6.37.6-0.5-default.
View 5 Replies
View Related
Jul 24, 2011
On my dual-boot system, 11.4 and win7, Iped out the Doc and DL folders in my home directory and replaced 'em with links to the ones on the windows side. It works great except for one thing: When I open Dolphin in superuser mode and change the permissions to make myself the owner of those folders, the change doesn't take. Is there a special trick to it?GEFPS: I plan to use openSUSE as my main OS, but it's easier to keep my data on the NTFS partition, because Linux speaksindows better than than Windows speaks Linux. Besides, that's where my data already lives
View 9 Replies
View Related
Jun 8, 2010
I've installed ssh, as well as a script of my own, in /etc/init.d, and I've added both of them to the startup sequence (I've tried both the "rcconf" graphical utility, and "update-rc.d"). The installation utilities seem to be working just fine and report success, and everything seems to be where it should be, but on reboot, my startup scripts don't start up.
I have these scripts running on MANY machines withOUT the GDM/Gnome Desktop running. On this ONE machine, though, I have Gnome running.
Is there some fundamental difference between the GUI Desktop's startup sequence and the text-mode-only startup sequence?
View 4 Replies
View Related
Jul 21, 2010
I have just installed a fresh Ubuntu 10.04 x64 installation. I have a script that I am added manually that is not starting on startup like it should, but I also have 2 normal startup scripts that are not running either. Apache2 and mt-daapd are 2 applications that I installed with sudo apt-get install apache2 mt-daapd. Neither application is starting during bootup. I tried making sure there were in the rc.d by using update-rc.d but both said that they already existed. Another script (mount_data) I made myself also has been added and is executable like it should be that isn't running at bootup.
View 9 Replies
View Related
Nov 7, 2010
I noticed my computer seemed to be running excessively noisily, and upon checking into System Monitor, I noticed that my CPU was being held constantly at 100%. None of the processes listed on the process tab seemed t be responsible, but I found this thread which gave me the 'top' command.
Running it, I found a process running as root called 'bmcapture' that was responsible for the CPU use. Trying to 'kill' it failed; using 'sudo kill' gave me no error messages, but the process continued to run. This carried on through a restart.
I then proceeded to shut the computer down and leave it off for a minute. When I booted up again, the CPU was still running at full, and using 'top' I determined the same process was responsible; however, 'sudo kill' successfully killed it this time, with apparently no adverse effects.
My question is if anyone has any information about what 'bmcapture' is, whether its harmful (aside from the obvious issue of it using full CPU) or malicious, and if there's any way to stop it running on startup, because as it is I'm having to manually 'sudo kill' it every time I turn my computer on to stop it eating my CPU alive.
View 3 Replies
View Related
Mar 12, 2010
I'm trying to get synergy+ to work on Fedora 12 on start up. I'd like to be able to log into Fedora using my keyboard and mouse through synergy+. I've tried adding the line
Code:synergyc <localipaddress> at the end of the /etc/rc.local file but I still can't use my keyboard and mouse to log in. I've also tried adding the lineCode:su <username> -c "synergyc <localipaddress>" to /etc/rc.local but it still doesn't work. Just to clarify, I do have synergy+ working on Fedora but I need to start it after logging in on each reboot by switching my keyboard over to the other computer.
View 2 Replies
View Related
Aug 9, 2011
I have a program I have made, and I would like it to run as soon as the system is finished booting. I am using Ubuntu Mini Remix to recreate a LiveCD/USB stick. After booting, it drops me to a command line where I can enter "sudo qct" and it will run my program (which is called qct, and it has to be run as root).I want this to be automated.Instead of going to a command line, I want it to run the program itself at that point. How would I go about doing this? I have read many tutorials about scripting but I cannot seem to get it to work.
View 11 Replies
View Related
May 6, 2010
I have not been able to find any information on this, mostly because I am sure I am searching for the wrong terms. Let me explain what it is I need to do.I have a timeclock process that needs to be running all the time on my Red Hat server. Right now, I manually start the process from terminal:Code:# ./timeclockThis runs the process inside the terminal. The only problem is that if I close the terminal by accident, the timeclock stops working. This is all well and good for now, until I get more timeclocks.Then I will need to have one terminal open per. What I would like to do is to make this process run at start up, and run behind the scenes (no terminal). At the same time, I need to be able to re-run the process (again, hopefully behind the scenes) in case the timeclock goes offline or the process crashes.I know very basic things about Linux administration, and I know it is possible to do this (as there are processes now setup by someone else that do this), I just do not know how. EDIT: An idea I had would be to make the script run every minute, checking to see if the process is already running, and if it is not, then to start it. That way it would automatically correct itself if it went offline.
View 3 Replies
View Related
Jan 23, 2010
I'm having some problems getting my screensaver to work automatically.If I start the screensaver config program then it gives me this message: "The XScreenSaver daemon doesn't seem to be running on display ":0.0". Launch it now?" If I click yes then my screensaver works exactly as expected.How can I get the XScreenSaver daemon to start automatically?
View 3 Replies
View Related
Apr 14, 2010
Is there a way I can run 'completely' one of my script when ubuntu's desktop appears no matter if root , administrator, desktop user or an unprivileged user logged in?
What does the script do? The script mounts a partition, looks for a file in that partition and finally on the basis of that file a decision of copying a partition to another partition is made. That copying is done via
[Code]...
View 5 Replies
View Related
May 3, 2010
I run Ubuntu 10.04. For some reason, MySQL won't start on startup. How do I make it run on startup? I installed it by installing LAMP using tasksel and did everything according to: [URL]. Also, I have another problem: When I try to start/stop/restart mysql in the terminal, the terminal will not give me any prompts after entering the command. E.g., after entering "sudo service mysql start", nothing will happen. Even after waiting for 30min, nothing happens.
View 9 Replies
View Related
Oct 13, 2010
I want to launch qiv upon startup to show a series of photos in slideshow fashion (this will be the sole purpose of this particular laptop). I tried adding the command via System->Preferences->Startup Applications but this does not produce the desired result. In fact, the slide show doesn't even start.
View 5 Replies
View Related
Dec 5, 2010
I installed Gnunet (a secure P2P program) on Ubuntu 10.10 using Ubuntu software centre but had difficulties getting it to work so removed it. However, the gnunetd process loads at startup. It is only visible when typing 'top' in the console and not in the system monitor list of processes.gnunetd --version tells me that it is 0.8.1b sudo apt-get remove gnunetd tells me 'unable to locate package' why the process loads and how to remove it? I can kill it in the console but would like a way of getting rid of it permanently.
View 2 Replies
View Related
Feb 1, 2011
I am trying to run a script that runs at startup. I have followed directions found at this Website: [URL]. Everything works except the script which consists of two lines.
#!/bin/bash
sleep 30 && conky ;
I changed the file permissions to be executed and named it .conky-startup.sh.
Then I went to System>Preferences>Startup Applications and created a new entry that points to my script file. When I restarted my system, Conky didn't start. If I try to run the file from Nautilus or the Terminal, nothing happens.
View 6 Replies
View Related
Apr 13, 2011
Im not sure why they aren't working - but my startup applications are not running at boot. They run fine from terminal.
I have a startup application for Xchat and the command is just xchat (which works fine from terminal) but it isn't loading at? - I have checked and im not running in safe mode or anything like that - just the standard ubuntu desktop).
Unrelated Question:
Is there a 'global' i.p address I can use to represent all devices on my LAN - so I can mass whitelist in firestarter?
View 5 Replies
View Related
Aug 27, 2010
I have a script and I would like it to automatically run whenever the machine starts up. How can I configure it to do that? I am a complete Linux n00b.
View 2 Replies
View Related
Feb 15, 2011
I have a script that needs to start executing on startup. Because I originally wrote it for MacOSX I never cared to learn how to daemonize it (thanks launchd!). Are there any relatively easy ways to run it on startup on debian to?
View 2 Replies
View Related
Oct 4, 2009
my wireless adapter(WUSB600N) doesn't run when I log in. The driver is loaded on start-up but the green light is not on the adapter. I have to physically disconnect the adapter and plug it back in to get it recognised and it works fine afterwards
View 2 Replies
View Related
Jul 3, 2010
How do I make Evolution run at system start-up in the background and check my in-box?
View 1 Replies
View Related
Jul 29, 2010
I am trying to run my script at startup but it doesn't run the script as root. Do I need to add my root username and password in the script, or somewhere else?
View 1 Replies
View Related
Aug 7, 2010
Sometimes I need remotely connect to my computer, but my router gains IP address dynamically. So I wrote simple script which gains my router IP and send me email:
Code:
#!/bin/bash
function send_mail {
echo $1 | mutt -s "New IP" myemail.com
}
old_ip=
while true; do
new_ip=`wget www.whatismyip.com/automation/n09230945.asp -O - -q`
if [ -n "$new_ip" ] && [ "$new_ip" != "$old_ip" ];
then
old_ip=$new_ip
send_mail "IP changed, sending new IP: $new_ip"
fi
sleep 5m
done
I need it to run at system startup. When I'm adding it to .bash_profile bash path/resolveIP & I'm not getting any mail. In case of bash path/resolveIP (without &) I'm getting mail, but I guess it will never get to the next command in .bash_profile. So I put my script in /etc/init.d directory, but I don't know is it okay to have endless script there????
View 1 Replies
View Related
Dec 23, 2008
I'm trying to start an Oracle Integration server as user "oracle" at system startup and my approach was to place a couple of lines in /etc/rc.localsu oracle/home/oracle/startallSomething is not quite right about this as it seems to leave some processes owned by root.
View 2 Replies
View Related
Apr 29, 2009
There is a script that I want to run as root when the machine boots up(which starts the Redhat Certificate System services). The problem I have is if I put this on rc.local it wont run because I havent logged in as root. Is there a way that I can run this without logging in as root at the machine startup?
View 5 Replies
View Related
Jan 23, 2011
I want to run this command on startup.
xmodmap /etc/xmodmap
I am running Ubuntu 10.10 and need to remap keys. It only seems to work when I run it in terminal after I login.
View 2 Replies
View Related
Aug 19, 2009
there's 2 scripts that i want to run when my server start.I a bit new to linux, i found that i could use the script rc.local to run things at startup, although, what i want to run is 2 infinite loop, so the first loop run but not the second.
View 14 Replies
View Related
Mar 26, 2010
I would like to know how to run a BASH script on front-ground on startup of my machine.I've installed a Damn Small Linux (DSL) on a old computer and I would like to run a script at stratup, in command-line mode. So, I've added my script in /etc/rc3.d and it's working fine except 1 thing : I would like it does not execute on background.In facts, I would like the script take the hand immediatelly after login (my DSL is automatically login in with the DSLuser user).The aim is that the script take the controle of the computer until it quit (the script is launching an application, wait for its stop and shutting down the PC).
View 3 Replies
View Related