Linux - Server This forum is for the discussion of Linux Software used in a server related context. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-06-2010, 03:20 AM
|
#1
|
Member
Registered: May 2010
Posts: 427
Rep:
|
booting in shell and then start graphic
I have installed ubuntu desktop (not server) because some users want to access the gui (because of their applications). Now what I want to manage is:
1- boot the system in shell mode.
2- if someone want, use startx command to enter graphic mode for his own. otherwise he can continue to use pure terminal shell.
Is it possible to do such thing? how?
|
|
|
11-06-2010, 03:52 AM
|
#2
|
Senior Member
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279
|
Quote:
sisco311
September 29th, 2010, 04:28 AM
While bodhi.zazen's suggestion should work, booting with the text kernel parameter will also prevent display managers managed by Upstart (e.g. gdm, kdm and lxdm) from being started at boot time.
If you are using Grub2, then in /etc/default/grub replace:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
with
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash text"
then run:
sudo update-grub
Remove splash to disable the splash screen and/or quiet to make the boot process verbose.
If you wish to create a separate boot option for the text and GUI mode then check out this.
|
From http://ubuntuforums.org/archive/inde...t-1584286.html
|
|
|
11-06-2010, 07:37 AM
|
#3
|
Member
Registered: May 2010
Posts: 427
Original Poster
Rep:
|
Thanks
|
|
|
11-06-2010, 09:14 AM
|
#4
|
LQ Newbie
Registered: Nov 2006
Location: 10.1.1.0
Distribution: help.
Posts: 26
Rep:
|
Hi, I was wondering about this same thing myself, especially how to make the boot process verbose instead of splash. However I have no /etc/default/grub file. Am I correct to believe I instead will need to edit /boot/grub/menu.lst?
~$ uname -a
Linux 2112 2.6.28-19-generic #66-Ubuntu SMP Sat Oct 16 18:00:58 UTC 2010 x86_64 GNU/Linux
~$ ls /boot/grub/
default e2fs_stage1_5 installed-version menu.lst minix_stage1_5 stage1 xfs_stage1_5
device.map fat_stage1_5 jfs_stage1_5 menu.lst~ reiserfs_stage1_5 stage2
Thanks,
Fonds
|
|
|
11-07-2010, 10:13 AM
|
#5
|
Member
Registered: May 2010
Posts: 427
Original Poster
Rep:
|
Then you should open /boot/grub/grub.cfg and find the entry which boot your linux. Mine is:
Code:
menuentry "Ubuntu, Linux 2.6.31-14-generic-pae" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set b01d0209-dcad-4ab5-8ceb-ab615c50cc7f
linux /boot/vmlinuz-2.6.31-14-generic-pae root=UUID=b01d0209-dcad-4ab5-8ceb-ab615c50cc7f ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic-pae
}
then change "quiet splash" to "quiet nosplash text". This will boot the linux to command prompt only. Then you can type "startx" whenever you want. Also if you want verbose messages then remove "quiet"
|
|
|
All times are GMT -5. The time now is 06:18 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|