I am running Debian Squeeze with icewm as desktop environment. I am trying to start feh automatically when the desktop finishes loading. I have tried crontab -e with @reboot /usr/bin/feh /home/user/photos/ & I think that the best way to do this would be to monitor for the x-session-manag process. The reason I think this would be a good solution is that I killed x-session-manag and it killed my x-session and straight to command line interface.
set up BASH scripts on the server to automatically download and process data, and then upload it to my website. Is it even possible? Do servers allow website owners to place BASH scripts that can run automatically, or keep running indefinitely?
We purchased a new database system at work last October, ditching the old system because of a lack of support from the vendor. This is a retail Point of Sale and Backoffice database system. I am not sure what system the new one runs on, but the system we replaced was a Firebird data base. The reason I am posting is because we are now in need of the information contained in the old database which was not completely imported into the new system.
Basically the problem is this: The database in on a Windows XP system and I found a copy of SQL Manager Lite 2008 on the system, which after quite a bit of studying, I figured out how to extract the database into a removable file. I have this file (178MB) on a USB stick in a file called Backoffice.fbd.
My studying suggests to me that I can get into this database with MySQL. I have never used this and have no clue how to do this. All I want to be able to do get into the database and create tab deliminated spreadsheet files for each of the database sections (Customers, Repairs, Sales History, stock files, etc.) Is it possible to do this with Ubuntu and MySQL and if so, can expert suggest one or two things to get me started. While a guided tutorial would be nice because I am not an expert, I am willing to learn on my own if someone could point me in the right direction.
Some PDF files have a functionality that text and amounts can be filled in some parts of the file, after which it can be printed (most of the times NOT saved). Our tax authorities have these files as well, you can download them, fill in text and amounts, it even counts it for you, and you can print and send.
Unfortunately, I can't use that functionality in Evince (running Squeeze). I tried this with Adobe (also in Squeeze) and it didn't work either. In Win it does work, but of course I would like Debian to be "allround" Can it be that some application must be installed to use this function?
I have a little problem: I have a share folder on Ubuntu server: - Dump That folder is share with SAMBA and everyone can put files on it My problem is the following: When someone create a folder, the folder permissions are automatically set with: (let's take my username: Yann)
Owner: Yann Group: Yann
Clearly that's wrong.. I want the Group to be auto set has "users" so everyone can access the folders on that share. Anyone know how to change this ? chmod and chown is getting a bit boring
I am having trouble getting grub to automatically boot into ubuntu server. When I turn on my server the grub menu shows up and shows me the choices. They all work fine except that grub wont automatically select one. This wouldn't be too much of a problem but this is a headless server and I can't boot into ubuntu without a keyboard. I tried looking through the grub 2 documentation but nothing seemed to work when I edited the conf file.
I cannot sudo nor log into a second ssh session on my Ubuntu 10.10 server edition headless setup. Entering an incorrect password works as expected but the correct password gives errors, and on the second attempt a segfault. I recently changed my password as the old one was about to expire, that was 3 days ago, I can't find evidence that I have sudo'ed or logged in a second session since, I have been logged into it via ssh throughout all of it and I am still currently logged in. What should I do to correct this problem? I'm worried that by turning it off I will lose all access. Is the only option using a live cd to change the password?
I use the below loop to process each file (listed in a text file) with a software. During processing the software asks me to enter a value and continues processing of that file after I enter the value. I have those values stored in a text file "myfile". What I want is to get the values directly from myfile when the software asks "please enter the title:". I dont want to enter them all manually. But i could not figure out how to code this in Bash script.
Code: for ((i=1,i<=$NR,i++)); do --command of the software comes here-- done
Im using opennms network configuration backup server called 'RANCID'.It run on top of RHEL5 system and using APache. Here's the link which i'm accessing [URL] But any one can access this URL and obtain my configuration files
I want to secure this using a logon page.allow login Only for the successful authentications by entering the predefined username and password But after get authenticate book marking the above URL still can access anyone since it didnt prompt username and password again In eachtime executing the above url it should direct to authenticate page
I need to produce a script that will create a report that will be emailed to me that will Log user login activity to detect unauthorized remote access attempts. Where would I start?
I have a strange and very frustrating problem with my Ubuntu Server 9.10 install on an old (2003/2004) eMachines m6807 laptop.It goes into some sort of standby state in which it stops responding to ping/ssh, stops serving web interfaces, etc. It wakes instantly on the press of a keyboard button - I had another computer ping it repeatedly and watched them time out, and they start responding instantly after a key press.Rather oddly, the system clock is wrong after coming out of the standby state - it hasn't advanced since going into standby.
A probably irrelevant detail: it also blanks the screen. I haven't checked whether the blanking of the screen coincides with going non-responsive: I could, if this is relevant. -- I just noticed it in a non-responsive state with the screen not blanked, so I guess they're not coincident events.This happens very soon after booting or waking it - maybe 10 minutes or so? I haven't timed it precisely.It's also a relatively clean install of Ubuntu Server - a month old, with few packages installed and no custom editing of configuration files.If you anyone can help me shed some light on what's going on and how I might fix it
Where apart from ~/.kde4/share/apps/kmail does kmail keep account data, such as login data/names of pop/smtp servers? I wanted to install an entirely clean version of kmail, so I uninstalled/re-installed kmail via YAST. I manually deleted ~/.kde4/share/apps/kmail. After installing kmail I found that the account data of my Yahoo account were still listed in the kmail configuration panel. Shall I delete the Yahoo account within kmail prior to uninstalling the kmail package?
If I send data via scp, will scp automatically verify that the received data matches the sent data? I can do it manually with md5sum, but is that necessary?
I set up a data project to burn a bunch of files onto a CD. I want to backup the files. I went to edit > plugins and selected "File Checksum" and set it to SHA1. Will Brasero now automatically (as part of the burning process) calculate and then compare the SHA1 for the file on the HDD with the file that is burned to the CD? If the two SHA1 comparisons do not match then Brasero will kick up a dialog window alerting me? Do I understand how this works correctly? as long as the plugin is enabled this is all automatic? Is the "Image Checksum" plugin only in use when I am burning an ISO?
does anyone of you know an application for automatically synchronizing data of a Linux-PC to a Windows XP-PC?The form should be echo (changes only on the Linux-PC).Only the Linux-PC should have the application.
When I run this this script in bash it works perfect. When I run as a cron job it starts but never finishes. The reason I know it starts is because a temp file is started by zip but never is completed.The funny thing I was running Linux Mint 8 and this worked fine I just switched to Ubuntu 10.04 & bang no good ..
Crontab -l Output --> # m h dom mon dow command 18 21 * * * /home/joe/Scripts/./BU
I have a Toshiba Satellite A55-S106 with a bad CD-ROM. It can't boot to USB, so I've taken to doing PXE installs.I had done a PXE install for 9.10. After the install, GRUB told me that it couldn't find the UUID. I was able to edit the grub config file and remove references to the UUID and it booted okay.I tried to do an upgrade from 9.10 to 10.04. The whole upgrade finished, and upon rebooting I saw the purple Ubuntu screen with the red dots, then a blank screen and no hard drive activity. I'm able to read the drive in a LiveCD Environment, but I can't figure out how to make it boot yet.
Fearing for the drive, I put a second hard drive in the laptop and installed 10.04 fresh, again using PXE. Same deal -- install finishes, purple screen, then blank screen and no hard drive activity.Here's a video of the laptop in action:v=T0VgfOA05T0 -- the status lights from left to right are "plugged in", "power on", and "hard drive".I feel like this is probably the same issue as before -- where I should go into GRUB and fix the issue, but I can't figure out how to get into GRUB in 10.04!Does anyone have any ideas as to what might be going on? I have some data on the first hard drive that I'd like -- not irreplaceable, but it would save me some time if I could get the drive to boot. (I apparently said "yeah, encrypting my home directory sounds like a great idea
I just installed 10.04 from the minimal install cd (twice), and when I boot it up, it runs fsck on the 3 partitions, shows they are clean, and then nothing. I can't even get to recovery mode. I had previously installed 9.10 fine on this computer. I can't even find out what the real problem is, even with the quiet splash disabled. It just stops after successfully running fsck.
I'm new to Ubuntu (at least on server distributions). I used debian versions for a long time and thought, to try ubuntu LTS 10.0.4, because of the long time support cycle. I had problems, to install this distribution on a x86 platform (used with ASUS P4B533-v), because of kernel panic after installation. So I used a trick to get it running. I installed Ubuntu LTS 8.04 and compiled a kernel 2.6.34 and made a distupgrade. All went o.k. and is now running as a productive system.
My question now belongs to the used pid folder /var/run. I'm using some self compiled programs and had to create a separatly folder (e.g. /var/run/stunnel). My problem is, after rebooting the system, the folder is deleted automatically! Never saw this issue on other distributions. Is there any reason why? Of course, I can write a section in my init script, searching for existing folder and if not, creating it ...
I'm looking for way to automatically backup a few machines to my server. Does anyone know a good guide to set this up? I want it to pull the files from the machines at a certain time every week.
I have two shares in total and there are also two external hard drives. The server is used by two different organisations that are not supposed to have access to the data of the other one(at least not as normal users).he script I need should run in the background of the server and when a drive is plugged in, it should check, which organization the drive belongs to, and depending on who the drive belongs to, backup the respective share.When the drive belong to neither, it should just do nothing.Unfortunately, I have no clue about scripting and so this makes writing a script like that, at least for me, impossible.So I wanted to know if somebody could name some good websites for learning to write such a script or give tips.
I have a computation going which takes a long, but uncertain, amount of time. I have another computation which needs to be run, but _after_ the first one is done. I won't be at the computer at that time to manually start the new process. I've done some Googling, and I found how to delay execution by a specific amount of time (e.g. "start process x in exactly 8 minutes from now), but that isn't quite what I want to do. Essentially, I'd like to tell the shell, "When process #nnnn finishes running, then start process x". Is there a way to do this?
When using Iceweasel to go to an on line classified site (Kijiji) the page seems like it never finishes loading. The circulating thing in the tab never stops rotating.
I wouldn't worry about it but after I get a bunch of tabs opened it will freeze Iceweasel.
If I start a script that is going to take a long time, I inevitably realize it after I've started the script, and wish I had a way of doing some kind of alert once it finishes.
So, for example, if I run:
really_long_script.sh
and press enter...how can I run another command once it finishes?