LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-02-2001, 04:03 PM   #1
zangdesign
LQ Newbie
 
Registered: Dec 2001
Distribution: RedHat 7.2
Posts: 1

Rep: Reputation: 0
Setup with X


I just recently installed RedHat 7.2 and the one thing I've discovered is that I hate GNOME, KDE, Windowmaker, and all the other window managers. But I like the fact that an X-terminal gives me a large text area to work with.

Anyone have an idea how to set my box up so that it runs an X-terminal as a login shell from the start (without running the login box)?

The effect I am looking for here is the same as if I was logging into a text based console, but at a minimum size of 132x48, preferable larger.

I would like THAT to be the console.

Alternately, is there a way to kick the thing over into a 132x48 mode for a text console?

Thanks.
 
Old 12-02-2001, 04:35 PM   #2
speck
Member
 
Registered: Nov 2001
Location: US
Distribution: Slackware 14.2
Posts: 354

Rep: Reputation: 93
Yes, it's definitely possible to do both. To set up X, edit (or create if it doesn't exit) ~/.xinitrc and add the following line:

exec xterm -geometry 132x48

Make sure that all window managers are commented out(# at the beginning of the line) in the file.

You can also change the resolution on the console, but I don't think you can specify geometry settings like in X. Take a look at /usr/src/linux/Documentation/svga.txt for more detailed info. If you boot with grub, add:

vga=773

at the end of the line that starts with "kernel /boot/vmlinuz-". If you're using lilo, add the line "vga=773" on a line by itself, under the "image" header. You'll need to run "lilo -v" as root to finalize the changes.

Then reboot and the console resolution will look much nicer. To be prompted for a choice, change it to "vga=ask". There are other higher resolutions, but I don't know off hand what they are.

You may need to make some additional changes to the inittab runlevel if you boot directly into X. If that's the case, you'll need to change "id:5:initdefault:" to "id:3:initdefault:" in /etc/inittab. This will skip the graphical login (kdm, xdm, etc.)

Speck

Last edited by speck; 12-02-2001 at 04:38 PM.
 
Old 12-02-2001, 07:37 PM   #3
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
You could also instead of setting it to one res. in lilo.conf, if that's what you use. As said above about the vga= type vga=ask and you'll be presented at boot with all of the res' available to you. I use an 800x600 console and just for info it's vga=788
 
Old 12-02-2001, 07:39 PM   #4
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Quote:
Originally posted by speck
To be prompted for a choice, change it to "vga=ask". There are other higher resolutions, but I don't know off hand what they are.

Speck
I guess I didn't see this. LOL Don't I feel the dumbarse. Sorry!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Error Message during 802.11b setup for Intersil Card ( prism2_usb ) setup in SoC archak Linux - Wireless Networking 0 10-13-2004 03:21 AM
[SUSE 9.1 PROF] How can I copy the setup files to my harddisk and start the setup? TheRealFalcon Linux - Distributions 1 08-07-2004 11:49 PM
Need help with ethernet setup in Gentoo( During setup proccess) MimiMimi Linux - Distributions 2 07-19-2004 01:34 PM
Change 7CD setup to 1 DVD setup GaX Mandriva 1 04-22-2004 05:23 AM
Multicast Setup/eth1 setup QuadMonk Linux - Networking 1 04-29-2002 06:52 AM


All times are GMT -5. The time now is 04:06 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration