General :: Execute .jar At Startup & Disabling Xwindow Also?

Aug 31, 2010

i want to run a jar file at the start up..and only that application will work at the start up..other all are blocked..after giving input to the application the xwindow will enabled..otherwise it remains same.

View 1 Replies


ADVERTISEMENT

General :: Execute A Shell Script On Startup?

Mar 31, 2010

I have create a script to start a server(my first question). Now I want it to run on the system boot and start the defined server. What should I do to get this done? My findings tell me put this file in /etc/init.d location and it will execute when the system will boot. But I am not able to understand how the first argument on the startup will be start? Is this predefined somewhere to use start as $1? If I want to have a case startall that will start all the servers in the script, then what are the options I can manage.

My Script is like this:

#!/bin/bash
case "$1" in
start)
start

[code]....

View 2 Replies View Related

CentOS 5 :: Disabling IRQ #169 On Startup ?

Apr 8, 2011

I've run into this problem this week. The other night a power supply failed on a different system and appears to have surged the UPS which it and some other computers were plugged in to. One computer was fine, but the RAID server that is used for backups ended up with a bad disk and this "Disabling IRQ #169" message now shows up during boot, right after starting udev and setting the hostname. The system then sits there for 3-5 minutes before repeating a scroll of "/etc/rc.d/rc.sysinit: line 966: /bin/usleep: Input/output error"

I have booted with linux recovery from the CentOS DVD in order to replace the drive that was damaged. I rebuilt the raid array and all the data seems to be fine. There is another message though after "Red Hat nash version 5.1....." no raid disks and with names: "isw_bf jihdchhi_Hostname" failed to stat() /dev/mapper/isw_bf jihdchhi_Hostname

I was considering doing a complete reinstall of CentOS but if there is another solution I would much appreciate it, is it perhaps an issue with Grub not being able to find the updated array? As it is, it is impossible to boot the system except for using a live CD to do it.

View 12 Replies View Related

Ubuntu :: Samsung Laptop Disabling Touchpad On Startup

May 6, 2011

I've just installed 10.04 on a Samsung RV511 laptop. No problems and much, much better than the Windows 7 it came with. But I do have just a little niggle. I can disable the touchpad with 'modprobe -r psmouse' after I've logged in, but I would like this to happen automatically at startup. I've tried putting the above code in the home folder .bashrc, but I get this error message: FATAL: Error removing psmouse (/lib/modules/2.6.32-31-generic/kernel/drivers/input/mouse/psmouse.ko): Operation not permitted Do I need to write a bash script file? Or how else can I get the code to run as I want?

View 9 Replies View Related

General :: Debian Can't Start The Xwindow?

Aug 31, 2010

I am using debian-2.6.30 After i installing "libkrb53" package, it can not start xwindows any more when I reboot my system. Just can login and works as a DOS system

View 1 Replies View Related

General :: Take A Screen Shot Of A XWindow?

May 17, 2011

I'm using Ubuntu 11.04. In a startup script, I have

