Software :: Open Screen As Daemon Will Not Execute Command Unless Screen Is Opened?

Aug 5, 2011

In a nut shell, I have a program called OpenSim which is a 3D virtual world emulator. My ISP provides me with dynamic DNS so I have written a program that compares my external IP to the IP in a file called Regions.ini that OpenSim uses to go out to the Internet. If the IP's are different then I need to change the entry in the Regions.ini file and reboot OpenSim. The program works except for the fail safe I put in in case OpenSim crashes during shutdown which happens one in a while.Here is the code:Quote:

#!/bin/bash
EXCEED_TIME="N"
SERVICE='mono'
[code]...

View 1 Replies


ADVERTISEMENT

Ubuntu :: Computer Won't Boot \ Opened The Screen But The Login Screen Wouldn't Appear?

Oct 1, 2010

I am using Ubuntu 10.04.1 and I run it 24 hours a day. Recently one morning I went to my laptop and opened the screen but the login screen wouldn't appear. Anytime the cursor appeared, HDD activity would go to 100%. I'm assuming this because the HDD light on my laptop was permanently on. So I made the dumb decision of just holding the power button down and turning it off. When I turned it back on, I noticed it came to a command prompt type screen listing "initramfs" at the bottom apparently wanting me to input a command. I did a lot of research and couldn't find much of anything that would help me. I read about GRUB, superblocks, fsck, e2fsck, etc.. . I tried all of those and nothing has worked so far. Any ideas? I did notice one thing. When I went into the actual install with the livecd, it told me the drive was /dev/sda5, but in Disk Utility on the livecd, it told me it was /dev/sda1

View 9 Replies View Related

Ubuntu Multimedia :: Execute Command Using Php To Start Program That Grabs Screen From Webcam?

Apr 8, 2010

I'm trying to setup a webcam surveillance system. Zoneminder didn't work for me regardless of how I tried configuring it, so I gave up and have now settled on a more primitive solution. I've currently got 6 cams and looping streamer (webcam screen grabber) I can grab a picture from each camera with about a 1 second interval. The previous picture is overwritten and using javascript to reload the image continuously in a browser I get the desired "movie" effect I'm after. The problem however is that as soon as I start using streamer on more than two cameras at once I run into this little snag:

Quote:

libv4l2: error turning on stream: No space left on device
ioctl: VIDIOC_STREAMON(int=1): No space left on device

I've been searching around and it seems I need to increase my shared memory. I've done that (tried many different values and "solutions") but the problem remains the same.

My setup is as follows.

1.php (refreshes updated grab from camera 1 every second in the browser)
2.php (refreshes updated grab from camera 2 every second in the browser)
3.php (refreshes updated grab from camera 3 every second in the browser)
etc
etc.

Is it possible to use something like php exec to execute the command that starts 'streamer' that grabs the image from the specific webcam (/dev/video1 for 1.php and so forth) when 1.php is opened in the browser. Is this even possible, or am I just dreaming?

View 2 Replies View Related

Ubuntu Security :: Setup Sshguard In 10.04 - Cannot Manage The Log Daemon To Execute The Sshguard Command

Jul 4, 2010

I have been trying to setup sshguard in Ubuntu 10.04 and I cannot manage the log daemon to execute the sshguard command. Has anyone managed to setup sshguard under 10.04?

View 9 Replies View Related

Slackware :: Screen Not Useable After Laptop Lid Opened

May 17, 2010

I'm using Slackware 13.1 RC1,gm45 GPU. After I closed the laptop lid and opened in again, the screen is blank and I could only see the pointer, but nothing else.

View 9 Replies View Related

Ubuntu :: Open Evince Directly In Full Screen Or Presentation Mode From Command Line?

Apr 6, 2011

I need to execute evince from command line or from a shell script and open it directly in full screen, or start some program for presentation.

I mean:

$ evince (this opens evince)
$ evince /dir1/dir2/file.toview (this opens evince and the file.toview but not in full screen)
$ evince /dir1/dir2/file.toview 'in mode presentation'

View 1 Replies View Related

Fedora :: Launch A Program From Screen 0 And Have It Open On Screen 1

