LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


View Poll Results: To get into X, I use...
runlevel 4 98 43.17%
startx 125 55.07%
X? Console is all I ever need 4 1.76%
Voters: 227. You may not vote on this poll

Reply
  Search this Thread
Old 10-25-2009, 07:51 PM   #61
niels.horn
Senior Member
 
Registered: Mar 2007
Location: Rio de Janeiro - Brazil
Distribution: Slackware64-current
Posts: 1,004

Rep: Reputation: 91

I voted for runlevel 4, since that's how the box I use most is configured currently, but this all depends on my mood

Sometimes I spend months starting X with startx from the CLI, then I change to play with configuring the KDM "greeter" (mine starts with an Xfce logo and background ).

But I also have an entry in lilo.conf to start with "init 3", so that I can boot to the console when I want to, without changing /etc/inittab
 
Old 10-26-2009, 04:29 PM   #62
gmbastos
LQ Newbie
 
Registered: Apr 2007
Location: Brazil
Distribution: Slackware
Posts: 21

Rep: Reputation: 15
Smile Both

Indeed I use both: startx for my good-N-old faithful laptop and runlevel 4 with my desktop, which is more likely to be used by my family.

Sometimes I just want to launch tcpdump, minicom or a shell script, so booting up with runlevel 4 would be a big waste of time. On the other hand, if my parents might spot a command prompt they would be scared to their bones.

Anyway, if I change my mind after launching a job (I change my mind very often so I preventively login on tty6 as an habit), I run startx on tty1.

Nevertheless, on my 64-bit desktop, I frequently find myself typing 'telinit 3' for performing some intensive computations.
 
Old 10-27-2009, 05:25 PM   #63
HerbertJ
LQ Newbie
 
Registered: Oct 2008
Posts: 28

Rep: Reputation: 16
Runlevel 4 / startx

I use runlevel 4, but using a modified rc.4 that runs startx for me, and allows me to switch to any other user or runlevel using "echo SOMETHING > ~/.xrestart;pkill fluxbox" in my fluxbox menu file. It even switches to runlevel 3 if X restarts too quickly.

Great if you use fluxbox and want to be logged in automatically.




STARTASUSER=herb
CONFIG=/home/$STARTASUSER/.xrestart

# Tell the viewers what's going to happen...
reset
echo "Starting up X11 session manager..."

while true
do [ -f $CONFIG ] &&\
echo restartx > $CONFIG

STARTTIME=`date +%s`
su - $STARTASUSER -c "bash -l -c startx"
FINISHTIME=`date +%s`

if $( let " $[ $FINISHTIME - $STARTTIME ] < 7 " )
then exec /sbin/telinit 3
fi

if (grep poweroff $CONFIG)
then exec /sbin/poweroff
fi

if (grep reboot $CONFIG)
then exec /sbin/reboot
fi

if (grep init3 $CONFIG)
then exec /sbin/telinit 3
fi

if (grep "user=" $CONFIG)
then NEWUSER=`cat $CONFIG | awk -F= '{print $2}'`
if [ $NEWUSER != "root" ]
then STARTASUSER=$NEWUSER
fi
CONFIG=/home/$STARTASUSER/.xrestart
fi

sleep 2
done
 
Old 10-27-2009, 06:06 PM   #64
bartonski
Member
 
Registered: Jul 2006
Location: Louisville, KY
Distribution: Fedora 12, Slackware, Debian, Ubuntu Karmic, FreeBSD 7.1
Posts: 443
Blog Entries: 1

Rep: Reputation: 48
Quote:
Originally Posted by astrogeek View Post
I have added a few aliases to allow my own simple startx invocations.

Mostly when I want X I just type 'flux', can anyone guess what that does?
I dunno, but when it hits 88 mph, you're going to see some serious sh*t!
 
Old 11-02-2009, 12:17 PM   #65
melk600
LQ Newbie
 
Registered: Nov 2003
Location: Ashland, OH
Distribution: Mandriva
Posts: 16

Rep: Reputation: 1
On my desktop machines, I start in runlevel 5, but on servers I only use startx on extremely rare occasions and almost always run from the command line or Webmin to do all the administration.

Mike E.
 
Old 11-02-2009, 03:20 PM   #66
valbaca
LQ Newbie
 
Registered: Oct 2009
Location: Texas Tech University
Distribution: Slackware 13.0
Posts: 6

Rep: Reputation: 0
startx
In a way it keeps me from depending on GUI too much. This lets me learn Linux more instead of GUIs.
 