Code:
start() {
log_daemon_msg "Starting selenium-server server: "
export DISPLAY=localhost:15.0
/usr/bin/Xvfb :15 -ac -screen 0 1024x768x16 &

From the console, how do I take a screen shot of the display at localhost:15.0 -- my DISPLAY above?

View 3 Replies View Related

General :: Not Getting Xwindow Screen (GUI) In Red Hat 8.0 System

Jun 22, 2010

I hv PIII 128MB RAM system with Red Hat 8.0. after installation of linux, I got GUI screen..but sometime back, I disabled GUI so I was getting only text mode. I changed some entries in /etc/inittab to get text mode. now I forgot. I want GUI screen again to configure LAN in that system. I changed the setting in /etc/inittab as follows and gave startx command but GUI not coming. id:5:initdefault getting error: fatal IO error 104(connection reset by peer) on X server after 0 requests.

View 4 Replies View Related

Fedora :: How To Execute Commands On Startup

Aug 11, 2011

how to execute commands on startup. I've added lines to /etc/rc.d/rc.local, /etc/rc.local, I've put scripts (with extension .sh) into /etc/init.d/ and I've set the executable permission thing on all of them with chmod -x. I *still* can't get anything at all to execute on startup. The truth is, I'm trying to enable multitouch and button tapping automatically when I startup Fedora. I have the commands

[code]...

Which I want to execute whenever I start Fedora (it's a bit tedious to write them every time, or even to have to execute a script myself whenever I start my computer). Furthermore, if I can figure this out, then I can do all sorts of things. Does anyone have a clear, surefire way in which I can do this? I'm not good with using Linux at all

View 7 Replies View Related

OpenSUSE :: Execute A Batch Automatically Upon Startup Under KDE?

Mar 13, 2011

Skype works for me, but there is a small thing i like to solve.
For the x64 version i need to start skype with a bash command so that the video and sound works and i thougth that a simple batch in folder bin would solve it.
So that it gets executed automatically once the desktop loads. Seems it doesn't since i still have to do it manually.
How do i execute a batch automatically upon startup under KDE?

View 1 Replies View Related

Red Hat / Fedora :: Execute Terminal Command At Startup

Jul 9, 2010

i'm trying to automate terminal commands to execute at startup (rc5)one is a background process: Code: xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Two-Finger Scrolling" 8 1 the other is a gui application: Code: /home/labr/apps/gmail-notify/notifier.py i placed these commands in /etc/rc.local but does nothing.

View 2 Replies View Related

Slackware :: How To Execute Pppoe Start On Startup

May 4, 2010

how can I execute pppoe-start on Slackware during startup or reboot? What is the proper way? Should I add a script on rc.d directory?

View 2 Replies View Related

OpenSUSE Install :: Execute Small Script At Startup?

Sep 3, 2010

as root user during boot sequence (last boot sequence script file). how I can do that?

View 4 Replies View Related

Ubuntu :: Execute Startup Script In Live Cd And Installed Usb Drive

Apr 15, 2010

I am trying to run a script which would execute once the system start's up. I placed my script in /etc/init.d and made it chmod +x my-script and placed my script path in /etc/rc.local . It works fine in installed environment and its not working in live cd and USB.

View 9 Replies View Related

Slackware :: Set Display On A Terminal And Run An Xwindow From It

Jan 11, 2011

I'm trying to run an Xwindow application from terminal but I'm unable to do it. What I did:

Code: oracle@firefly:/usr/local/temp/database$ export DISPLAY=:0.0
oracle@firefly:/usr/local/temp/database$ xhost +
No protocol specified
xhost: unable to open display ":0.0"
[Code]...

View 6 Replies View Related

CentOS 5 :: Xwindow - Changing The Locale?

Dec 21, 2010

I run KDE 3.X and for the life of it, can't figure out how to assign the "ALT+SHIFT" to switch between keyboard layouts? The default AL+SHIFT+K switches from EN to second one and after that it (obviously) doesn't work. saw a few posts [URL]....alt-shift.html), but the flag is not changing in the tray.

I also tried to go thru "Keyboard shortcuts", but for whatever reason, it doesn't want to accept the combination of "alt+shift" and expects another key ( i guess).

I'm using Centos 5.2 and the the keyboard model is "MS natural keyboard pro" with US and two Cyrillic layouts - one of them is phonetic.

View 4 Replies View Related

CentOS 5 :: Installing Xwindow And GNOME

Jul 10, 2011

I am trying to install X window on my dedicated server. This is the first time I am doing this and I had several issues which I was able to fix through searching the forum. This is a CENTOS 5.6 x86_64 standard and I am using WHM 11.30.1 (build 1) on it. Through accessing SSH as root I maneged to install X window and Gnome. #yum groupinstall "X Window System" "GNOME Desktop Environment"

View 1 Replies View Related

OpenSUSE :: Access It Via A Remote XWindow Server Via Xdmcp?

Nov 8, 2010

on a openSUSE-11.3 how do I configure lxde so I can access it via a remote XWindow server via xdmcp?

Entry /etc/sysconfing/displaymanager:
DISPLAYMANAGER="lxdm"
DISPLAYMANAGER_REMOTE_ACCESS="yes"
Entry in /etc/sysconfig/windowmanager:
DEFAULT_WM="startlxde"

[Code]...

View 2 Replies View Related

Ubuntu Security :: Remove The 6600/tcp Connection Ability From XWindow?

Apr 15, 2011

I've been reading a lot of articles on Xorg XWindow System having the ability to allow 6600/tcp for remote screen connections and I've been trying to find a way to remove the functionality without having to just dump XWindow and settle for CLI on my server. I heard it was disabled by default, but I just want to get rid of that ability completely by cutting it out of it's code and yes, I'm feeling very, very paranoid.

View 2 Replies View Related

General :: Enabling And Disabling DCA ?

Mar 31, 2010

I'm using Linux Kernel version 2.6.33 on a server with Intel Xeon X5570.

I assume that Intel's DCA is already enabled on my system, because I see

Code:

I would like to test the effects of with and without DCA. How can I disable DCA?

View 2 Replies View Related

General :: Disabling USB Automount (KDE)?

Jul 14, 2011

When I plug in a removable device, KDE automounts it, but I prefer to do this manually (also perhaps not liking the idea that any user could plug a device in and have it mounted). I've searched around and looked at KDE -> System Settings -> Removable Devices, and "Enable automatic mounting of removable devices" is already unchecked

View 3 Replies View Related

General :: What Harm Can Come From Disabling Postfix

Feb 28, 2010

I have a netbook running opensuse 11.2 I'm trying to make it run faster by disabling services, and I would like to kill off postfix as I don't ever use it (As far as i actually know) What harm could come from disabling postfix, if any?

View 3 Replies View Related

General :: Disabling Start Up Items?

May 24, 2010

I'm currently using Debian 5.04 Lenny, and I trying to figure out how I stop things running at boot time, in the simplest way, if possible.

In Redhat/SuSE all I had to do was 'chkconfig xxx off' and it was done, is there an equivalent in Debian? A tool or something.

To find a list of items in Redhat/SuSE all I had to do was 'chkconfig --list' and it displayed a list, is there also an equivalent for this? A tool or something.

View 3 Replies View Related

General :: Disabling Keyboard For Some Time?

Feb 23, 2010

I want my keyboard to be disabled for sometime say 5min or more. My keyboard gets loaded more than fingers it bears sometimes loads of books.So want to disable for a specific time

View 1 Replies View Related

General :: Disabling The Constrailnts On A Table?

Feb 1, 2011

How can I disable the PK,UK and FK constraints on all tables in oracle DB.

View 2 Replies View Related

General :: Audio - Disabling Built-in Speaker?

Jan 28, 2010

My workstation has a built-in speaker that, surprisingly, plays audio very well. I also have external speakers hooked up to the audio out jack which are easier to hear. Unfortunately, when I try to play some audio material, sound comes out of both the external speakers and the built-in speaker on the workstation.

I'd like to disable the speaker inside the machine, and just plug in head-phones to the external speaker so I can listen to training material at work without bothering my office mate. I'm not sure how to do this in Linux (Suse Enterprise Desktop 11). Fiddling around with the Gnome audio tools doesn't list two different audio devices on the machine.

From what I can tell, sound is played through the ALSA system. I looked in my home directory and there is no .asoundrc controlling configuration.

I should also add that I check in the BIOS for a way to disable the built-in speaker, but I could not find such a setting.

View 3 Replies View Related

General :: Can't Enable Wireless Again After Disabling It By Accident

Oct 13, 2010

My Acer notebook has a button that can disable the wireless network device when pressed. Since it is near the ESC key, sometimes I press it on accident, especially when editing something with Vim. When I press the wireless switch to enable the device again, nothing happens. Using the command ifconfig wlan0 up results in the following error:

SIOCSIFFLAGS: Unknown error 132

Rebooting and logging on linux again didn't solve anything. I had to log into windows. The device started out disabled, then pressing the button reenabled the device. I'd like to be able either to reenable wireless at will, or outright disable the wireless switch button.

View 2 Replies View Related

General :: Ubuntu - Disabling Mouse Acceleration In X.Org?

Mar 18, 2011

This is the Linux version of my Disabling mouse acceleration in Mac OS X question. Hopefully I'll get an answer this time.I am tired of mouse acceleration and want to have a completely linear mouse response. This is easily achievable through any of the 5 or so methods (some subtly implied) on the X.Org wiki page on pointer acceleration. However, they also disable velocity scaling.I don't want a 1:1 mapping between device and screen coordinates. I want a 1:N mapping where N is a constant.

View 1 Replies View Related

General :: Removing / Disabling Firewall Happens Temporarily

Apr 16, 2011

I tried following the instructions in this link to disable and remove iptables firewall using commands:

# service iptables save
# service iptables stop
# chkconfig iptables off
# iptables -F
# iptables -X
# iptables -t nat -F
# iptables -t nat -X
# iptables -t mangle -F
# iptables -t mangle -X
# iptables -P INPUT ACCEPT
# iptables -P OUTPUT ACCEPT

Its seems to work temporarily and then the firewall gets enabled again by itself even without restarting.

View 1 Replies View Related

General :: Disabling Interactive Boot In Red Hat / CentOS

Feb 12, 2010

How can I disable the interactive boot up process? Also what is the pros and cons to doing this? Will this affect my being able to get to runlevel 1?

I have been googling it but not really clear on the pros/cons etc.

I am talking about a server class machine that is in a locked room, not a desktop.

I know it can be turned off in /etc/sysconfig/init # Set to anything other than 'no' to allow hotkey interactive startup... PROMPT=yes

View 4 Replies View Related

General :: Firefox: Disabling Spelling Checking.

Jun 19, 2011

Kernel 2.6.21.5, slackware 12.0
(Mozilla) Firefox 2.0.0.4

where the option to disable spelling checking is in FF? I think Edit>Preferences contains all of the settable options.

View 3 Replies View Related







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