Jan 22, 2010

How an I tell gnome (using a script or setting in compiz settings)to only open application X on screen 1 and have it work from screen 0? example: I have nvidia dual/seperate screens runnig so I have screen 0 and screen 1 I cannot drag a window from one screen to the other I want to launch a program from screen 0 and have it open on screen 1

View 4 Replies View Related

Software :: Scripting Screen Command To Start A Split Screen By Default?

May 27, 2010

I'm trying to use the screen command to start a split screen by default.

I know once I am an in `screen`, I can type C-a S to get a split screen. But is there a way to specify this as an argument to the `screen` command so it starts automatically with a split screen?

View 2 Replies View Related

OpenSUSE Hardware :: ATI 3D Accel Fail - Screen Would Occasionally Blank When Opened A Window

Jul 16, 2010

I booted the 11.3 live cd (KDE) and it worked great, so I installed openSUSE. After installation my video acted funny - the screen would occasionally blank when I opened a window, moved or resized a window, etc. It's as if the video driver decided to redraw the entire screen.

So I rebooted the live CD to see what was different and noticed this:

So it seems the 3D driver is an issue. Is there a way I can tell SUSE to just use the swrast 3D driver?

View 1 Replies View Related

Ubuntu Servers :: Startup It Automatically Without Screen Daemon?

Jan 26, 2010

i am succesfully installed TeamSpeak 3 server and now i want to startup it automatically without screen daemon and on every startup on linux ubuntu 9.10 i am using this command for start the TS3 server:./ts3server_linux_amd64 dbplugin=ts3db_mysqlin home/user/Desktop/ts3server_linux_amd64

View 4 Replies View Related

Ubuntu :: Application Launcher Shortcut To Open Terminal And Execute A Command

Jan 15, 2010

I'm having Ubuntu Kramic Koala and i want to create a custom application launcher on the panel so when it is clicked it should open a terminal window and run the following command and then show the output for 5 secs and then closes the terminal... how can i do this?

Code:
cat /proc/sys/vm/laptop_mode && sleep 5

the above command is what i want to be executed at time of running the custom application launcher. if i paste the command in a terminal, it will show the output for 5 secs and then terminates... that's almost what i want. what i exactly want is that, i want it to work like when i click on the shortcut launcher, it should open a terminal and then exectues that command, show the output for 5 sec, pause, and then exits the teriminal.

View 8 Replies View Related

Ubuntu :: Screen Wont Execute Commands?

Jan 13, 2011

Cant type anything when i attach to my screen by typing screen -r. It doesn't even say neokyle@server, the only thing i can get it to let me do is detach. I cant even kill it.

View 2 Replies View Related

Debian :: Use Screen To Execute A File With A Certain Session Name Instead Of Just Numbers?

Feb 11, 2011

I'd like to use screen to execute a file with a certain session name instead of just numbers... or at least have a more permanent name, I'd like to be able to use it all in one command though. So I can put it into a script.Also: is there a way I can remove or change what comes up at the debian login screen so instead of debain 5.0 I can make it say something else? Also when I login the message that comes up is a little annoying, is there a way I could remove or change that too?

View 7 Replies View Related

SUSE :: Automate Execute Command, Reboot And Execute Command?

Dec 1, 2008

Is there a way to execute some command and then after the command completes utomatically reboot the system and then after the system reboots execute another command ? For example look at the sequence shown below(1) Execute command-1(2) After the command-1 in (1) is completed,reboot the system (3) Execute command-2(4) After execution of command-2 reboot the sytemIs there a way i can automate this process so that i need not reboot the system manually

View 5 Replies View Related

Ubuntu Installation :: Can't Boot 10.04 Disc - Boots To A Purple Screen Then It Goes To A Black Screen With A Load Of Writing Nothing Else Happens After Screen

May 12, 2010

I can't seem to get Ubuntu to run on my old Dell Dimension 2300. It boots to a purple screen then it goes to a black screen with a load of writing nothing else happens after this screen. [URL] Could someone advise how I can get it to work?

View 1 Replies View Related

Ubuntu Servers :: How To Use Start-stop-daemon To Execute Process

