Ubuntu :: GDM Login/switch User Screen Blank - Autologin Works
Jan 5, 2011
I've run into a strange problem with GDM that I haven't managed to find a solution for yet, either by trying myself or googling, and I have run out of good ideas. I'll just infodump here about the problem and what I've tried etc;
I installed Ubuntu on a new PC a few weeks ago, setting it up with autologin for my mom and a separate user for myself, using the on/off-icon menu in the top-right corner to switch to my own user and back as needed, and logging the user out when done. This worked quite well.
However, a few days ago, this stopped working; logging out or trying to switch now leaves me with a blank black screen, without even a mouse pointer (but not off, the backlight is on).
EDIT: To clarify, this is an issue that only affects the GDM login screen, but that affects it whenever it is used, wether it is on boot (when not set to autologin), after logging out, or when trying to switch user.
At this point, I can usually use Ctrl-Alt-F1 to get a textmode login, and Ctrl-Alt-F7 to get back to the auto-logged in session (assuming I tried to switch, not logout).
I can't think of anything specific I did or installed around then that should be related in any way...
I tried disabling autologin and restarting gdm, which left me with the same black screen (which is still there after rebooting), instead of the expected login window. I managed to re-enable autologin by manually editing the /etc/gdm/custom.conf file, so that it would at least work for mom.
I've also tried to change which user is auto-logged in, thinking it might be a problem with my user account, but both users get an automatic session just fine when I restart gdm.
I thought it might be a problem with the video driver, but that's not the case - if I run zenity --info as root with DISPLAY set correctly, the dialog box appears on the screen just fine. It has no borders or titlebar (there's no windowmanager), and is apparently without keyboard focus, so since there's no visible mouse pointer I can't click the OK button... But since it appears, X is apparently up and running just fine, just has nothing to display other than a black background.
I tried purging and reinstalling gdm and gnome-session(-bin|-common), but that didn't help any.
Running ck-list-sessions after trying to switch indicates that there's a new session there, with session-type = 'LoginWindow', so it appears to think everything's fine.
Enabling debug output in the /etc/gdm/custom.conf file did get me some more debug output in the gdm logs, but it didn't really tell me anything, there weren't any obvious problems that I could see.
After some looking around, I've guessed that it's supposed to be running gdm-simple-greeter, which I assume would display a login box; trying to run it manually doesn't work though (it's missing some environment variables, and trying to add them based on the abovementioned debug output doesn't really help).
Code: # cat /etc/init/tty.conf # This service maintains a getty on the sepcified device.
stop on runlevel [016] respawn instance $TTY exec /sbin/mingetty $TTY exec /sbin/mingetty --autologin user tty1 when i use this conf I'm auto logged back in again , and cant't execute any command commenting pre-last line has no effect.
How to enable autologin on desired tty for certain user?
I installed Natty on it with the machine hooked up to a Samsung LCD with a 1680x1050 resolution over DVI. No problems at all. I want the box to pretty much output MP3s and web video, so I'm not needing much. When I take the box and hook it via DVI to my LCD, I get a blank screen on boot up. I try sticking the natty CD in it, and I get a blank screen trying to live boot it too. The LCD doesn't do 1680x1050, so I brought it back to my Samsung and set the default resolution to something nice and safe: 1280x1024. Still the same behavior. When I take splash mode off, I see a "load fallback graphics devices fail" error as it is booting up. Hard for me to think the driver is the fault here when it works on my over LCD just fine.
I am trying to load up the NVidia driver in Fedora 15 and am stuck. After boot up the graphical login screen comes up fine but when I go to log in I get an error message and it asks me to try to login again. I need to be able to get into text mode so I can edit some files but I do not know how to do this other that starting in multi-uder mode by editing /etc/inittab (or in FC15, editing some links in /etc/systemd/system/). Is there a way to get to text mode from the graphical loginscreen or do I need to get a rescue disk and startup in rescue mode to change files?
I have an Acer Aspire One AOA110 (SSD version that came w/ Linpus Lite) that my brother gave to me several months back when it stopped working. I've been trying various ways to revive it or make it useable, but haven't had any luck so I figure it's time to look to the community for ideas. I have already updated the BIOS to the latest (v3310) version, so I don't think it's the common issue these netbooks have where they don't even post. I'm kind of thinking the GPU died halfway or something. If I could just get it to work in a command line only mode, I'd be happy.
The netbook will post fine, but when I try to boot into Linux, the screen will go blank part way through the boot process. I don't ever remember hearing sound afterwards so I don't know if just the screen is blank or if the computer is locked up as well. I have tried several distros, but all of them seem to run into the same issue. Some with text based installers (Debian) get all the way through the install, but won't get all the way through the boot process. I'm only trying to get to a command line, not into X or anything graphical. Arch Linux also uses a text based installer, but I couldn't even get into the installer before the screen goes blank. I've tried changing some of the kernel options such as nomodeset, vesa and framebuffers options, but didn't have much luck with them either. I've also tried some older versions of Ubuntu (I think back to either 8.04 or 8.10) and tried the text installs, but I can't remember if I couldn't get into the installer or if I just couldn't boot, I want to say I couldn't even install. Mind you it's not random, it's always at the same point for a particular distro.
So the other small twist to this all is that FreeDOS works fine, besides not being able to get the sound card or network card working. I can play games, set different resolutions in ZSNES, etc. This seems a little odd to me, but I'm hoping it makes perfect sense to someone reading this.
I want to be able to run Linux with a command line interface, but I can't find the right distro/settings/whatever that it stays in the video mode (vesa?/framebuffer only?/I'm not even sure what to search for) where I keep the display and get to a command line. Any thoughts on what's happening when the screen goes blank or what I can do to get Linux working on here again?
When I mount Debian 8 live into VMWare Player 7.1.2 64bit, it works awesome with and without graphics acceleration enabled i.e I can get into the desktop and all that.
But, when I installed it, the reboot is just a blank screen. I am not sure how I can proceed from now.
I have just installed OpenSUSE 11.2 on an Intel DQ35JO motherboard and XFX 9500GT 512MB video card. After installation the desktop looked fine on the Sony LCD TV I have connected to the 9500GT via a DVI to HDMI cable.
After the first reboot after installation I added the Nvidia repository via the add community repository function in the software sources option in YaST2. I then proceeded to install the Nvidia G02 drivers and the nvidia-settings package. At this point after a reboot I would get a blank screen. Hitting ctrl-alt-F1/F2/F3/F4/F5/F6 has no effect, I could not get any of the virtual consoles to appear. I had to SSH into the box and reboot into runlevel 3.
Once I had rebooted into runlevel 3 I logged in as root and executed "sax2 -r -m 0=nvidia" and got an error message that the configuration server could not be started. I tried executing "sax2 -r -m 0=vesa" and received the same error:
I have a problem with Switch User on a newly installed Ubuntu 10.04 on Asus Eee 1101ha.When I try to use Switch User, I just get to the Lock Screen of the currently logged in user, where I'm asked to enter a password.There is also "Switch User" button on the Lock Screen - the screen gets black and then gets back to the same Lock Screen. Login Screen is not displayed.
I have dabbled with Linux in the past. Previously I have failed to get various important parts of my laptop to work under Ubuntu, but that one died, so I decided it was time to try again.
It seemed to work on the liveCD, so I went for the install, which also seemed to go ok, but when I start up, I get to log in, then it stops. Plays the start-up sound, displays a blank desktop background, but nothing else...
Login as myself, girlfriend wants to use her login to check something, all good.I switch back to myself, I get a black screen with just my cursor. Most annoying. I have to ctrl-alt-f1 to reboot. I've tried killing various process from the term, but nada. I've also tried uninstalling gnome-screensaver as was mentioned in another thread when I searched, but no joy there so far.
Using Karma and kubuntu -single boot. When I restarted my machine, the login appeared as usual and I entered my usual password but it was not accepted . I tried several times including making sure that caps lock / num lock etc were not invoked.
I then rebooted into recovery mode and let it run its course. When I rebooted and input my login password, I can get a bit further. The login is accepted but the GUI opens with a blank wallpaper and the terminal prompt window open at the keevill@keevill-desktop.
The ls command shows the name of the files which are on the desktop but they are not visible on the GUI nor are any other icons for applications. It seems like the kubuntu GUI is broken or something. I tried uninstall and then re-install but just the same. If I am forced to re-install Ubuntu I guess this means I lose all my settings and applications will have to be all installed again ?? How can I avoid this?
Right after logging in, as the graphics starts up the screen goes blank then goes to tty2 with a login prompt and no graphics at all. I have Kubuntu 10.04.1 I used the standard Kubuntu install disc. The Computer is a Compaq dm 220mt desktop 2.80 Ghz, 1.2 GB Ram, 40 GB Hard drive. I originally had Ubuntu 8.04 on it and it ran perfect. So I decided to do a fresh install of Kubuntu 10.04 and it worked great for a day or two, then this issue happens. I am able to log in tty and tried "sudo startx" in hope of getting my graphics back. I get the following errors "Fatal Server error No screens found" and "xinit no such file or directory (errno 2)" and unable to connect to server..
I just got rid of my Dell P990 CRT and replaced it with a Samsung B2330H LCD. I got the resolution changed to 1920x1080 at 60hz through System/Preferences/Monitors and the new display looks great! There is one problem, though: the computer boots into a resolution that is not supported by the new monitor. As a result, the login screen is blank. The monitor puts a little floating message on the screen that says, "Optimum Resolution is 1920x1080..." When I start up, I hear the "bongo sound" and I hit ENTER, then enter my password, then ENTER again, and the computer desktop appears in 1920x1080 and all is well. But how do I get the login screen to appear in 1920x1080?
This is Ubuntu 10.4, using the Intel onboard card. Here's the output of lspci:
Code:
I have installed the Startup Manager, but it does not allow 1920x1080 to be selected. I have also tried using Startup Manager to select other resolutions, but the login screen is still blank.
Isn't there some trick to force the login screen to appear in a specific resolution using xrandr? What file does this command go into? Maybe my old configuration files from my Dell monitor are interfering?
In our cluster of RedHat4 & 5 machines, if someone locks the computer and walks away no body can use it. Is there a feature in RedHat5, Gnome, KDE etc that would allow for the option of switching users at the lock screen, so more than one person can be logged in
I have windows 7 on my laptop (Dell Studio model). I have installed fedora 12 onto my machine in the unallocated space, the installation went smoothly. If I login to the fedora directly then every thing works fine. but if I login to Window 7 and again try to re-login into fedora 12 after shutting down the winows 7 then the booting screen will become black (almost invisible) even though I can be able to login and can go to the desktop (which is also very least visible) if i click on suspend and then click on the power button then the screen will become properly visible.
When she wants to log into xfce, there is only a blank screen. The cursor shows, but there is no way to go any further. No panel, buttons or background.
However, she is able to log in using XDMPC from a local computer without a problem.
There are the processes active under both settings.
Questions: What may have caused xfce not to load some modules on log in? How to fix it, to allow a normal login? How to prevent this problem in the future?
I just upgraded from 9.10 to 10.04 beta and now I get the login screen - but after logging in, all I get is a blank screen with a black bar on top showing just the time on the top right hand corner. If I CTRL+ALT+F1 and reboot using the command line, it restarts showing mythbuntu on shutdown. Im have nVidia GEForce 8600 - is this due the X crashing? I tried all these - no change
I installed Lucid Lynx on a medium-old system, Athlon 2200+ with an ATI video card. No problems during the install itself. The problem is that when I boot into the login screen, I get a bunch of blank boxes. If I move the mouse around, I can see various areas highlighted, but I can't actually see the menu options. I can type in my username and password to log in (not being able to see what I'm typing), but then the desktop panels are empty boxes - once again I can mouse over them to get empty drop down menus, but I can't see anything else.
I've had enough experience with Ubuntu in the past to do some troubleshooting myself. Usually I would just boot into a terminal, switch Xorg to use the vesa driver and go from there. However, a number of decisions in Lucid Lynx have made troubleshooting practically impossible.1 - No grub menu. No way for me to pick a safe boot option.2 - Install CD doesn't come with any rescue boot options.3 - Ctrl-Alt-Backspace to kill the X server and Ctrl-Alt-F1 to boot into a shell don't work.4 - the default filesystem is ext4, which means my old rescue CDs aren't likely to be of much help.Sigh. I understand that Ubuntu is trying to make things look pretty and all, but these user-friendly changes are making it near impossible to fix a problem like the one I have. I just downloaded a System Rescue Linux CD but it's kind of late to be trying it out now.
In 9.04 this worked. Log out and in 10 seconds a default user logs in if no keys are pressed. I need this in 10.04. This is great for my Mom's PC. When one of her grandchildren visits for the weekend they can log Mom out and use their ID, bookmarks games etc. Then when they finish they logout and the PC logs Mom back in. Mom doesn't have to fish around for a password. She's 81 and I try to make things easy for her. In both 10.04 and 9.04 I have /etc/gdm/custom.conf with
In 9.04 log out and in 10 seconds it does an autologin. With 10.04 log out and it goes to the select a user screen and stays there. Where is the configuration file? What do I change? Disable something like SELinux?
Just installed 11.4. First effort with OpenSuse but have previously used Ubuntu on another machine. Installation went great. After I log in the screen goes blank with just a mouse cursor, everything else is black. Boots okay in recovery mode.
This is a dual boot with Windows XP. Machine boots into windows as expected.
I have opensuse 11.4 installed with both gnome and kde. These are the things I did before the problem:
1. changed the login screen to oxygen login screen
2. Then I logged off and when again logging in, I chose the session as Metacity.
But unfortunately, the the blank splash screen appeared and it didnt get into the desktop. Then I did a hard restart (By pressing the power button). Since then, I cannot login. The login screen is blank left only a active mouse pointer. Even booting into failsafe also didnt work.
By the way, I have chosen the option of directly logging in without password prompt at login. (during installation)
Only a week before i did a clean install since i corrupted the grub, dont wanna install again.
I'm relatively new at Linux, and I am trying to get Nagios to work correctly. I'm running CentOS if that matters. I think I followed the directions here correctly, but all I get is a blank white screen after I login. The documentation page works fine, but I don't see anything on the main http://localhost/nagios page. I have looked at other solutions to this problem (adding the correct path to the open_basedir in /etc/php.ini) and that still did nothing. Any Way to decode my httpd logs... Any time I refresh, I get these four errors from /var/log/httpd/error_log:
[Mon Jun 06 09:56:15 2011] [error] [client 127.0.0.1] PHP Warning: require_once(/usr/local/nagios/share/includes/../config.inc.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /usr/local/nagios/share/includes/utils.inc.php on line 4, referer: http://localhost/nagios/ [Mon Jun 06 09:56:15 2011] [error] [client 127.0.0.1] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/local/nagios/share/includes/../config.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagios/share/includes/utils.inc.php on line 4, referer: http://localhost/nagios/ [Mon Jun 06 09:56:15 2011] [error] [client 127.0.0.1] PHP Warning: require_once(/usr/local/nagios/share/includes/../config.inc.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /usr/local/nagios/share/includes/utils.inc.php on line 4, referer: http://localhost/nagios/ [Mon Jun 06 09:56:15 2011] [error] [client 127.0.0.1] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/local/nagios/share/includes/../config.inc.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr/local/nagios/share/includes/utils.inc.php on line 4, referer: http://localhost/nagios/
How do you change the default runlevel in Ubuntu 10.10? I need a solution that I can execute by editing text files; right now I'm accessing the Ubuntu filesystem by mounting it to another OS on a different hard drive.
The long and the short of it is that I'm getting a blank screen at login time. I suspect it's a driver issue (I have an Nvidia card) and it shouldn't be hard to fix... but I need a console. And no, I can't get in via Grub... my main OS is Slackware and Lilo is controlling the bootloader. So I need to be able to change the runlevel, and thus far a Google search has proved unenlightening.
I just did a fresh install of natty, installed a few programs along with the ati catalyst control center.
I am having serious login issues, here is what I do:
I am at the login screen right from start-up, type in username and passward and hit enter, screen goes blank, it appears I am logging in, ubuntu plays a sound and puts me back at the login screen. I do not get an "Authentication Failed" error like I would expect. Unable to login as myself or as root.
However, I am able to login if I select the "safe mode," I am not able to login under the normal mode or the ubuntu classic modes.
I suspect that this issue has to do with the ati proprietary drivers, after playing with the settings for a while in safe mode I am now able to login to the normal natty mode without any apparent issues.
Here is what I changed in ati catalyst control center to boot into natty mode:
I disabled the Xinerama and Tear Free options.
Under the 3D settings, I selected the "override application setting" for all the 3D settings I could.
I believe I still have some display issues as I am unable to drag windows from one display to another, my mouse is able to move just fine across displays though.
I also found that enabling Xinerama prevented me from logging into the ubuntu and ubuntu classic modes, but I was able to login to the ubuntu with no effects mode.
and this morning's updates broke x. I get a blank screen instead of the login. I'm running an Nvidia 7900GS. I tried re-installing the Nvidia drivers... no good. I switched to the nv drivers and got further; I got the login screen, but when I try to log in it gives me the KDE splash screen and then takes me back to the login screen. I'm not sure what to try next.
I've been on 11.2 KDE for about a week (clean install). Previously on 11.1 Gnome. Everything's great except I can't get Autologin to work consistently. It worked perfectly in 11.1 Gnome! In 11.2 KDE sometimes it works and sometimes it doesn't. I set it up as root in both Yast and System Settings.
it tried to test the autologin mechanism, now i have to decided to go back to normal login on fc14 under gnome, but the login screen doesn't appear any longer.The autologin was activated with accounts-login and disabled by removing the twolines below
I just put on my Linux PC now and after booting logging into the user a/c, it just gives a blank screen with the desktop wallpaper - no menu's or anything, so there's pretty much nothing I can do. I know I had removed the menu and replaced it with the dock (awn dock or something).
However, I can log in as root and root works fine (so I'm doing the update at the moment).
Coming back to my question, I used to know an Ubuntu command which I put in as sudo (terminal)and it used to work like a magic command which would literally restore and repair my linux installation - I even used it when I bought a new system and transferred my linux hard drive from my previous machine to the new one and this one command actually setup and prepared my linux installation to work smoothly in my new PC - just one command after connecting my h/drive in the new PC.