LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Lost Login Screen on Ubuntu 10.04 (https://www.linuxquestions.org/questions/linux-newbie-8/lost-login-screen-on-ubuntu-10-04-a-876782/)

darthpinguim 04-24-2011 09:21 AM

Lost Login Screen on Ubuntu 10.04
 
Hi there!
I've got a problem on my Ubuntu 10.04. The login screen disapeared, and all that remains is the default background. I mean, the computer turns on normally, but when it gets to the screen where there should be the users names to login there's only the background. Is it possible to reconfigure that anyway?
Thanks in advance!
darthpinguim

anon091 04-24-2011 10:48 AM

are you able to ssh into the machine or anything?

darthpinguim 04-24-2011 11:53 AM

Hi rjo98!
I'm not quite sure if I know what you mean, I'm new in the Linux world. By "ssh into the machine" you mean if I can access the machina via one of the terminals (tty), text-mode?
Best regards
darthpinguim

repo 04-24-2011 12:07 PM

Quote:

The login screen disapeared, and all that remains is the default background.
Did you make any changes, upgrades....
Try
Code:

CTRL_ALT_Fx
login
Code:

sudo /etc/init.d/gdm restart
If this doesn't work
Code:

sudo /etc/init.d/gdm stop
Code:

startx
Take a look in the logfiles to see if there are errors.
If this doesn't work
Code:

sudo dpkg-reconfigure -phigh xserver-xorg
Kind regards

anon091 04-24-2011 12:07 PM

I've been using it for 2 years and I still feel like a newbie haha
Yeah I mean like if you can use putty to connect to the command line interface of the machine

5149.5 04-24-2011 01:06 PM

Does Alt-F2 open a place to run a command? If it does, try some of the commands listed above like startx or gdm -restart or gdm -reset.

repo 04-24-2011 01:11 PM

Quote:

Does Alt-F2 open a place to run a command?
Alt-F2 only works when you are logged in in the GUI.

Kind regards

5149.5 04-24-2011 01:14 PM

Quote:

Originally Posted by repo (Post 4334637)
Alt-F2 only works when you are logged in in the GUI.

Kind regards

Yeah, I was afraid of that but thought it as worth mentioning.

darthpinguim 04-24-2011 03:17 PM

I've come with another problem now.
My PC is partitioned as the following:
-first partition: mounted as /
-second partition: mounted as /boot
-third partition: mount as /home
-and fourth and last partition: swap mounted
I formatted the first two and installed Ubuntu 9.10, and mounted the partitions the same way. The problem is that the third partition, where I have my personal files (/home) was encrypted when I had Ubuntu 10.04 installed some time ago. Now I can't access it (or don't know how to do it). I read some explanation on how to use the ecryptfs command,but I couldn't make it. I wasn't able to mount the encrypted directory. Can you help me?
Best regards
darthpinguim

jamescondron 04-24-2011 03:23 PM

Hi there,

Get to the login screen (Or as close as you can- to the default background etc.) and hit ctrl+alt+f2

This should hopefully give you a terminal- login as usual and then do

Code:

sudo su -
to get to a root shell. At this point you can try repo's suggestions, restarting gdm and so on. Let us know how you get on with this and we can go from there.

As for the encrypted partition; could you give us the output of /etc/fstab and perhaps /etc/mtab?

darthpinguim 04-24-2011 03:49 PM

The login screen is no longer a problem (altough I'll take notes on the tips above for any problem of the kind in the future), now that I have formatted the PC. As for the outputs from mtab and fstab, here they come respectively:
Quote:

/dev/sda1 / ext4 rw,errors=remount-ro 0 0
proc /proc proc rw 0 0
none /sys sysfs rw,noexec,nosuid,nodev 0 0
none /sys/fs/fuse/connections fusectl rw 0 0
none /sys/kernel/debug debugfs rw 0 0
none /sys/kernel/security securityfs rw 0 0
udev /dev tmpfs rw,mode=0755 0 0
none /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
none /dev/shm tmpfs rw,nosuid,nodev 0 0
none /var/run tmpfs rw,nosuid,mode=0755 0 0
none /var/lock tmpfs rw,noexec,nosuid,nodev 0 0
none /lib/init/rw tmpfs rw,nosuid,mode=0755 0 0
/dev/sda2 /boot ext4 rw 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0
/home/niels/.Private /home/niels/Private ecryptfs ecryptfs_sig=69df816501a5030a,ecryptfs_fnek_sig=8d39c617c6b30917,ecryptfs_cipher=aes,ecryptfs_key_by tes=16 0 0
gvfs-fuse-daemon /home/niels/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,user=niels 0 0
/dev/sda3 /media ext4 rw 0 0
and
Quote:

# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# / was on /dev/sda1 during installation
UUID=2384b3c6-3f5a-4f72-8f76-223ff087b8d6 / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda2 during installation
UUID=f3aef846-7f7e-4159-82fa-f6d10d2eeffc /boot ext4 defaults 0 2
# swap was on /dev/sda4 during installation
UUID=6ea365fd-6d85-421a-b135-6f6b719214eb none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
My /home directory is mounted from /dev/sda3 to /media.
Hope that helps.
Best regards
darthpinguim

jamescondron 04-24-2011 05:52 PM

Hi,

What happens when you do try to mount /dev/sda3 ? mtab suggests it is mounted- you can't view the data?

How about
Code:

fdisk -l

darthpinguim 04-24-2011 09:28 PM

I got through the problem.
I reinstalled the system keeping the same mount point from /home.
When I first logged in, the system asked me for the key to decrypt my /home folder.
I may say I felt a lot better when I saw that it worked.
Thank you all anyway, for the attention and effort.
May you have a nice week!
Best regards
darthpinguim


All times are GMT -5. The time now is 03:01 AM.