Sep 27, 2010

I've just installed subversion.I need to create a script /etc/init.d/svnserve that will start at boot time.I want to use start-stop-daemon --start so I can track my process and eventually kill it using start-stop-daemon --stop.My problem is that I can't get it to work and the documentation shows no exemple.

I've replaced $DAEMON by the whole line: svnserve -d -R -r $REPO_ROOT and got -d is not an option.I'm not quite sure what to do at that point. If someone has some experience with start-stop-daemon it would be great.

View 2 Replies View Related

OpenSUSE Multimedia :: Obnoxious Bar In Smplayer - Full Screen Isn't Full Screen And There Are Black Edges On Both Sides Of The Screen

Jan 25, 2011

This obnoxious bar has just appeared in Smplayer at the top of the screen. It stays there even when I go full screen. Now full screen isn't full screen and there are black edges on both sides of the screen. I have not be able to figure out how to hide it. I do not need or want this onscreen display. How can I configure Smplayer to make this go away? How can I get my 16:9 full screen aspect ratio back? I have done nothing to mplayer or smplayer as far as editing any or changing any configuration files. I tried several videos and it displays on all of them. It was not there last time I used Smplayer.

View 9 Replies View Related

Software :: Using 'at' To Open A 'screen' Session?

Mar 8, 2011

when I type:

Code:

After the command has run (verified with atq) I cannot attach to screen using "screen -r" and ps shows screen is not running:

Code:

why the 'at' command can't start screen in the background for me to attach to later?

Noticed screen is actually returning "Must be connected to a terminal." to logs. Does 'at' not provide a terminal?

View 5 Replies View Related

Ubuntu :: Music Player Is Opened When Try To Open A Directory?

Oct 22, 2010

