LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-19-2005, 06:22 AM   #1
andydoff
LQ Newbie
 
Registered: Feb 2005
Posts: 3

Rep: Reputation: 0
console to xterm


Hi. My suse 8.2 froze up for some reason and I had to reboot. Got the system and adsl network back up and working but it reboots in console mode. How do I get it back into xterminal mode

Andy
 
Old 02-19-2005, 08:10 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
First make sure that the x-windows system will start up by entering 'startx'

If that is successful, you can change the default runlevel to '5' by editing a line in the /etc/inittab file.

The inittab line to change is:
# The default runlevel is defined here
id:3:initdefault:

change it to
id:5:initdefault:

You of course need to be root to edit this file.
 
Old 02-19-2005, 12:13 PM   #3
andydoff
LQ Newbie
 
Registered: Feb 2005
Posts: 3

Original Poster
Rep: Reputation: 0
HI, thanks for the reply. Startx and xterm both give me fatal error....screen not found ... and then return to console
 
Old 02-22-2005, 04:50 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
Then you have a problem with either the Video card configuration/driver, or your mode-lines are bad.

First, change the video device to 'vesa'. This is a universal driver that works with nearly all video cards.

Then run SaX2 and configure the monitor. Make sure that you can get into X windows. If so, then you can rerun SaX2 and try to select your card. If that doesn't work, you'll need to supply more information about your video card and setup. For nvidia, you can download their driver installation program. I've had the same problem pop up for me, and rerunning the installation program for the video driver fixed the problem. It needs to be run as root in init level 3 (in the console), and you need to install the kernel-source for your version of the kernel first. Then re-run sax to configure your settings.

There is a program that can help you generate mode-lines if you need them.

gtf 1024 768 60 -x

will generate a mode-line for the 1024x768 resolution at 60 Hz. On my computer, the above command generates this:

# 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz
Modeline "1024x768_60.00" 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync

Of course, don't use my example. Its just to give you an idea.

One note: Sax doesn't behave very well if you have a second monitor. ( At least if it isn't a detected monitor ). The screen can loose a signal on both moniters, but of course, your results may vary. In such a case you will want to read up on manually configuring the XF86Config file.

Last edited by jschiwal; 02-22-2005 at 04:52 AM.
 
  


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
xterm - howto lauch an xterm into a specific directory jobano Linux - Software 8 02-26-2008 04:18 PM
how is black xterm background in IceWM when issue a xterm command? BRAHmS Linux - Software 1 02-14-2005 04:51 AM
How to Run Win32 Console App in linux Console Lokie Linux - Software 2 08-12-2004 11:00 PM
console/xterm scroll? marlor Slackware 4 08-04-2004 11:41 PM
X server in console 1 crashes on return from console 2 fieldmethods Red Hat 4 09-05-2003 01:12 AM


All times are GMT -5. The time now is 02:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration