"When first starting, the shell inspects argument 0, and if it begins with a dash '-', the shell is also considered a login shell" - from the dash man page. Could someone please explain this to me in a way that I actually understand?
I just installed GS following the instructions here:[URL]... and the classic way of getting GS to start at login (adding gnome-shell --replace in start up applications) doesnt work.
To start GS now we have to use the command "~/gnome-shell/source/gnome-shell/src/gnome-shell --replace" via the terminal adding that to start up doesnt work either, does anyone know how to get GS to start at login?
when I try to enter an escape sequence in the interactive mode of dash, it keeps on spewing out the <ESC> character as ^[ displayed in plain text instead of catching it as a control character. I vaguely remember encountering this on some UNIX shell but for the life of me I can't find anything on it. So how do I properly enter escape sequences in dash's interactive mode? (it supposedly supports vi line edit mode but I can't access it at all because of the ESC situation)It's not a make-or-break thing.
I am trying to fix a perl script, and I really suck at perl. But I think this problem will be easy for people who know it.
The problem is, I have an old setup script someone wrote many years ago. It fails if the standard shell is dash and not bash. The only way I've gotten it to work is to point /bin/sh to bash. I looked thru the script and it uses "system" many places, and I think that's the problem.
I searched for it and found this link:url
My plan is to include this function:
Code: sub system_bash { my @args = ( "bash", "-c", shift ); system(@args); } Then I could simply change all calls to system into system_bash and it should work?
The parameter to the system calls is usually some variable. What if the parameter is a list already? Do I need to test for it somehow, and if it's a list, prepend "bash" and "-c" to the list? How do I do that?
In the script there are lots of places like this:
my $error = system($cmd); if ($error) { die/warn "some error message"; }
Shouldn't there be a return in the system_bash function?
I recently "upgraded" to the latest skype and now every time I open an interactive root shell, up pops skype. I can close skype then control-C in the terminal window to get the shell I want, but this is annoying to say the least. Maybe my google-foo is off, but all I can find is articles on how to run skype as root, which is no use. I've tried searching the startup files for "skype" (case independant), but so far all I can find is "LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu/ /usr/bin/skype" in the root .bashrc which shouldn't be starting the app.
When I use gnome (3), I find I have hundreds of strange icons in my dash, in addition to the applications that are actually there, which don't seem to actually do anything...
I'm using debian jessie, gnome version 3.14.
See the attached screenshot for what I mean by this...
i was attempting to "speed up boot time" by using the "dash" shell instead of "bash"there is a post on here which describes this.i installed the scripts and uhhhh....rebootednow it seems that i kinda sorta forgot to install "dash" before reboot and now ihave no system shell.no root user accessonly my regular user works, kinda...it seems that i cannot edit anything eitherit won't do any temp dataso with mc i cannot save any edited files.....prompt looks like thismichael@(none):i am hoping i just need to install dash....but with limited power at the command prompt this may be interesting.
I need to start a (bash) script in XFCE or GNOME so that, by double clicking its icon, it opens in a new shell window where it can be stopped with ctrl+c. As it is, when I start it, it runs in background (does not open window), so I need to manually start terminal and kill process. Also I don't see the output and that is important.
I've been recently interested in shell scripts.. and my friend wants me to create a script that allows you to ping.Ive been trying to find info about how i could set this up but found nothing..also all i really need to create a shell script is the note pad and set it as a .bat file?? or do i need a program to make a shell?
yesterday I updated my fedora 13 to fedora 14 (on laptop) and today i cannot log in on user. It just go blank for a sec and is back to login.
At text console (alt+ctr+f2/f3) i enter my username and pass it give this for a sec and resets (clean) console username: Name password: last used: [date] login: no shell permission denied
i used unetbootin (fedora 14 netinstall to update) and later i updated 1,5G before reboot (did update that fix, forgot its name tho :s)
I would most likely reinstall everything, but i have some work at laptop and as death-line is near, i would prefer to fix it if possible.
edited: i have installed F13 on unused space, is there a way for me to access and fix it? or at least get some files from there?
I tried using cron to start rtorrent. But I couldnt start it successfully. My crontab looks like this.
Code: # m h dom mon dow command 40 22 17 11 * rtorrent My cron is running properly. How could I start a new shell , so that rtorrent could run using cron.
I've recently installed F14 on my netbook. All went well. I've installed Screenlets, and they run well. Unfortunately I have to reload all the widgets I have running on startup to make them show.
I believe the problem is the order the Screenlets are loading. Is there a way for me to restrain the Screenlets from loading until Compiz has been loaded? I've added the widgets I want to load to the gnome session startup script using gnome-session-properties, but no luck in ordering the timing they load. I seem to remember in older Fedora releases you could change the load order. Anyway no luck there.
Next I created a bash script with a sleep delay to load the widgets. I added the script to gnome-session-properties, still no luck. The only way I can get the widgets to show is to manually reload them once the desktop/Compiz has loaded.
Im logging into a server through SFTP by going to places->Connect to Server, that way I can access my files easily through nautilus. When I login, it starts me in the root directory, but I want to start in my Home directory. Is there any way to have that my default starting location?
I installed linux system into a USB stick, but it never asks me to enter login password (i am the default user "root") when booting. I checked the settings in "User and Group" panel, and found everything there is OK. What additional settings should I make to this problem?
I had a question about starting scripts when my user logs into the system. The script is just a simple bash script that runs an infinite while loop that does a who | grep <USERNAME> and if it returns zero then executes a program and then exits the script. First I tried adding my script to the /etc/init.d dir but after login I could not find the script running anywhere using ps -ef and/or ps -aux. Then I tried adding the script into the /etc/init.d/rc*.d directories but also could not find it running. It wasn't until I decided to use the "Startup Applications" option in the "Control Center". So my question about that is, where does that application add those apps to so they start at login time? I could not find any "links", etc... for that script in any of those dirs?
Also, one other question. How do I create a user that I can use for SSH and su to if need be, but not have the option to login to that user at boot time. Before I created the other user, it would just automatically login to the my "everyday" user account, which is what I want. But now with the new user I get prompted to select which user I want to login in to.
nautilus starting up at login then spawning new instances till it runs out of memory. At one time I checked Startup Applications Preferences to Automatically remember running applications when logging out; I unchecked this thinking it was the problem; but it has not gone away; I have to kill nautilus, then the spawning will stop. Also I can not close nautilus; another instance will run; sometimes starting the spawn all over.
Hey all, I need help here! Whenever I boot up Fedora 13 my computer just decides to stop doing things right before the graphical login screen comes up. The system starts up properly, but after the "local" program starts, it goes to the fedora-colored blue screen right before the login screen usually comes up. I can still bring up consoles with ctrl alt f1/f2 and switch the tty screens. Whenever I try to start the X server using the X or Xorg command, it echoes the usual stuff and then the screen goes black. After that, nothing happens. I can get out of X by using the classic ctrl alt backspace method.
I haven't checked any X logs other than Xorg.0.log, but I'll post the others for any special failures soon.
I would like to know how to prevent the xfce4 from starting as well as the login window. I just want my tty7 just like my tty6. However I do want to be able to start xfce4.
Fedora 12 randomly crashes after a fresh install.Everything is left at its default during the installation except I install KDE and not Gnome.When I try to boot I hit esc at the splash screen to see where it hangs, but it never hangs at the same spot twice. Sometimes it hangs and sometimes it restarts. Its crashed everywhere from starting udev to the login screen.
I've been using kubuntu for the past year because I have the same problem with F10 and F11. I dual boot with Windows 7 for games.
System specs: Motherboard: MSI P45 Platinum Processor: Intel Core 2 Duo E8500 Video Card: Radeon HD4850 Memory: 4GB (2x2GB) Patriot HDD: Main: 250GB SATA Western Digital code....
Hello.I am using Opensuse 11.1 (just installed),gnome-based .My problem is,I can only login as root,cos the tty's attached to my normal user(non-privileged)keep crashing(I checked this with last).Is there any way I can fix this?I reinstalled several times,nothing to do.
I work with a text mode debian6.0 and when I was testing some commands, I changed default shell to ash. System replied that it has not ash shell.so I thought the shell did not change. But when I start the system again and enter root password, I see a message like "can not execute ash. No such file or directory" and then system return to login page again. Root is the only user on that system.