LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-16-2006, 11:49 PM   #1
xrazybud
LQ Newbie
 
Registered: Jul 2003
Posts: 8

Rep: Reputation: 0
Starting Irssi in screen on boot?


So I have set up my computer to start irssi in screen as a user on boot. The only problem is that from this screen session there are no colors. The force colors option does not look good either, so that's not a option. I'm using the line:

su axe -c "screen -d -m irssi"

In order to start it. The terminal is always set to plain "tty" though. If I run screen as the user, it is perfectly fine, and the terminal will be set to "xterm" (it's complete console though). If I run it as root though, it's always "tty" even if I try something like:

su axe -c "screen -T xterm -d -m irssi"

su - axe -c "screen -T linux -d -m irssi"

Also doesn't work. I'm using Screen version 4.00.02 (FAU) 5-Dec-03, and su (GNU coreutils) 5.95. Everything I've tried doesn't work, and nothing I find on google works for me.
 
Old 07-16-2006, 11:56 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
You could set up a crontab for user axe, and in it, place:
Code:
@reboot screen -T xterm -d -m irssi
I would think this would work.
 
Old 07-17-2006, 04:32 PM   #3
xrazybud
LQ Newbie
 
Registered: Jul 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Matir
You could set up a crontab for user axe, and in it, place:
Code:
@reboot screen -T xterm -d -m irssi
I would think this would work.
Is there any way to just have it start up the right way? I don't understand what you mean by the reboot part?
 
Old 07-17-2006, 05:26 PM   #4
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 117Reputation: 117
What do you mean by "the right way"? My guess is that since there is no controlling terminal attached when screen starts, it defaults to 'tty'.
 
Old 07-17-2006, 05:48 PM   #5
xrazybud
LQ Newbie
 
Registered: Jul 2003
Posts: 8

Original Poster
Rep: Reputation: 0
I mean the right way as in it doesn't have to be messed with more in order to get it the way wanted. Is there a way to make it not default to 'tty' that actually works when starting it this way?
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
get a black screen after RHEL AS starting first boot. desun Red Hat 4 08-09-2008 12:47 AM
running screen with irssi after reboot Ateos Linux - General 2 08-27-2006 07:53 AM
Starting Irssi in screen on boot? xrazybud *BSD 0 07-16-2006 11:09 PM
starting first boot Blank Screen jj3600 Linux - Newbie 2 02-01-2005 05:41 PM
Won't Boot - Starting Printer Service - Starting CUPS jeansond Linux - Newbie 0 10-11-2004 06:39 PM


All times are GMT -5. The time now is 06:22 PM.

Main Menu
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