when I try to open a directory via the Places menu in gnome desktop (Places->home|music|...) the default music player which comes with Ubuntu is opened (I don't know why), but not the directory.Do you know, guys, why does this happen and/or how can I solve it? I'm using Ubuntu 10.10.

View 2 Replies View Related

Fedora :: Unable To Open Login Screen

Oct 14, 2009

I clean-installed Fedora 11 and everything was running well. I wanted to try Bacula backup program and so I installed the Development package in other to compile Bacula. When I finished the installation, I discovered a bunch of foreign language supports had been installed. I just erased them. While doing so, I must have also erased some other files.

When I rebooted, the bootup process went well until just before the login screen. The screen showed the Fedora logo, f, and got stock there. I was able to login remotely from another local network computer via vncviewer. I found that GNOME dsktop was missing. I logged on to Fedora 11 text mode by issuing CTL+ATL+F3 and did 'yum groupinstall "GNOME Desktop Environment" By remote login from another computer, I determined that the GNOME Desktop had been restored. But the Fedora 11 still stil stuck just before the login screen. What do you think is missing? What do I need to reinstall?

View 3 Replies View Related

OpenSUSE :: Applications Open In Full Screen?

Mar 16, 2010

when the properties of a file change the default application, such as pdf or okular for gwenview for photos and to open these from the nautilus is opened as if they were full screen.

How can I correct this?

View 8 Replies View Related

Ubuntu :: Can't Take Screen Shot When A Menu Is Open?

Apr 14, 2011

Whenever I try to take a screen shot with a menu open the menu disappears. Is this correct, and if not how do I put it right?

View 5 Replies View Related

Red Hat / Fedora :: Terminal Screen Won't Stay Open?

Mar 30, 2010

Forum, I note many references re best to not use root when doing general work in the terminal screen but when I try and log in as another user the screen disapearsWith a server, can the users (windows xp pc's) use their login to login on a server terminal screen or do I need to create a new user for the server only??Using Putty to get in as root but with so many warnings out there it is only time before the &$%@ hits the punker

View 2 Replies View Related

Slackware :: Default Open On Monitor Screen

Jan 15, 2010

I have two screens, my regular monitor and my TV. When I open a program, sometimes it opens on my monitor and sometimes it opens on my TV. I don't usually have my TV on, so I want to have everything to default to open on my monitor.

View 6 Replies View Related

Fedora :: Firefox Doesn't Open Full Screen?

Sep 7, 2009

I've had this happen so often in the past, that I'm ready to ditch firefox altogether. I'm running F10 on a 3Ghz Intel dual core processor with a 500gb hdd. l prefer that my browser start up with a full screen when I launch it and firefox has been doing this just fine for the past 8 months. When I fired up firefox (version 3.0.13) this morning, it started up using only half the screen. As I've mentioned this has happened to me in the past and I've never been able to figure out how to get FF back to starting with a full screen. Does anyone know how to make it default back to opening in full screen mode? I've attached an image of how FF is opening now.

View 7 Replies View Related

OpenSUSE :: When Type Open Office Does Not Put Letters On The Screen

Aug 9, 2011

After installing lots of stuff from the main repo (letters Q though U). I, apon starting to catalog the missing software that V-Z needed (and I did not have) I found that open office would not print letters on the screen. I tried rebooting (the computer)and reinstalling (open office is what I reinsalled) and nothing worked. I then tried to type on to a txt document using Kwrite and it wored at first then it started to type symbols and a pop up on the lower left showed the symbols then ABC etc. I clicked on ABC and Kwrite worked but open office did not. If it helps I installed some program that had to do whith typing python. I need to know the following

1:Is it a bug or my mistake?
2:How do I get open office up and running?

View 4 Replies View Related

Ubuntu :: Password Request To Open View Screen?

May 3, 2010

Since loading Lucid I keep getting pestered with a request to provide a password as the screen is blank.When installing Lucid and applying the Ubuntu-Restricted-Extras the screen went blank during the process and again there was the need to provide a password.Is there some way that I can avoid this continuous need to keep providing this information? It tends to be a pain in the backside.

View 6 Replies View Related

Ubuntu :: Open ATI Drivers Can't Dual Screen On An X1900

May 29, 2010

I am having a strange issue with my Radeon x1900 video card. I have two displays, they work just fine under Windows XP - however in Lucid the secondary display goes into power saving mode as X kicks in.

Ubuntu is convinced that the secondary display is alive and working and lets me drag into it and and relocate it, the only problem is that the display remains powered off the entire time.

ARandR is also convinced that the monitors connected to DVI-0 and DVI-1 are powered up and functioning.

The one strange thing I have found is that X seems to believe that there is an S-Video connector on this card - there is not, all it has are the two DVI connectors.

I am wondering if there is something strange going on with the probing of the supposed S-Video port that is turning off the secondary DVI. I suspect this becuase the xorg.0.log shows a line that reads "(II) RADEON(0): Output S-video using monitor section Monitor0"

Perhaps someone knows how I can force this non-existent port out of existence ?

I cannot use the latest ATI drivers that support this card (version 9.3) because ATI haven't supported the current version of X in those drivers - I would also prefer to not to us their proprietary garbage.

I have attached the files that I think might be necessary (xorg.0.log has been trimmed to fit within the 19k file size limit)

View 1 Replies View Related

Ubuntu :: Second Tilda Will Not Show Up Unless Open The Config Screen First

Oct 13, 2010

I have been using Tilda for a while to execute a quick command and I love it. However I wanted to customize it a little so it looks nicer. I figured out you needed to enter tilda -C and then start configuring.

I did this and changed a couple settings such as size and colors and whatnot. However when I closed out and tried it nothing happened. Confused, I opened it up again and after poking around I saw that the top said Tilda 2 settings. Poking around more I found the keyboard shortcut was for f2 when I usually use f1 for tilda. So I exit out and hit f2. Another tilda came up(one already running) with all the settings I had configured.

Now this wouldn't be too much of a problem but I noticed that the second tilda will not show up unless I open the config screen first. After I do this then I can open both of them up with f1 and f2. It would be extremely inconvenient to have to do this everytime I bootup.

View 2 Replies View Related

Ubuntu :: When Open The Login Screen Settings - Greyed Out

Oct 14, 2010

I'm the only one using this pc, so I want to enable automatic login. When I open the "login screen settings" though, it's greyed out (inactive) and the "unlock" doesn't do anything.

I also have something about "keyring" asking my password each time just after login, which isn't pleasant.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved