Software :: GNU Screen Doesn't Start Shells As A Login Shell?
Mar 22, 2010
I want to have an ls' output colorization in gnu screen. Colorization in my system (Slackware 13) is realized by aliasing of ls in /etc/profile.d/coreutils-dircolors.sh:
Code:
$ alias ls
alias ls='/bin/ls $LS_OPTIONS'
where $LS_OPTIONS is
Code:
$ echo $LS_OPTIONS
-F -T 0 --color=auto
But in screen this alias isn't defined. It seems like /etc/profile script isn't executed at shell starting in screen. I think it happens because screen starts a shell not as a login shell. I tried to correct it by adding to ~/.screenrc or to /etc/screenrc. The problem is the same. By the way when I start screen as a root I haven't this problem. What's wrong?
View 3 Replies
ADVERTISEMENT
Jun 6, 2010
Let's say that I have a customized Bash prompt stored as a PS1 variable. My variable gets read every time I invoke a login shell, i.e., when logging in in one of the standard virtual terminal or by invoking xterm with the -ls parameter.
However, when I just invoke the terminal without specifying that it is a login shell, I just get something like: bash-XXX$ as a prompt.
where should I place my PS1 variable so that it could get read even on non-login shells?
View 7 Replies
View Related
Apr 22, 2010
I am having trouble distinguishing between login and interactive shells as they relate to terminals. I understand that a login shell is what is started when you login, and an interactive shell is used by scripts and such. I also get that terminals will use an interactive shell by default. What I don't understand is why interactive shells have no prompt by default. Is their a way to get an interactive shell to inherit the normal PS1 prompt? Is it considered bad to do this? Would it be better to have terminals start login shells, and if so why or why not?
View 7 Replies
View Related
Mar 24, 2011
Does anyone know of any free services offering debian or ubuntu shells? I want to run IRC remotely with screen, but free services only seem to offer unix shells. I'm not really bothered by that but I feel more comfortable on ubuntu.
View 2 Replies
View Related
Sep 29, 2009
I upgraded from fedora 6 to fc10 using a net-inst iso. Everything went great however when I rebooted gnome wouldn't start up and there were other error messages, however thats not my current question. I figured id login as root, I put my pw in and the screen briefly flashes and then back to login prompt. The flash is a message saying something about no shell. Same occurs when trying to logon to my main user account. I can boot to single user and see that all my partitions are there and the data is there. My password file has the shell at the end of the entries.
View 1 Replies
View Related
Jul 30, 2011
When I boot my Fedora 15 installation it shows me the blue screen with progress indicator, however I do not reach the login screen.Instead I see the textual shell where the last item is:Started Display Manager.It looks like my monitors are not detected anymore. I have been working with them though (this appeared after a restart). I am not sure how I determined it but I read in some log that no display was detected. Nothing changed to the hardware set up however.I see some suggestions to run system-config-display as root.However this command can not be found nor can it be found when I run yum install system-config-display.
View 1 Replies
View Related
Mar 16, 2011
I have dell d630- 64bit version So i upgraded to the latest alpha and my system gets stuck at: as far as "Checking battery state" and hangs, i can login to the separate console and run startx but then no window manager is comming up so again, another ubuntu upgrade and another failure
View 2 Replies
View Related
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
Sep 5, 2010
I installed avant-window-navigator and followed these instructions to remove gnome-panel from startup: URL...However I have since uninstalled AWN and now cannot get gnome-panel to load at startup.I think I have put my settings back where they should be -- looking at them in gconf-editor:
1. desktop > gnome > session, the required_components_list is [windowmanager,filemanager,panel]
2. desktop > gnome > session > required_components_list, the panel value is "gnome-panel"
Yet gnome-panel does not load at startup. Any ideas why?Clarification: I can get gnome-panel to load by listing it under Startup Applications, but I am curious why it won't load via the gconf settings.
View 9 Replies
View Related
Mar 24, 2010
why my ubuntu 9.04 doesn't start in a full screen , it starts with low resolution , i have to press the button with two screens (i don't know what it's called ) on the keyboard so it comes back to normal .
laptop : dell latitude e5500
os : ubuntu jaunty 9.04
View 1 Replies
View Related
Mar 24, 2011
Since yesterday, Ubuntu boots into X-Windows. The violett background is there and also the mouse cursor. However, there is no login window, anymore. There is no possibility to login.I already tried something, but so far I was not succesful. I reinstalled plymouth, ureadahead and gdm. There could be a reason why my system does not work anymore. Yesterday, my root directory filled up to only 50MB free space. Now there is again 5GB.
View 2 Replies
View Related
Jan 4, 2010
I've just installed a fresh Ubuntu 9.10 (I'm using Windows 7), after completing the installation, may laptop rebooted but following the white icon of Ubuntu were the 2 lines "Ubuntu 9.10 computername tty1 ...etc" appears and I could not login due to flickering.
My laptop is T500 Lenovo with ATI Radeon HD3650.
View 1 Replies
View Related
May 7, 2011
i am using ubuntu 11.04 in my AMD machine, I have scheduled some torrent and wget downloads using crontab and sleep commands respectively. Since the download starts at 2 AM i used to leave my system ON. I would like to know if the download will automatically start from the login screen itself.(That is suppose i switch ON the system at 2 AM and never bother to login to my account.)
View 5 Replies
View Related
Dec 11, 2009
I am using the sudo command to log on locally as another user by the following command:
sudo -u theotheruser -s
or
sudo -u theotheruser sh
As I see it, this initiates a new shell with the mentioned other user.However, this doesn't load that users profile from his home directory.Is there a way to automatically read the users profile when login in with selected command? I am mostely interested in getting a working prompt when logged in.
View 11 Replies
View Related
Oct 21, 2010
I upgraded kubuntu from lucid(10.04) to Meerkat(10.10). problem is login screen doesnt show up on boot. A black screen shows, Ctrl-Alt-F1 doesnt show the tty1. Ctrl-Alt-Backspace doesnt work either, neither does Ctrl-Alt-Del.
I switch off the computer and reboot into recovery mode, I get the graphical recovery menu, on choosing boot normally, I get the tty1 login prompt.
Upon logging, I check /var/log/Xorg.0.log.old. There is no error, nvidia 260.xx driver is loaded successfully and all other modules are loaded as well.
I have done 'apt-get update' to see if there is any update in repository but there isnt.
View 2 Replies
View Related
Oct 6, 2015
Today I upgraded my system to the Nvidia driver 340.93 and 4.2.0-1 kernel on Debian Stretch.
While I wait for the gnome login screen to pop up I get the "Oh no something has gone wrong" message.
When I log in from another terminal and execute startx , gnome initiates and starts although settings like my resolution and other xserver settings are not loaded.
From the journalctl I believe the error is located in the following section:
Code: Select allOct 06 14:23:17 DEBIAN-PC org.a11y.atspi.Registry[1692]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Oct 06 14:23:17 DEBIAN-PC gnome-session[1680]: X Error of failed request: BadValue (integer parameter out of range for operation)
Oct 06 14:23:17 DEBIAN-PC gnome-session[1680]: Major opcode of failed request: 154 (GLX)
[Code] ....
I reinstalled the xorg-xserver and the nvidia drivers and I get the same behavior.
Looking for some info in order to reconfigure the gnome-session to work?
View 12 Replies
View Related
Jan 12, 2011
I am setting up a CentOS server that has no screen connected, and only has 2 Tesla cards. I have created a minimal xorg.conf and xinitrc file that doesn't load mouse or keyboard, and only creates two screens, one for each card at 320x200x24 bit. This is so I don't waste VRAM on a framebuffer I can't see.
I modified the xinitrc to just load tdm and nothing else as GNOME is a RAM hog. I am then using this setup to render stuff offscreen using OpenGL into FBOs which I read back to CPU and process. Currently for development I just run startx& when I login. I now want to know how to set x server to start automatically at boot. The CentOS docs say that it will try to load the GNOME login manager. The thing is that I don't want a login manager as it is useless as I login remotely via SSH.So:
1 - how to enable automatic x server in CentOS (im used to Ubuntu so not sure how to do this on Red Hat variants)
2 - leave x server running without starting login manager
View 8 Replies
View Related
Apr 8, 2010
Got myself in a bit of a squeeze here. I was messing around with the Xorg install on my Fedora 12 system. I ended up reinstalling it. Now my mouse and keyboard work fine in single user mode / terminal. But if I try and boot to X they dont work at the login screen. HAL and udev are booting. Ive done a udevadm monitor test in single user mode and its seeing the devices connect and disconnect. Ive also tried both USB and PS2 devices. Same issue. Ive tried playing with xorg.conf and generating it with Xorg -configure :1 I dont know to use to fix it. After banging my head against the wall for 20+ hours I decided it was time to ask for help. m just Lynxing around the web at the moment =X
View 2 Replies
View Related
Jul 25, 2010
My alienware laptop doesn't boot sometimes to the login screen. It doesn't move on from kubuntu screen (the one with the animated dots). This happens only sometimes. When this happens if I press the power button once,the dots start moving and machine shuts down. I also have a nvidia card and don't know if the bug has been sorted where it doesn't show proper resolution during the kubuntu dots screen.
View 7 Replies
View Related
Jan 5, 2011
afeter installing ubuntu studio 10.10 a black login screen after login it asking me to type a command i've typed '' startx '' but it does't work
View 2 Replies
View Related
May 22, 2010
Well, to start off my graphics card didn't work but I got that fixed.
When I start up and the login screen appears it no longer says my username and Other.. under it. It only displays Other.. I have to click that type in my username and then my password. When I log on the Auto Bug Reporting tool pops up and says 3 things crashed
I can't change my system time, shutdown or reboot under system or my username in the top right hand corner. I have to su and manually type reboot or shutdown to shutdown. It is like the computer is completely restricting me from using it.
When I try to get into my firewall an error comes up
I cannot mount anything:
View 6 Replies
View Related
Feb 9, 2010
As you know,whenever user turns the PC on,a beep sound is heard,then the bios starts,but recently this beep sound doesn,t come out of the case,and,so the bios does not start(nothing seen on the screen),then i have to hard reboot several times,and mostly,i have to shut down for some seconds to remove this problem,also sometimes this beep sound comes out but repeatedly for many times.
I am suspicious about the shut down button,because it,s a long time that this button usually is blinking.
-What is the reason for this problem?
-Is that related to hardware or software?
View 1 Replies
View Related
Feb 5, 2010
It happens like 50% of my Suse 11.2 startups, when I type in my password at login screen and hit enter, Gnome do not start, i can only see the green blank screen,or sometimes it start to show only my custom wallpaper and nothing more, when i try ctrl+alt+backspacex2 and login again everything seems to work fine, but what could be wrong ? is it a hardware issue ? Moreover, sometimes when I want to shutdown my laptop and click the shutdown button, suse do logout, but instead of turning off the laptop , it brings me to login screen, clicking the shutdown button at login screen makes my hdd lamp blink and thats all.
View 6 Replies
View Related
Jul 21, 2010
Got it on a CD and was using it as "Try Ubuntu" instead of installing it for good (I still wanted to see if there were memory issues or HDD issues with my desktop, before I installed it for good).Anyway, I would shut down the pc after about 2 or 3 days and redo the CD install (try ubuntu option) again and add all the plugins etc.Kids used this for playing some games on friv or nickjr.The real issue - of late, when I try to start the PC and boot from the CD, I am getting a LOGIN screen instead of the regular option to install from CD or Try the Ubuntu.
View 9 Replies
View Related
Feb 24, 2010
I'm trying to fix this problem: [URL] I have a problem with fglrx driver since Catalyst 9.9. After installation and reboot I get only black screen when X tries to start and keyboard doesn't work however when I press power button then the system shuts down properly after a while. I have noticed this for the first time on Hardy after installing Catalyst 9.9 and since then I have the same problem on Karmic and Catalyst 9.10/9.11 as well. I don't understand the bold text, What is this X he's talking about?
View 7 Replies
View Related
Apr 12, 2011
My last setup (years ago) ran fluxbox so because it was familiar I installed it as a secondary to xfce right off the bat. I download a lot of different stuff because I like to try out all the apps I can find but somewhere I broke something. I can still run fluxbox fine, but nither the Xubuntu nor Xfce sessions will run now. Last thing I remember changing was pulse audio(removed it for an experiment I was trying with jack audio), not sure if it is connected but when I try to login to xfce the screen goes black, flickers a few times then it brings me back to the login screen.
I tried failsafe but everytime I do my monitor gives me a "frequency out of range" error. I tried purging and reinstalling xubuntu desktop and xfce settings but I am thinking its my xorg config. My laptop is a Toshiba satellite M305D-s4830 with ATI Radeon 3100 mobile graphics card and I am running Xubuntu 10.10. Unfortunately I also broke the screen, so right now I am stuck with an external monitor till I get a new one.
View 1 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
Apr 30, 2010
When i enable SELinux with YAST and then reboot the machine After rebooting everything goes ok ... but when the X login screen appears and i put my login, KDE or the X-Window manager system shows me a message similar to this: "Could not start D-BUS... " etc... and a button "Okey" ... then I pressed the button and the system goes back to the X Login Again ...
View 7 Replies
View Related
May 4, 2011
i got to this system called" awesome" and I can't get out The "login screen settings "doesn't work
View 1 Replies
View Related
Feb 25, 2011
The problem come after i kill the Xorg using the kill command,and the screen turns to black without anything so that i can do nothing. The problem goes on after reboot
View 5 Replies
View Related