Debian :: Starting Dash As A Login Shell?
Aug 22, 2010
"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?
View 1 Replies
ADVERTISEMENT
Nov 13, 2010
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?
View 6 Replies
View Related
Oct 21, 2010
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.
View 2 Replies
View Related
Jun 30, 2011
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?
View 8 Replies
View Related
Jan 20, 2015
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.
what could be causing this?
(Running Wheezy)
View 2 Replies
View Related
Mar 16, 2010
how do i stop eth0 from starting up when i boot/login ??
View 4 Replies
View Related
Mar 16, 2011
if i run /bin/dash at the command prompt I get the message /bin/dash: Bad substitution shown repeatedly until I kill the process
View 14 Replies
View Related
Nov 2, 2015
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...
View 3 Replies
View Related
Apr 23, 2010
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.
View 5 Replies
View Related
Jan 1, 2011
How can I start up my Ubuntu Linux in the shell? Then how could I make sure to also get back to gnome?
View 1 Replies
View Related
Jan 9, 2011
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.
View 7 Replies
View Related
Mar 28, 2010
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?
View 8 Replies
View Related
Jun 3, 2011
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?
View 1 Replies
View Related
Jun 9, 2011
When I type nautilus in shell and run, the nautilus doesn't start.
while I use Alt-F2 and then type nautilus, the nautilus start.
why?
View 4 Replies
View Related
Feb 17, 2010
diffrence between login and non login shell. What does it mean by user enviorment.
View 3 Replies
View Related
Nov 17, 2010
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.
View 2 Replies
View Related
Aug 30, 2009
However, "E233: cannot open display" error appears when starting gvim on ubuntu 8.04root shell.
E233: cannot open display Press ENTER or type command to continue # kdesudo gvim /etc/fstab kdesudo: cannot connect to X server.
View 5 Replies
View Related
Mar 13, 2011
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.
View 2 Replies
View Related
Aug 21, 2010
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?
View 1 Replies
View Related
Jan 19, 2011
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?
View 4 Replies
View Related
Dec 12, 2009
im using RHEL5.3 after installing 3 i am unable to login in GNU at the starting screen im using tata protan+ net on this.
View 14 Replies
View Related
Aug 26, 2011
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.
View 5 Replies
View Related
Aug 19, 2009
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.
View 9 Replies
View Related
Oct 3, 2010
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.
View 4 Replies
View Related
Sep 7, 2010
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.
View 1 Replies
View Related
Nov 22, 2009
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....
View 5 Replies
View Related
Jul 27, 2010
what is "login shell" and what is the difference between "login shell" and just "shell"?
View 2 Replies
View Related
May 20, 2009
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.
View 9 Replies
View Related
Jul 20, 2010
How to login as root in linux shell?
View 3 Replies
View Related
Jul 26, 2011
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.
View 11 Replies
View Related