Ubuntu :: Auto-run Script When Starting ?
Jul 30, 2010I need ubuntu to automatically run a script in the Terminal when started.
View 3 RepliesI need ubuntu to automatically run a script in the Terminal when started.
View 3 RepliesI decided to stop using my password to enter Ubuntu (recently installed) and switch to automatic start up. Hit the relevant key, then restart. Received three notices, closed two, entered pass to get encryption code at third, then nothing but a blank, Ubuntu-colour screen. Unable to open Ubuntu. How the heck to I get myself out of this trap?
View 1 Replies View Relatedbluetooth-applet is not auto-starting on one of the 2 users of a system. In the user's environment where auto-start does not work it can be started from a shell without any error and bluetooth otherwise works fine. There is an entry in the start up applications preferences for both users. We are running 9.10.
View 1 Replies View RelatedRebooting after an update I can't see any icon on the desktop (FC12, gnome).If I manually start nautilus they appear, but I obviously would like that to happen automatically. What could be the problem and how to solve it?
View 2 Replies View RelatedFirst post here so I'll do my best to provide the information needed.
System:
Dell Poweredge R310
Xeon 3460 2.8Ghz
4x2GB ram
4x 160GB Sata 7.2k (RAID 10)
Ubuntu Server 64bit
If I type as root, "reboot" or "shutdown -r now", nothing happenings - except the apache2 process stops + the usual "System is going down for reboot now". If I type "shutdown -h now" the system goes down.
Upon booting the server back up, MySQL starts correctly, but Apache2 does not - I have to run "service apache2 start", and it starts up fine.
I feel the 2 issues are related. I've reinstalled apache2 completely (configs and all) and this didn't help - I used yum to install/reinstall it.
compiz is running just fine with compiz --replace, but it still not starting automatically with gnome.
View 4 Replies View Relatedmy mouse is not being seen so I need to log in without the xsession autostarting to get a cmd line login.
my account will not let me login with my passd so the console is my only access with root but i cannot do anything withourt a mouse.
1. How can i get logged in?
2. How can I stop xsession from autostarting on a reboot once i get loged in i can try to remove that setting and boot the box.
3. secure session lets me in but the xterm is not active so I cannot type any commands.
i have installed mysql and its running fine. how i can stop mysql from auto starting when i start my machine
View 2 Replies View RelatedI updated my fc12 x86_64 server today, and one of the updated included kernel 2.6.31.12-174.2.3.fc12.x86_64 from the previous one of kernel-2.6.31.9-174.fc12.x86_64.When I boot with that kernel, it stops when my logical volumes that are built on a raid 5 array (linux software raid built using mdadm) are not there.I can start them afterward with mdadm --auto-detect which seemingly loads the appropriate modules and starts the array, but I have never had to do this before.
Reading the mdadm man page, it mentions that this is generally done by the initrd. So, I am guessing the initrd that came with the new kernel is missing something.
I'm running Linux Red Hat 5.5 and Gnome. I am trying to use the Terminal almost like Windows Putty but with tabs. Is there any way that, when starting the terminal, I can have it connect to multiple machines in different tab?
View 1 Replies View RelatedCurrently when I connect a card reader (with a card inside, of course) gnome auto-starts gphoto. However I don't use gphoto and I would like gnome to auto-start nautilus instead
View 5 Replies View RelatedI recently installed 32bit maverick and wanted to make it login automatically. I tried enabling auto login from Admin > Login but that didnt work and I was still prompted for my password. Then I went to Users & Groups and changed the password option to Do Not ask for password at login now after I reboot, the user list is shown (only 1 user) and it doesnt ask for password after I click on my username.
However, then it gives a few errors (as i vaguely recall):
1. cannot load .ICE directory in my home directory
2. some error 256 about a gconf-sanity-2 file
3. nautilus cannot load my home directory etc
and then it gets stuck without loading anything (blank wallpaper). i ve tried navigating to my home directory using Alt F2, gksudo nautilus and my home dir contents are encrypted by the ecryptfs (there is a readme.txt file and a shortcut). i have tried to decrypt but it doesnt work... i ve also tried to start/stop gdm, and startx but nothing works. if i stop gdm, then the prompt doesnt recognize my password and keeps on rejecting the commands i enter... I think this has something to do with the home dir not being decrypted due to the dont ask for paswd option... how can i disable the dont ask for pwd without the gui (i can access my / by booting through an external usb).
I would like to exec a script whenever a user mount a device. The device could be an internal device (for example a partition on a second hard disk) or a removable one (for example a usb hard disk). The script must have sudo capabilities even if the user is not included in the admin group. Is it possible?
The specific question:
I would like to add acl option to a device whenever it is mounted.
I tried fstab but it's changing the behaviour of nautilus see:
[URL]... so I would like to create a script with the command
Code:
sudo mount -o remount,acl /media/data
and auto execute it any time data is mounted.
Does anyone know if there's a way to make nano support auto-complete and auto-bracket closing?
View 1 Replies View RelatedI code primarily in jQuery/JavaScript, and I'm looking for a text editor for Linux that has auto-indent and auto-outdent (seems to be tough to find that). Any suggestions? I've checked Gedit, Cream, vim, Bluefish.None of them seem to have this feature.
View 2 Replies View RelatedI have noticed that a common issue to several distros is the fact that the networking subsystem doesn't automatically detect the link if an ethernet connection is disconnected and then re-connected to the NIC after boot. If the ethernet cable is connected after the system is up and running, nothing happens - ethtool eth0 shows link detected: no, and you have to restart the network service to let the NIC know that there is in fact a link, and actually connect. I have a Fedora14 (KDE) box with a brand new Asus motherboard with embedded NIC. Everything works great except the auto-detect of a freshly connected ethernet connection if the link is down to begin with.
Am I missing a ethernet link sentinel utility or something, or is this just the way linux works? I have done plenty of research on plenty of posts, and it seems this is a common problem, with no solution other than manually or programatically restarting the network service in a script to detect the link after a disconnect.
I press On-button, Debian boots, logs in and automatically connects to the Wireless network AND! to my local pc via LAN. It runs an ssh server, so I can ssh into debian over internet and communicate with the local pc (send a magic packet).Here are my problems:
1) I don't how to log in automatically. This and this doesn't work.
2) I need a network tool that can manage multiple connections and has a reconnect feature. With the default network manager I cannot even connect to more than one network simultaneously although I have two network devices of course.
And I guess I can run all that in console mode, right?
I recently installed a server with Software RAID. I tested by powering it down, unplugging one drive and powering it up. Magically, it worked!I found out later that I have to manually add individual devices like md1 to sda2 md2 to sda4. I got all of them added and rebuilt but my question is: Is there a way to make it so that if I "removed" a drive and put it back, the system will senses the new drive and rebuilds based on some internal table?
View 1 Replies View RelatedI installed OS11.4 on my old laptop, Compaq Armada E500., 512MB RAM, ATI Rage Mobility. During installation I chose "minimal server" and added some development packages, lxde and a little more. I chose to start in runlevel 3 which is full networking without X. Still, when computer is booted it tries to start Xorg which doesn't work because of some problem w driver. The start-up seems to stop there, it never loads completely - seems most things in runlevel 3 are not started (see below) I can manually login on laptop and fix it - but never permanently, same thing again after reboot.
I have checked /etc/inittab & yast - both states default runlevel is 3. I have checked services to be started both directly, browsing directory /etc/rc.d/rc3.d/, and with YaST, it is very clear X should not load during boot. But, as said, it does.. I don't really care about the driver problem right now, I can fix that later when I have more time. So how do I stop X from getting started automatically?
More info, if needed: The installation also stopped with message on tty1 "Starting YaST2" and tty8 showing errors with graphics driver (mach64). The system seemed to be installed though, so I simply rebooted (issuing "reboot" from tty2).
[Code]....
I'm not completely sure where it stops, network is configured but keyboard is wrong and mysql & everything after is not started, so somewhere between S02network and S06kbd. I'm going to use it as a server for testing purposes so no X is actually needed - however I do want to have X & lxde installed just in case, my Internet connection at home is terribly slow so I need most things I might need in the future installed today.
VLC is not starting in my debian lenny. I tried to uninstall vlc, then installed again. But nothing happened. Error appeared again. What i need to do?
View 3 Replies View RelatedI seem to have a problem with klipper on Kubuntu Lucid (amd64). used to start automatically on startup, but that stopped working. I then put it in autostart, but it still does not want to start automatically. However when I start it manually it works fine
View 3 Replies View RelatedI have a freshly installed 10.04 ubuntu, but brasero is not starting, what could be the reason? I started it with the option to show errors, but it didn't show any, it just didn't start.
View 3 Replies View RelatedI am trying to install spss 16 on an hp. I have activated the license and everything but when I run ./spss on the spss bin directory (this is the executable the install instrucyions tell me I should use) I get the following error after a little intro screen:
Code:
testu@Schwarzschild:~/SPSSIncb/SPSS16/bin$ sh ./spss
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x20656770, pid=2334, tid=2338302832
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_11-b03 mixed mode)
# Problematic frame:
[Code]...
Aborted As you can see, I created an user to test the install (also this user has compiz completely disabled) and installed spss on his home directory.
played around with Plymouth Manager yesterday, and today, my system would not start. I got some help from #ubuntu, and to my surprise, startx ran without problems. sudo service gdm start also worked perfectly. However, when I boot up my computer, I am always taken to the recovery screen. How can I stop this from happening, get my boot screen back, and make everything work as it should?I'm on Ubuntu 10.10 32-bit with an nVidia GeForce 8800 GT and version current on the nVidia restricted drivers.
View 9 Replies View RelatedHow can I start up my Ubuntu Linux in the shell? Then how could I make sure to also get back to gnome?
View 1 Replies View RelatedI've been running Ubuntu (10.10 - 32 bit) for about 3 months. Being curious about the very basics of Java programming I've just installed Netbeans 6.9 through the Ubuntu software centre and done the "Hello World" exercise within Netbeans. The file is in my Home folder but I'm not clear how now to try and run it.
Some Googling has raised some contradictory recommendations about adding the Sun/Oracle repository and the installing JDK6 as well. I'm now getting out of my depth so if someone can share knowledge on where to go from here I would be grateful. Have just registered so I hope this post is expressed correctly.
I had a Ubuntu 10.04 upon which I had nvidia Proprietary Drivers,Now After upgrading the distribution to ubuntu 10.10, instead of getting to the login screen i get on the tty1 Terminal. upon logging in from tty1 and running xstart it says "Fatal error X server failed to start" how do I fix this?
View 1 Replies View RelatedWhenever I start up Skype, the entire sound goes on my PC. Even when I shut Skype down, I still don't have it. The only way I get it back is to reboot the computer. Is there a setting I need to change?
View 2 Replies View RelatedI installed Wine, and installed my printer Epson Tx110 scan program afterwards, but I cant get the program to run at all? Did I do anything wrong?
View 1 Replies View RelatedToday, eclipse will not start for me. The initial splash screen comes up, then the attached window pops-up with not text in it...the only way to get rid of the window is to kill the eclipse process from the terminal/command-line.
I have completely purged and reinstalled java and eclipse, but am still having the same issue. Starting from the terminal also does not give any message besides the "(eclipse:15273): GLib-WARNING **: g_set_prgname() called multiple times" warning. Any ideas or suggestions?
Btw, running Ubuntu 9.10 x86 and the most up-to-date eclipse that is in the repos.