Ubuntu :: Login Into Terminal Instead Of Gnome?
Jun 21, 2010how can I login into terminal istead of gnome? will I be then able to log into terminal by typing startx?
View 6 Replieshow can I login into terminal istead of gnome? will I be then able to log into terminal by typing startx?
View 6 RepliesI've seen lots of posts all over the Internet that advise users to check the "Run command as a login shell" checkbox in GNOME Terminal under Edit->Profile Preferences->Title and Command.
This makes gnome-terminal run bash/csh/tcsh/ksh as a login shell, which it does not do by default. In turn, running gnome-terminal as a login shell sources the system and user login scripts. This sets up things like colored ls etc.
It seems like gnome-terminal should be a login shell by default. Why isn't it? I've never seen a good explanation of why gnome-terminal isn't a login shell. The "Run command as a login shell" checkbox must be unchecked by default for some good reason, right?
I have a 'special script' in my .bashrc file, which I want to be performed only at Login. When I open a terminal (through a gnome launcher <gnome-terminal> as the command) it unfortunately sources .bashrc.
Hence the opening of the terminal runs the 'special script' again.
How can I instruct .bashrc not to do something except when and only when I am logging in? I found a segment of code which is supposed to do what I want but I am not sure of how it works.
Code:
Will this work to put my 'special script' in to ensure that it only runs when it is a login script and not when it is a simple launcher terminal opening?
Every time I start Ubuntu, I set up an ssh session to a server. In order to automate this I made an entry in startup programs like this:/usr/bin/gnome-terminal -e '/usr/bin/ssh name@server.com'Nothing happens when I log in, and I've checked that the command works.
View 2 Replies View Relateddifference b/w a login shell and a non-login shell ?
I know that when we use su - <username> we are getting a login shell & when we use su <user-name> we are getting a non-login shell.
Do we get any additional privileges when we have a login shell compared to a non-login shell ?
Linux-goers. I did some research on this, but I am still fairly new to Linux. In Ubuntu 10.10 (Maverick), I accidentally overwrote my "/bin/bash" file. Dude, using "sudo" with a small typo can work disasters. Bash is now broken in the Terminal (gnome-terminal). Terminal itself still works fine, technically, but bash is still hosed/broken. Here is what I did to try to fix it: Booted from Ubuntu 10.10 live CD. Mounted my Ubuntu partition and manually copied the good/fresh "bash" file onto my hard drive. Verified copy was successful. Didn't help, as you see. Reinstalled "gnome-terminal" using synaptic package manager. Tried to reinstall bash via synaptic, it failed with error, "E: /var/cache/apt/archives/bash_4.1-2ubuntu4_i386.deb: subprocess new pre-removal script returned error exit status 2"
In Terminal, all basic commands work as far as I can tell. ("ls", "pwd", navigation, etc.) Here are some problems:My "username@computername" does not display in the prompt; only the $ sign. Bash keyboard shortcuts such as uparrow and tab do not work. Instead, each inserts a key code. I can't even move the cursor left/right. Aliases (a function of bash and .bashrc) are broken, of course. My sanity level decreases when I use Terminal now. For what it's worth, even with "sudo" I get a "permission denied" error when trying to run Google Chrome! I read something about a ".bashrc" file being a possible problem, but I don't know how to make it work, or the file's proper locations in Ubuntu 10.10. Is there something I can do with a "make" or "apt-get install" command or something?? Could this simply be a permissions problem? Is the link to "/bin/bash", "/bin/sh", or a ".bashrc" file broken? Guide me, oh Linux gurus.
P.S. I always wondered what exactly bash was and how it was different from the basic terminal. LoL, this is an excellent way to demonstrate the difference, and I WANT IT BACK!
I'm using 10.04, and gnome-terminal GNOME Terminal 2.30.2 . I have irssi running on screen session on remote host. And I've been struggling for quite many days to configure it to produce either visual feedback or ring terminal's bell when I receive a private message or one of those that are highlighted.
My compiz settings window in General tab has 'Audible bell' checked.
My GNOME terminal has 'Terminal bell' checked.
I also added 'set bell-style audible' to my ~/.inputrc
And I also tried to manually load pcspkr module into my kernel.
No of the above helped or at least I haven't been able to notice any difference.
I also used some commands for irssi to produce bell sign.
gnome-terminal from the Debian squeeze does not use the 'default_size_columns' and 'default_size_rows' from the /apps/gnome-terminal/profiles/Default/ folder of gconf.
View 6 Replies View RelatedIs there a terminal emulator which works well in an Ubuntu desktop and provides the following features which Mac OS X's Terminal application has? Re-wrapping text when the window is resized.A Clear command which clears scrollback (as the shell clear does not) and does not clear the cursor's line (typically containing a prompt).
View 2 Replies View RelatedAre x-terminal-emulator and gnome-terminal different in any way? I noticed when I when I put those commands in my terminal they both opened the gnome-terminal.
View 4 Replies View RelatedI'm hoping someone can help me out.I made configurations changes to/etc/pam.d/system-auth and /etc/pam.d/login. When these files are configured the way they are, I can't login and/or I can't login in the GUI interface and a terminal. Contents of /etc/pam.d/login
Code:
#%PAM-1.0
#line added per security guide
[code]....
In KDE's Konsole, I can do the following from the terminal:
dcop kwin KWinInterface currentDesktop
And it will tell me which desktop my terminal is connected to ( per [URL])
How can I determine what desktop number the current gnome terminal in a gnome session is connected to?
I recently did a fresh install of Ubuntu 10.10 64-bit. After installing the ATI drivers, I had to tweak GRUB to get the nice splash screen back during boot. Then, I installed drivers for my TV Tuner (Hauppauge 2250). The card works fine. However, my boot now goes splash screen to a terminal login for around 10 sec where system messages also show up to the GUI Login screen. I was wondering if there was anyway to return to a normal boot.
View 3 Replies View RelatedI find xcompmgr more than adequate for making a desktop look pretty modern, and I don't like the more extravagentCompiz gimmicks - but there is one thing that irritates when using xcompmgr which someone here might have worked round.
Rounded window borders don't draw and redraw properly when using the Terminal (gnome-terminal and the LXDE and Xfce ones) or system monitor and moving them from their default place. You get this little white botch at the corners. I'm not massively technical and I'm ambivalent about how much more I want to learn as I have plenty of creative outlets already, but I would like to solve this. Somehow xcompmgr is treating these programs as a different class? It's capable of drawing the window borders properly as it is just these two programs that get botched. Possibly this doesn't get noticed as maybe people usually use xcompmgr with openbox and LXDE and their square window borders. I did do a search but there was nothing matching what I saw.
I have installed Ubuntu 9.10 on my Dell GX240. I have severe difficulty logging in. If I try to login on GNOME or GNOME fail safe mode , I just cant get in . I keep getting the login screen again. I am able to go into terminal mode. Sometimes I have to try upto 100 times to login in GNOME or failsafe mode. Once I am in everything is fine. Is there a way to do some troublshooting? Also transfer to USB sticks is very slow - sometimes as slow as 1MB per min. Is this normal with Ubuntu?
View 3 Replies View RelatedI'm running CentOS 5.4 on i386 machine with 2.6.18-194.3.1.el5Whenever I login into Gnome, a gnome-termial window comes up. Instantly title says root@localhost before settling with user@localhost with current directory as ~/Downloads. Only happens with my particular user account (normal user), not with root as I tried. I also have KDE, Xfce, Fluxbox as other option at login, but terminal only shows up when I log into Gnome (not kde, xfce or fluxbox)I've done and
1. cronetab -e
Nothing there.
2. Don't have ~/.xinitrc ~/.session
3. Nothing in ~/.bashrc or ~/.bash_profile
4. Nothing in /etc/rc.local
I'm seeing really bad user login format under a standard installation and am wondering why ubuntu does this as default. I have noticed that the graphical login for gnome sizes itself to accommodate a user's exact password length. This indicates to me that somewhere on the unencrypted part of a standard installation with user encryption contains at least some indication of the content of the password length which seems a security flaw even if not a complete hole, it majorly reduces the number of attempts a cracker would have to cycle through.
And that's assuming that *only* the length is contained. Furthermore it seems that it would be MUCH better to simply display the number of characters entered into the pw field and allowing the gui to expand itself from an fixed size as the field is filled out so the the user still receives visual feedback for entering characters. Either a simple character count display should be entered into the field or a 10 dot to new line so that one can visually quickly count the number enter by multiplying from a 10base graphical observation.
when I get into the login page, I can only see the background and the login box in the middle of the page just turns whole white and keeps flashing. no response for any clicks. I was force to ctrl+alt+F1 to switch to init 1 to do my work. But I still want to use my graphical desktop either KDE or Gnome is ok. I am using gnome.
View 5 Replies View RelatedI hear no login sound when I login to my ubuntu. I checked at startup applications and found GNOME login sound is enabled. The command used there is
Code:
/usr/bin/canberra-gtk-play --id="desktop-login" --description="GNOME Login"
.
Its not only this, but there is no other sounds enabled - for mouse clicks etc
After logging in, it goes straight to a terminal.
View 9 Replies View RelatedI want to log in via a terminal, like a tty, but I want the graphical interface to start right after login without any human interaction. I remember reading this somewhere, but cannot find where.
View 9 Replies View RelatedI don't even know where to start.I hit control-alt-f1 OR f2Neither bring up the log in. Just a black screen with a courser
View 9 Replies View RelatedI was on my netbook and I accidently ran Warsow, so I just clicked quit. After I clicked quit my netbook froze. I waited a good 5minutes or so, but nothing happened and I could do anything. I had no choice but to do a hard shutdown. After I turned the netbook back on everything seemed normal. It went to the login screen and everything, but after I click on my username and type in my password I just get a terminal in the top left portion of my screen.
View 5 Replies View RelatedI have been running 10.04 since the launch after upgrading from 9.10. Today when I logged in as normal, instead of taking me to the desktop I get a white console on the top left corner with the normal login background. I typed 'sudo X' but it says the server is already active for display 0. Please advise what I can do. I am reasonablyew to Linux so apologies if this has been discussed before (but I couldn't find any info here or on google).
View 3 Replies View RelatedI would like to change the color scheme used in gnome terminal based on what host I'm connected to via ssh. Is this possible? If not, can you suggest any other terminal that has this functionality?
View 1 Replies View RelatedI enabled auto-login on my netbook without considering that my /home partition is encrypted, so now I can't log in. Is there any way I can disable auto-login without using the GUI?EDIT:I was able to get around this by going to a TTY, logging in, then killing X and starting GDM again. Still, this is not acceptable. Subscribe to the bug here, if you agree with me.
View 1 Replies View RelatedI was wondering if you could log in as root at the login menu instead of the terminal?
View 2 Replies View RelatedI am aware of how to run scripts on startup, but I don't know how to do the following everytime ubuntu starts up:
1. automatically open a new terminal window (I know how to do this)
2. automatically run a specific script in that terminal (I want to leave this terminal open indefinitely)
I am new to Ubuntu and been trying to download some software not in the Software centre but when I go to terminal and I enter the command text I get prompted for my password ( it automatically has my login name) but the flashing cursor will not allow me to enter any text ,it just keeps on flashing but then it tells me I have entered incorrect password, What can be the problem ? The keys are not connecting with the terminal window it appears.
View 3 Replies View RelatedI have installed openbox on ubuntu 9.10 by this
Code:
https://help.ubuntu.com/community/Openbox
Code:
[code]....