LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-06-2012, 10:05 AM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Fail to start X


Host - ubuntu 11.04 desktop
VM - ubuntu 10.04 desktop
Virtualizer Oracle VirtualBox

After upgrade the VM to 12.04 LTS, on reboot only a black sreen was displayed.

Drop to root shell on restart

# startx /usr/bin/gnome-session
Fatal server error:
Could not create lock file in /tmp/.tX0-lock
...
ddxSikGiveUp: Closing log

# ls -l /tmp
Code:
drwx----- 2 root root 4096 ....
# chmod 1777 /tmp
Code:
chmod: changing permission of '/tmp': Read-only file system
Pls help. TIA

B.R.
satimis

Last edited by satimis; 05-06-2012 at 10:09 AM.
 
Old 05-06-2012, 11:31 AM   #2
Snark1994
Senior Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
What's in your fstab?

Mine has:

Code:
tmpfs        /tmp         tmpfs    nodev,nosuid     0     0
/tmp definitely shouldn't be read-only, AFAIK...
 
Old 05-06-2012, 11:52 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by Snark1994 View Post
What's in your fstab?

Mine has:

Code:
tmpfs        /tmp         tmpfs    nodev,nosuid     0     0
No such line

$ cat /etc/fstab
Code:
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda1 during installation
UUID=0a866ab3-939e-4b8b-86a4-7f0991064d6f /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=c38e28d1-dc59-4c71-a0cb-e248e3e4e907 none            swap    sw              0       0
Quote:
/tmp definitely shouldn't be read-only, AFAIK...
What can I do"?

TIA

B.R.
satimis
 
Old 05-06-2012, 11:55 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
File-systems become usually read only if there is a problem with the file-system. Boot from a live-iso and check the file-system.
 
Old 05-06-2012, 12:01 PM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by TobiSGD View Post
File-systems become usually read only if there is a problem with the file-system. Boot from a live-iso and check the file-system.
Thanks for your advice.

I upgraded the VM to ubuntu 12.04 on Internet using "update-manager"

B.R.
satimis
 
Old 05-06-2012, 12:08 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by satimis View Post
I upgraded the VM to ubuntu 12.04 on Internet using "update-manager"
That shouldn't prevent you to use a live-cd for maintenance.
 
Old 05-06-2012, 07:52 PM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by TobiSGD View Post
That shouldn't prevent you to use a live-cd for maintenance.
OK. Thanks

I'm now downloading 4 iso
- ubuntu-12.04-desktop-amd64.iso
- ubuntu-12.04-desktop-i386.iso
- ubuntu-12.04-server-amd64.iso
- ubuntu-12.04-server-i386.iso

I have 2 virtual boxes running KVM and VirtualBox as virtualizer respectively. On these boxes ubuntu 9.04/10.04/11.04 desktop and server, 32/64bit, are running. For such a reason I prefer to upgrade them direct on Internet avoiding to download several ISO.

I'll come back if encounter further problem. Thanks

Meanwhile I have problem on upgrading ubuntu 10.04 to 12.04, 64bit desktop, direct on Internet. I'll start another thread.

B.R.
satimis

Last edited by satimis; 05-06-2012 at 08:07 PM.
 
Old 05-06-2012, 08:03 PM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
To make that clear, I have not said you should upgrade the OS using live-isos. I said you should check the file-system on the disk that is mounting read-only. You need exactly one iso for that, it doesn't matter which one, it doesn't even have to be Ubuntu.
 
Old 05-06-2012, 08:10 PM   #9
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by TobiSGD View Post
To make that clear, I have not said you should upgrade the OS using live-isos. I said you should check the file-system on the disk that is mounting read-only. You need exactly one iso for that, it doesn't matter which one, it doesn't even have to be Ubuntu.
Your advice noted. Thanks

I haven't had any ISO/live CD available here.

satimis

Last edited by satimis; 05-06-2012 at 08:11 PM.
 
Old 05-07-2012, 05:05 AM   #10
Snark1994
Senior Member
 
Registered: Sep 2010
Distribution: Debian
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Quote:
Originally Posted by satimis View Post
I haven't had any ISO/live CD available here.
You just said you were downloading them! And you must have used one to install, anyway...
 
Old 05-07-2012, 10:48 AM   #11
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi folks,

Lot of thanks for your assistance. Finally I discovered it is the problem of nVidia graphic card which is a known issue having many threads on Internet. The VM is working except Gnome can't start. I can remote connect this VM on host terminal running its program except unable to start "gnome-session &"

I found following website;
Installing nVidia drivers from website
http://askubuntu.com/questions/35273...s-from-website

Having performed following steps;

Download "NVIDIA-Linux-x86_64-302.07.run" on host and ran "scp" copying it to the VM /home/user
remote access the VM on host terminal running "ssh -X user@192.168.0.212"

$ sudo nano /etc/modprobe.d/blacklist.conf
adding following 2 lines at the end of the file.
blacklist nouveau
blacklist nvidiafb

$ sudo depmod -a (no complaint)
$ sudo update-initramfs -u
Code:
update-initramfs: Generating /boot/initrd.img-3.0.0-19-generic
$ sudo sh NVIDIA-Linux-x86_64-302.07.run
Code:
WARNING: You do not appear to have an NVIDIA GPU supported by the 302.07     
           NVIDIA Linux graphics driver installed in this system.  For further 
           details, please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in 
           the README available on the Linux driver download page at           
           www.nvidia.com.                                                     
                                                                               
                                       OK
I was stuck here without a solution.

Edit:
During booting the VM on text scrolling it displayed
Code:
Starting load fallback graphics devices [fail](in red color)
B.R.
satimis

Last edited by satimis; 05-07-2012 at 10:51 AM.
 
Old 05-07-2012, 10:53 AM   #12
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Why do you try to install drivers for a physical video card into a virtual machine with virtual video card?
 
Old 05-10-2012, 11:26 AM   #13
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Solved

Hi all,

Problem solved after running;
$ do-release-upgrade

Gnome can be started.

$ lsb_release -a
Code:
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04 LTS
Release:        12.04
Codename:       precise
The Codename is "precise"?

B.R.
satimis
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
service ldap start on CentOS fail to start Frezier Linux - Newbie 1 08-15-2011 09:53 AM
Fail to start X satimis Ubuntu 2 07-24-2007 11:35 PM
Fail to start xfce4 satimis Linux - Distributions 3 04-01-2007 03:21 PM
Fail to start Gnome satimis Fedora 1 07-30-2004 10:30 AM
Fail to start KDE satimis *BSD 2 02-26-2004 08:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration