and i have to type bash everytime to get it running. i found a bandaid fix by having it type bash at the "custom command" profile preference... but i still consider the problem to be unsolved, because i still have to manually type 'bash' whenever i log remotely (putty). it seems like something happened, and now bash is not loaded by the terminal by default like it should.
PS: i already tried 'cp /etc/skel/.bashrc ~./bashrc', and it didn't seem to do anything.
I am using Ubuntu 9.10, fairly fresh install. Had one hard reset since I installed it, which could be when the problem started. Also, I was messing a bit with profiles, switching their ID's and adding/deleting them (not sure if that would be the problem).
I have searched and searched and maybe I don't know how to articulate this issue with out just posting the problem I'm having. Every time I bring up a terminal window I get the following "Header"
To be honest I cheated and used the .bashrc / .profile files from Ubuntu and all was working fine for a while now and it seems something changed to cause this... any ideas on why I am getting this? I checked my .bashrc and my /etc/profile and it doesn't look like anything is amiss..
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.
I just installed VNCServer on my Ubuntu box. I've tested the connection on my Windows box and connect fine.If I were to restart Ubuntu, would the VNCServer start automatically? If not, how would I do this?
I'm moving a homebrew arcade cabinet I have in my sitting room over from Gentoo to Ubuntu. Gentoo's served me well for a couple of years, but it refuses to recognise a touchscreen I recently installed on the cab, so I thought I'd give Ubuntu a try.
There is very little space on the SATA DOM inside the board in the cab, so I try and put as little OS on there as possible. To that end, I installed the minimal iso, and then apt-got X. I manually configured xorg.conf to make both monitors attached to the cab work, and I can enter X fine from the command line.
But what I need to do is have X start on powerup and automatically run my game. In Gentoo this is as simple as putting "xinit [GAME]" into /etc/init.d/local.start (the equivalent of rc.local). No login required, the prompt didn't even come up until I'd exited the game.
However, if I try and do this in Ubuntu, X can't find any devices, even though rc.local is at position 99. I've tried putting the lines in rc.local as well as manually update-rc.d-ing my own files, but no luck. X refuses to start until after the login.
So what seem to need is some way of automatically logging in as root on the command line, starting X, then running my game.
I have a couple apps that I cannot figure out how to prevent them from starting automatically upon logging in. They are NOT listed in my Startup Applications under preferences. For example, pidgin. Pidgin automatically starts at each login even though it is not in the startup apps nor can I find an option in pidgin itself. Tomboy is another. I always get an error that tomboy cannot be added to my panel when I restart. The error in the tomboy panel log is that tomboy is already running. Does ubuntu have a hidden "start up" folder like Windows does in the start menu? Where can I clear this file/folder?
Anyone know how to stop the pureftpd starting up automatically? I've tried the usual in /etc/init.d/pureftpd but it still starts and I need to log in and close it in the admin UI or in terminal.
I have posted this somewhere here before and solved it but can't seem to find it. Just waisted 50 minutes googling and checking man pages for upstart. By the way; are man pages written by someone using their tows to type and getting beaten by a stick for every character they type? It seems missing a lot of info. Anyway, I know smbd is started with /etc/init/smbd.conf and there is a line like:
Code: start on local-filesystems Now it needs to be started on? (manually) I can't seem to find any useful information but did seem to find the upstart man pages a hundred times or so (same info same missing parts). I would love to get involved writing documentation for these things if only I know what I was doing.
A server like Lighttpd or Apache starts automatically at boot after you install it. How do I stop it from auto starting? I'd prefer to manually start it when I need it.
i run opensuse 11.2 with kdebase4-4.3.5-0.1.1.x86_64 on a hp elitebook 8530w. when i start opensuse and the sound is initially turned off, it will be turned on while starting. if i turn it of manually (by pushing the appropriate button) it will be turned on again. I assume that there is a script like .bashrc for bash scripts which tells the system to turn on the sound. Does anyone knows whether there is such a script and if yes, where can i find it and edit it?
I recently upgraded to zenwalk 6.2 and xscreensaver now starts automatically so i have to input my password whenever i shut and reopen my laptop lid. how can i stop it from auto-starting.
Running openSuse 11.2-64 on a DualCore / 2Gb machine.I have 3 nfs shares described in my /etc/fstabAll three were mounted at boot time when I was connecting to the network through the wired interface (eth0).I need to use the wireless interface, and even if that interface is up and running well (I use ifup), the nfs client doesn't start... if just after boot I do a mount -a or simply a nfs start, everything comes up and runs well.This machine will not be used by myself, and the users cannot just jump into a command line and type nfs start or even mount -a (they would need su privileges...)I have disabled the eth0, killed the eth0 config (with yast) edited /etc/sysconfig/nfs and setted the NFS_START_SERVICE to yes to force the gssd and idmapd to always start even if there was no nfs entry in fstab, but nothing changed.
kde knetworkmanager is not starting on startup.i am starting this manually every time on login to connect to network..how to make it start automatically?
I am loading the file in Fortran. File looks something like this (shown below) I am interested in Velocity values and not Pressure values. Is there a way to code in Fortran which finds the staring LINE of Velocity values and ending LINE of values or I have to manually find the lines? IN this case it should return Starting line : 9 Ending line: 11
I'm trying to start Chrome in kiosk mode from a systemd service on boot. The 'webserver app' named 'xx' in the samples launches but chromium never comes up.
xx.service :
Code: Select all[Unit] Description=xx Service After=syslog.target
I'm working in Debian, and I've noticed that when I resize my PuTTY window, the console inside isn't resizing to the new dimentions, so things like nano are running at 80xwhatever instead of the more useful 130xsomething that I've offered it.
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?
I am administrating a lab in a university and every semester we need to delete all the home folders of the accounts for the next semester. I would like to make a bash script that does this automatically and having trouble with it. Note that I am writing my very first bash script. What I need to do is make a script to delete the following:
Delete everything in /home/$exp$num/$dir when "exp" could be either "rt", "ic" or "sp". "num" could run from 1(single digit) to 45 and dir is "profile" and "work".
This is what I tried to write:
Code:
#!/bin/sh cd /home for exp in "rt ic sp" do
[code]....
What seems to be the problem is the reading of "$exp$num" as a joint expression.
I have a system setup script for my Slackware installations that pulls all packages and source files from another machine and sets everything up to be identical between machines. The script works as expected but make it entirely unattended. How do I make the bash script deal with automatically selecting "Yes" for, for example "Install x(Yes/No): " when prompted by a make file?
I set up 11.4 in my laptopnd, after updating and downloading the proper firmwareeverytihing runs great. I already configured the wireless network via the standard NetworkManager but the connection never starts automatically. When I boot up it reports all the wireless connections available and also let me connect to hidden networks (mine is not broadcasting so I have to use this option). I had to reconfigure my network options the first time I selected Hidden Networks but it connects fine. Please note I had already selected the "Automatic connection" optionSo the only question is how I configure my equipment so it connects automatically to the already configured network
I have a set of bash scripts that I'm running that automatically build a set of packages for me and redirect their output into logs. Basically, I have a bunch of lines that are something like this: ${CONFIGURE_DIR}/configure &> ${LOG_DIR}/log or cd ${CONFIGURE_DIR} && make &> ${LOG_DIR}/log, etc.
This is supposed to make the entire process silent. However, sometimes with some packages some output leaks to my console (either stdout or stderr). I'm thinking that maybe the configure scripts/make are executing commands within new shell instances that don't inherit my redirect, or something to that effect.
Another reason for thinking this is that in another part of my script I detect errors when running make by testing with "if [ $? -ne 0 ]", and if the redirect leaks to my console and also the leaked output indicates that the build failed ("make: Error" and so on), then my $? test fails (i.e., it thinks that $? == 0, whereas a failed make should return a non-zero value). It's as if my original script can't "see" the results from child commands executed from later scripts.
this is probably something trivial but how can I auto start gdm on CentOS 5.4??I had to perform a text install due to Anaconda having some issues as I'm running Cent on Sun's VirtualBox.I have tried to add chkconfig --add gdm which didn't work, also there is no init.d script either for gdm so not sure if it's in a directory somewhere or if I have to create it manually??IF I run simply gdm from teh cli then everything is ok and starts fine....
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.
what to do for lock automatically slackware 13 if not used for n minutes ?What can i do to start automatically the ktorrent (a bittorrent program for linux) on system starts on slackware 13 ?