LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 05-06-2013, 04:00 PM   #1
rawsilk
LQ Newbie
 
Registered: Apr 2013
Location: Toronto
Distribution: slackware64 14.0
Posts: 4

Rep: Reputation: Disabled
tty1-6 overridden with boot message


Good day,

I'm having a problem with my tty1 through tty6. When I start up my computer, which is running slackware64 14.0, I see the boot message and am brought to the first login terminal. I login and run startx as normal and am brought to my favorite eyecandy. The problem arises when I go to use a tty terminal again (any of tty1 through tty6). The boot message is written over the console buffer, and pressing and holding enter causes the screen to flicker between the proper tty buffer and the imposing one.

It is a rather fresh install having just organized, and revamped, my system. I installed a video card driver (fglrx - for ATI card) and some packages from slackbuilds, but nothing I didn't have before. I used the same data to install slackware64 on a laptop computer making sure the error wasn't due to bad data.

Note that it is only after I run startx and use ctrl-alt-f1 to return to tty1 that I find this problem.

Can anyone help me return my system to its proper order? Much thanks in advance for all help!

Update: so far I think it is a frame buffer issue with switching to the driver in my xorg.conf after startx (fglrx).

Last edited by rawsilk; 05-12-2013 at 01:44 PM.
 
Old 05-08-2013, 02:58 AM   #2
Lennie
Member
 
Registered: Aug 2012
Location: Sweden
Distribution: LFS, built with pacman
Posts: 302

Rep: Reputation: 61
When you run 'startx' you are still logged in in tty1, so what you see is not bootmessages but messages from your X-session. This is not so good for security reasons. If someone is near your computer when you don't see it, they can press ctrl+c in tty1 and cancel your x-session, and still be logged in as you.

What you can do is either start X automatically when you login in tty1 (the other ttys won't be affected), by adding this to your ~/.bash_profile:
Code:
[[ $(fgconsole 2>/dev/null) == 1 ]] && exec startx -- vt1
That will start your X-session in tty1.

If you dont want to start X automatically you can create an alias for it. You can get some more ideas here.
 
1 members found this post helpful.
Old 05-12-2013, 09:32 AM   #3
rawsilk
LQ Newbie
 
Registered: Apr 2013
Location: Toronto
Distribution: slackware64 14.0
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi Lennie,

I tried your suggestion and also the ones in your link and I still have the same problem. All the tty's get covered in junk script when startx is run no matter how I do it. Could this be to do with the graphics card driver? Maybe it's starting with VESA and switching to fglrx after startx leaving some sort of buffer from VESA still being used on the same display?
 
Old 05-12-2013, 11:14 AM   #4
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,053

Rep: Reputation: 170Reputation: 170
A shot in the dark (I agree that it's probably a framebuffer issue, but that kind of fix is beyond my scope...), if you login and startx via a tty other than tty1, do you get the same issue?

On a somewhat-related note, if you're interested in starting an x session automatically from runlevel 3, see this thread:

http://www.linuxquestions.org/questi...ut-gui-374338/

cheers,
 
Old 05-12-2013, 01:40 PM   #5
rawsilk
LQ Newbie
 
Registered: Apr 2013
Location: Toronto
Distribution: slackware64 14.0
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrclisdue View Post
A shot in the dark (I agree that it's probably a framebuffer issue, but that kind of fix is beyond my scope...), if you login and startx via a tty other than tty1, do you get the same issue?
Running startx on any of the tty's results in the same thing. I agree it is likely a frame buffer issue that is beyond me at the moment. Do we know how the system switches from the driver used to start up the machine to the one used in xorg.conf?
 
  


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
Fails to boot - rcS /dev/tty1: No such file or directory Spearhawk Debian 1 03-29-2007 10:05 AM
Switch to tty1 on init-5 boot? mackdav Linux - Software 2 04-25-2006 02:32 PM
repeated message (tty1): ASSERT: "i <= nodes" in /usr/lib/qt-3.1.2/include/qvaluelist megahard Linux - General 4 01-17-2006 11:59 PM
mandriva le 2005 boot tty1 chil326 Mandriva 5 08-11-2005 02:05 PM
Hostnames Being Overridden RWild Linux - Networking 0 12-16-2002 10:18 PM


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