Ubuntu :: Gnome-terminal Not A Login Shell / Why Is So?

Mar 3, 2011

I'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?

View 1 Replies


ADVERTISEMENT

OpenSUSE :: Gnome Terminal: How To Get The Bash Shell

Mar 17, 2010

i've finally got a NIX environment...yipee! Installed opensuse 11.2 in a dual boot with windoze with no problem whatsoever. unfortunately, my NIX skills are sadly dated or maybe things have changed or both. in any case, i have a rather trivial problem that i have not been able to figure out.

i go to gnome terminal to get to the bash shell, no problem except when i do things like cat, less and so on. the commands do what they do then when done the last line output is "some text" and "(END)" - at the completion of the command it does not return to the bash shell. i've tried ctrl-everything, enter, escape, actually all keystrokes i can think of to get back to the bash shell...no luck. man and docs have not been helpful or i simply missed the answer (i'm a little saturated at this point).the only thing i've been able to do to solve my dilema is close the terminal an start a new instance, not elegant but works.

View 8 Replies View Related

Ubuntu :: Starting Gnome Shell At Login?

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

OpenSUSE :: Gnome 3 - Shell Will Not Repaint After Login

Jul 12, 2011

I've been having some problems and was trying to diagnose them. My graphics were going wonky at the BIOS stage (spots, letters changing colour, and even the very first screen of nVidia details swapping "version" for "versikn") so I went to try a new graphics card. Not long before I got my new graphics card, Gnome 3 really started playing up and did the "oops, a problem occurred" at every login. I created a new account and got the same behaviour. I swapped my GeForce 7950 out for a GeForce 7300 that I scrounged up. The spots and changing letters disappeared, so I knew that at least part of the issue was the graphics and not something else (e.g. motherboard or memory). I still got the "Ooops" screen, so I knew that wasn't caused by a bad response from the graphics card or anything.

I've since nuked the install (which started out as 11.4 RC1 with GNOME3:STABLE) and re-installed from a new download of the 11.4 DVD plus GNOME3:STABLE (in accordance with these instructions) with all of the updates. I can now log in without the "Ooops", but if I am using the proprietary nVidia drivers then the display won't repaint after a few seconds (long enough for Gnome Do to appear, but not long long enough for me to do anything else) - clicking on Activities or on the menu in the top-right doesn't seem to do anything. If I Ctrl+Alt+F1 then Ctrl+Alt+F7 to skip to a terminal and back then the cursor is still there, but the screen is blank.

If I swap to the Nouveau drivers then I can log in to Gnome Shell and it continues to render, but even simple things like dialogs folding down from the top of their parent window can grind along and take a few seconds to finish painting. That is on the 7300 rather than the 7950, but I haven't swapped the cards back as I'm still suspicious of how healthy the 7950 is. I've not seen anything that appears relevant in the XOrg log, but given that X will reboot and isn't completely hung then it could be a repaint bug more than an error. I've tried all of this with clean accounts with the same results, so it wouldn't seem to be any of the standard .gconf/.dconf etc folders.

View 2 Replies View Related

Ubuntu :: Login Into Terminal Instead Of Gnome?

Jun 21, 2010

how can I login into terminal istead of gnome? will I be then able to log into terminal by typing startx?

View 6 Replies View Related

CentOS 5 Server :: FreeNX - Cannot Get Shell Prompt In GNOME Terminal Window

Jun 9, 2010

I've created a brand new CentOS 5.4 (Final) 64bit machine AMI on Amazon EC2. This was based off an existing image. I was able to follow the wiki to add NX server. I am using WIN XP desktop for NX client.

I can connect to the EC2 machine and get the GNOME desktop fine. I see the usual CentOS desktop and poke around.

Q/Problem:

I expected to open the Terminal window and get a shell prompt to su into root user (I need to be root to install some software that needs GUI). I do not want to install this from my plain SSH connection to EC2 (hence the NX server etc.).

When I open the Terminal window, all I get is the NX>105 prompt. I need to get to a shell prompt so I can su into root. For life of me, I cannot get around this prompt (I looked at NX documentation too). Note that this is a prompt NOT on client but on the remote machine. I do not need this as I'm already authenticated and logged in to remote GNOME desktop.

