LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-17-2007, 02:18 AM   #1
sharathg786
Member
 
Registered: Sep 2005
Location: India
Distribution: Slackware, Back|track, Fedora, ubuntu
Posts: 167

Rep: Reputation: 30
how to choose desktop environment in console mode


Hi, i have an FC6, i've changed my default runlevel to 3 and after my system boots im presented with the login prompt at the console, after i login if i want to enter the GUI, i give the 'startx' command and then it enters Gnome

>I use KDE as desktop environment, i want 'startx' to start KDE directly without choosing it in login screen.

>how can i choose the desktop session (KDE or GNOME or fluxbox) before giving startx i.e., in the console itself.

>and also how can i set resoultion for the console mode? coz the text appears big and fills my screen width if i give a lengthy command.
 
Old 03-17-2007, 09:51 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
This should allow you to select startx environment from runlevel 3
Code:
startx `which startkde`
startx `which start gnome-session`
startx `which startfluxbox`
startx `which startxfce4`
For the console text size, you can put a vga command in in the grub.conf .
For example:
Code:
title Fedora Core (2.6.20-1.2925.fc6)
   root (hd1,1)
   kernel /boot/vmlinuz-2.6.20-1.2925.fc6 ro root=LABEL=/  vga=788
   initrd /boot/initrd-2.6.20-1.2925.fc6.img
 
Old 03-19-2007, 10:17 AM   #3
sharathg786
Member
 
Registered: Sep 2005
Location: India
Distribution: Slackware, Back|track, Fedora, ubuntu
Posts: 167

Original Poster
Rep: Reputation: 30
Thanx, the startx commands work, but no change if i give the vga line, infact the fonts of my KDE appear smaller if i give "VGA=788" how to give a suitable value, i mean is there a way of specifying a resolution? like 800x600 or 1024x768 ?
 
Old 03-19-2007, 05:50 PM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Quote:
and also how can i set resoultion for the console mode?
I took that to mean when you boot up into runnlevel 1 or 3 but now you are talking about kde which is not console mode.
If you want to adjust resolution for kde, I would use ( as root ) the command: system-config-display
 
Old 03-20-2007, 02:29 AM   #5
sharathg786
Member
 
Registered: Sep 2005
Location: India
Distribution: Slackware, Back|track, Fedora, ubuntu
Posts: 167

Original Poster
Rep: Reputation: 30
No, actually what i meant was after giving the vga=788, there was no change in the font size in console mode, but when i run 'init 5' from console, then i see that the font size in KDE appear smaller.

Is 788 is just a value? then i'll try giving smaller value and see what happens.
 
Old 03-20-2007, 02:43 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
The vga=xxx has particular numbers for particular modes. You can't just give any number. I use vga=791. This may need framebuffer support which you probably have. These entries don't have any effect on kde.
From directfb/README:
Code:
   All VESA Video Modes:

   Bits    640x480 800x600 1024x768 1280x1024 1600x1200
   8       769     771     773      775       796
   16      785     788     791      794       798
   32      786     789     792      795       799
You may be able to use the Modes listed in /etc/fb.modes as well.

Last edited by jschiwal; 03-20-2007 at 02:45 AM.
 
Old 03-20-2007, 10:27 AM   #7
sharathg786
Member
 
Registered: Sep 2005
Location: India
Distribution: Slackware, Back|track, Fedora, ubuntu
Posts: 167

Original Poster
Rep: Reputation: 30
thank you guys, its working, all these time i didn't actually edit the grub.conf file but was giving the vga part as boot parameter during startup, guess that was the problem....but now after editing the file, its workin fine, Thanx
 
  


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
Is there any DM which choose only desktop environment? nadavvin Linux - Software 3 02-09-2007 02:13 PM
Is there a desktop environment w/ an embedded console? adam gorley Linux - Software 4 03-09-2006 10:20 AM
how to choose session when boot from text mode cain_eve Linux - Software 3 03-08-2005 09:39 AM
how to choose session when I startx from text mode cain_eve Linux - Software 3 12-30-2004 03:17 PM
Mandrake 9.2's boot process entirely done in console mode before loading in X mode... mishmash Mandriva 6 02-17-2004 09:19 PM

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

All times are GMT -5. The time now is 06:53 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