Old 11-02-2009, 04:27 PM   #67
mdk4yyv
LQ Newbie
 
Registered: Jun 2009
Location: SC
Distribution: Slackware 13, Fedora 12
Posts: 4

Rep: Reputation: 1
startx.
weather it looks pretty or not when I type in username and password doesn't matter to me. Besides, it would intimidate some of my Windows using brothers if they wanted to use my laptop without my knowing it
 
Old 11-02-2009, 05:05 PM   #68
zomane
Member
 
Registered: Sep 2005
Location: Austria
Distribution: Debian, CentOS, OpenBSD, FreeBSD
Posts: 52

Rep: Reputation: 16
Startx always, actually I'm using X for browsing (where are all good only html old sites, that doesn't need JS, flash and similar ..censored here .. and can be used with links/lynx ) , playing bzflag and to start terminals . As I remember first reason for people that created X11R6 to create it was to start more terminals.

Last edited by zomane; 11-02-2009 at 05:08 PM.
 
Old 11-02-2009, 06:06 PM   #69
unclejed613
Member
 
Registered: Mar 2009
Posts: 352

Rep: Reputation: 32
i already voted last week, but i forgot to mention i have the login screen set up with a picture of a Blackhawk control panel... now if i could make a KDE startup splash where some of the instruments on the panel did something while KDE was loading......
 
Old 11-03-2009, 05:10 AM   #70
gapan
Member
 
Registered: Feb 2007
Posts: 378

Rep: Reputation: 163Reputation: 163
I'm too lazy to startx, so runlevel 4 with gdm for me.
 
Old 11-03-2009, 06:19 PM   #71
padeen
Member
 
Registered: Sep 2009
Location: Perth, W.A.
Distribution: Slackware, Debian, Gentoo, FreeBSD, OpenBSD
Posts: 208

Rep: Reputation: 41
Quote:
Originally Posted by enine View Post
I have to manually startx -- -dpi 100 until I someday figure out where to set that to be the default.
Have a read of the startx script (found at `which startx`). You'll notice you can pass options to both the X server and to the command X runs once it starts. You'll also see you can specify those options in various scripts and config files that startx calls as it runs. A possible candidate is perhaps .xserverrc. `man xserver` could also help.

Also, I seem to remember dpi is one of the options in xorg.conf if you are using that.

Last edited by padeen; 11-03-2009 at 06:22 PM.
 
Old 11-04-2009, 08:25 AM   #72
rvdboom
Member
 
Registered: Jul 2007
Distribution: Slackware
Posts: 235

Rep: Reputation: 30
I boot on level 4 by default, since I use grub and can easily boot in level 3 if needed.
In any case, since Slack handily provide access to the console using Ctrl-Alt-F6, I'm never in jeopardy because of a faulty X config.
And even when coding, I like to have several consoles in windows.
 
Old 11-04-2009, 05:39 PM   #73
Fortuitously Here
LQ Newbie
 
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
Both. I have one slackware 13 for me which I startx as required. Run level 4 for ease of use of the family on another.

(And a quiet hello and thanks for much lurked help over time).
 
Old 11-04-2009, 05:43 PM   #74
Josh000
Member
 
Registered: Aug 2009
Distribution: Slackware 13 64bit
Posts: 534

Rep: Reputation: 35
startx

It really suits me well that I don't need X for much.

I setup about 7 virtual consoles, and can do stuff in each of them. Play mp3's, chat on msn, use torrents, and use the various programs I need to. I only really use startx if I want to watch a movie while something is playing, or need firefox.
 
Old 11-12-2009, 04:00 PM   #75
tmfizzle
Member
 
Registered: Nov 2008
Distribution: slackware 13.37 x86_64 desktop, Slackware-current on laptop
Posts: 43

Rep: Reputation: 2
startx for me, it confuses the hell out of anyone who has no idea wtf they are doing.
 
  


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
cannot boot into runlevel 5? chars098 SUSE / openSUSE 2 10-28-2007 09:31 AM
runlevel 4 startx question tramni1980 Slackware 12 08-27-2007 04:32 AM
Runlevel to NOT startx bluethundr Debian 3 09-27-2005 02:52 AM
pass "startx" argument while running runlevel 5? kpachopoulos Linux - General 2 07-03-2005 09:29 AM
can't boot into runlevel 1 Eunsuk Kang Linux - General 1 09-30-2004 08:12 AM

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

All times are GMT -5. The time now is 08:24 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
Open Source Consulting | Domain Registration