Obviously the TERMINAL is running some NX start up script (I've no idea which one). If there is some other way to sudo into root?

View 14 Replies View Related

OpenSUSE Install :: Using Gnome-Shell Leads To CLI Login?

Mar 14, 2011

I installed 11.3 last week and eventually got nvidia drivers working. I was quite happy how most things were progressing, then the temptation to upgrade to 11.4 got too much I upgraded today (online, not dvd) and everything went well. On rebooting the desktop came up as normal and all was good. I installed nvidia and got that working ok. I then installed Gnome-Shell and couldn't figure out how to get it working. I've been using Fedora recently and the Gnome-Shell option is available at Login. I then discovered the gnome-shell --replace terminal command and I tried it. It seemed to load ok, but as I had used the terminal, when I closed the terminal it seems like compiz crashed. I lost all windows borders and nothing was usable. I REISUB'd and started again. On reboot I got a CLI login prompt. After logging in I tried startx, to no avail. I then tried gdm start and got to the desktop again (not gnome-shell). I Alt+F2'd and ran gnome-shell --replace again and all was good - except no network I rebooted again, and got the CLI again. Went through it all again and tried to configure network (wireless) no good. I then connected an ethernet cable and tried again. That worked, but I'm not sure why - I didn't think anything was downloaded. Anyway wireless now works ok - even on reboot. However I'm still getting dumped to the CLI login on restarts.

View 9 Replies View Related

Fedora Hardware :: 15 Nvidia GeForce Go 7400 Gnome 3 Shell Hang On Login

Jul 12, 2011

I've seen a lot of posts related to problems with GNOME 3 shell and nvidia drivers but I have yet to find anything that seems to fix my problem. At this point, the laptop, a Dell D850, boots just fine all the way to the gdm login screen. When I log in, the background and menus initialize and the mouse can be moved around, but nothing works---I can't click on anything, Alt-F1 does nothing, and I have to switch to a VT and shut-down X. I've uninstalled all things nvidia and now I have a working laptop, so long as I use Classic with Compiz.

I upgraded two other hosts, but both had ATI graphics cards; they worked without a hitch. I'm regretting having decided to upgrade this laptop

View 2 Replies View Related

Fedora :: Opening Gnome-terminal - To Be Performed Only At Login

Jan 17, 2011

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?

View 8 Replies View Related

Ubuntu :: Gnome-terminal In Startup Programs Doesn't Start At Login?

Mar 16, 2010

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 Related

Fedora :: Unable To Reset Using Either The Reset Option In Gnome Shell Or The Command Using A Terminal?

Jun 3, 2011

I'm unable to reset using either the reset option in gnome shell or the command using a terminal. When I select it the shell exits and displays the graphic "exploding" and then it just sits there. Shutdown works fine; just no reset. Any ideas? I've installed from the DVD. I booted the live CD and it resets just fine so I know it's no my hardware

View 1 Replies View Related

Ubuntu :: Switch Desktop Shell From Unity To Gnome-shell?

Apr 14, 2011

Is there any way I can switch my desktop shell from unity to, say, gnome-shell? I can switch using other console shell I like (bash, csh, fish, etc.). Assume that there is a stable alternative desktop shell, I should be able to choose, too.

(For console shell, we goes to /etc/passwd. But for desktop, I can't find the way to config.)

View 2 Replies View Related

General :: Difference Between A Login Terminal & Non-login Terminal?

Jan 17, 2011

difference 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 ?

View 6 Replies View Related

Fedora Installation :: F13 To F14 No Shell At Login / After Upgrading Cant Login On User?

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

Ubuntu :: Bash Broken, Lost Functionality In Terminal (gnome-terminal)?

Dec 10, 2010

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!

View 9 Replies View Related

Ubuntu :: Can't Turn On Terminal Bell In Gnome-terminal Using Remote Screen Session With Irssi

Nov 6, 2010

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.

View 2 Replies View Related

Fedora Hardware :: Wiki Page On GNOME Or List Which Graphics Cards Work On 15 With GNOME Shell?

May 26, 2011

is there some wiki page on GNOME or Fedora that list which graphics cards work without problems on Fedora 15 with GNOME Shell? I have tried 3 older cards and they all failed, so I would like to share this info with others so people know which cards to avoid if they want to use full features of GNOME 3 via GNOME Shell.

View 1 Replies View Related

Ubuntu :: Gnome 3 Vs Gnome Shell Vs Unity?

Apr 28, 2011

Please excuse my ignorance, but I need to get it straight. I've been reading and trying to find out more about these three new desktop environments, but still am rather confused. I have had Unity on my netbook for a couple of months now and know it inside out (more or less by now). The problem is: what is the main difference between Gnome 3 and Gnome Shell?

To my understanding Gnome 3 will be a continuation of the panelled Gnome we are so used to? But then I read the panels will be gone forever, so I'm confused again Gnome Shell is somewhat similar-looking to Unity, but I haven't had a chance to try it properly yet.

View 5 Replies View Related

Debian Multimedia :: Gnome-terminal Does Not Read Terminal Sizes From Gconf

Jan 24, 2011

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 Related

General :: Terminal Emulator For GNOME With Display Features Like Mac OS X Terminal?

Mar 5, 2011

Is 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 Related

General :: Diffrence Between Login And Non Login Shell?

Feb 17, 2010

diffrence between login and non login shell. What does it mean by user enviorment.

View 3 Replies View Related

Ubuntu :: X-terminal-emulator Vs Gnome-terminal?

Jul 21, 2010

Are 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 Related

General :: System-auth Configuration \ Can't Login And/or Can't Login In The GUI Interface And A Terminal?

Apr 20, 2010

I'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]....

View 2 Replies View Related

General :: Determine What Gnome Desktop Number A Gnome Terminal Is Connected To?

Apr 29, 2010

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?

View 1 Replies View Related

Ubuntu :: Splash To Terminal Login To GUI Login

Jan 10, 2011

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 Related

Debian Multimedia :: Xcompmgr 'master' - Rounded Window Borders Don't Draw And Redraw Properly When Using The Terminal (gnome-terminal And The LXDE And Xfce Ones)

Aug 26, 2011

I 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.

View 3 Replies View Related

Ubuntu :: 9.10 - Login On GNOME Or GNOME Fail Safe Mode

Mar 12, 2010

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 Related

Red Hat :: Gnome-terminal Starts Automatically On Gnome Logon?

May 30, 2010

I'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

View 4 Replies View Related

Ubuntu Security :: Bad Login Protocols - Graphical Login For Gnome Sizes Itself To Accommodate A User's Exact Password Length

Dec 14, 2010

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.

View 9 Replies View Related

OpenSUSE Install :: Can't Login - Gnome - Background And The Login Box In The Middle Of The Page Just Turns Whole White And Keeps Flashing

Jun 23, 2011

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 Related







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