Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

starting startx automatically

61 views
Skip to first unread message

Raghul

unread,
Mar 3, 2005, 11:03:32 PM3/3/05
to
Hi friends.
I am new to Slackware. I want to start my x-window
automatically when system boots it goes to console login and after that
i type kdm or startx to start my server. Is there any way to start it
automatically.Pls help me

Thanks in advance

Shane (aka froggy)

unread,
Mar 3, 2005, 11:08:32 PM3/3/05
to

As root edit /etc/inittab
change the default runlevel from 3 to 4
ie.
# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:

HTH

--

Hardware, n.: The parts of a computer system that can be kicked

Raghul

unread,
Mar 4, 2005, 12:50:23 AM3/4/05
to
thanks ya it works and one more when I shutdown thw computer the
system is not totatly powered off it is in the power mode with
system halted .how to power off the system

master

unread,
Mar 4, 2005, 2:30:38 AM3/4/05
to

edit /etc/rc.d/rc.modules and change:

#### APM support ###
# APM is a BIOS specification for saving power using several different
# techniques. This is mostly useful for battery powered laptops.
#/sbin/modprobe apm

to

#### APM support ###
# APM is a BIOS specification for saving power using several different
# techniques. This is mostly useful for battery powered laptops.
/sbin/modprobe apm

eneph

unread,
Apr 23, 2005, 10:29:32 PM4/23/05
to
ok well i changed the file so that it starts x automaticly but it
always starts gnome and my pc doesnt have the resources to support it
so it goes VERY slow...how can i get fluxbox to start. i have chosen
it like 3 times in xwmconfig

Message posted via:
=====================
www.linuxpackages.net/forum
www.linuxpackages.net
Expanding the world of Slackware
=====================

Dan L

unread,
Apr 23, 2005, 11:02:38 PM4/23/05
to
eneph wrote:

Check to see if you have a file xinitrc in you home directory. If you do
remove it, then from your home directory create a new symlink to which ever
wm you would like to start, like this:

$ cd ~
$ ln -s /etc/X11/xinitrc.fluxbox xinitrc

This will change the default for your user name only. If you want to change
the entire systems default, then do the same, only in the
folder /etc/X11/xinit.

$ su
$ cd /etc/X11/xinit
$ rm xinitrc
$ ln -s xinitrc.fluxbox xinitrc

good luck! Dan L

Floyd L. Davidson

unread,
Apr 23, 2005, 11:29:35 PM4/23/05
to
Dan L <cheboyganma...@yahaoo.com> wrote:
>eneph wrote:
>
>> ok well i changed the file so that it starts x automaticly but it
>> always starts gnome and my pc doesnt have the resources to support it
>> so it goes VERY slow...how can i get fluxbox to start. i have chosen
>> it like 3 times in xwmconfig
...

> Check to see if you have a file xinitrc in you home directory. If you do
>remove it, then from your home directory create a new symlink to which ever
>wm you would like to start, like this:
>
>$ cd ~
>$ ln -s /etc/X11/xinitrc.fluxbox xinitrc

$ ln -s /etc/X11/xinit/xinitrc.fluxbox ~/.xinitrc

Better yet,

$ cp /etc/X11/xinit/xinitrc.fluxbox ~/.xinitrc

And then edit it as desired. For example, regardless of which
of the xinitrc files is used, the last line to be executed
exec's a window manager. So changing window managers is just a
matter of putting which ever wm is desired there, or setting up
a menu to select one of many.

But before the window manager is exec'd, it is sometimes nice to
initialize a few things, or even start programs. I run xcalc,
and used to run three instances of xterm, from ~/.xinitrc.
Before doing that I run xhost, xset to change the console bell
and the mouse rate, plus xsetroot to set the background color.
YMMV for what is useful or necessary.

Do note that the way to execute any of those programs is like
this,

#
# run the calculator on the right screen
#
if [ -x /usr/X11R6/bin/xcalc ]; then
/usr/X11R6/bin/xcalc -g 390x480--0+-0 &
fi

Note that is verifies the existance and permissions, and then
runs the program with '&' so that it is asynchronous. That last
is essential, because if for some reason the program hangs, it
won't hang the startup of X (in a way that would be very hard
to determine the cause for too).

--
Floyd L. Davidson <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) fl...@barrow.com

Dan L

unread,
Apr 23, 2005, 11:50:38 PM4/23/05
to
Floyd L. Davidson wrote:

right, I missed that, the file needs to be .xinitrc not xinitrc.

lh

unread,
Apr 24, 2005, 1:13:24 AM4/24/05
to

Floyd,

The above is one of the best explanations of "How do I do this or that?"
that I've seen in a very long time.

I just recently started reading this group, though I've been using
Slackware for several years now. I've already helped to solve a sound
problem for myself as well as at least one other that I know about. I
think I'm going to find this group very educational.

Matthew .....

Floyd L. Davidson

unread,
Apr 24, 2005, 5:03:18 AM4/24/05
to
lh <l...@adsl.net> wrote:
>On Sat, 23 Apr 2005 19:29:35 -0800, Floyd L. Davidson wrote:
>
>> Better yet,
>>
>> $ cp /etc/X11/xinit/xinitrc.fluxbox ~/.xinitrc
...

>Floyd,
>
>The above is one of the best explanations of "How do I do this or that?"
>that I've seen in a very long time.

Thank you! To be honest, I think you'll find that a large number of
people here regularly contribute superb technical articles.

>I just recently started reading this group, though I've been using
>Slackware for several years now. I've already helped to solve a sound
>problem for myself as well as at least one other that I know about. I
>think I'm going to find this group very educational.

This newsgroup is a wierd place, to put it mildly. Even though
the signal to noise ratio is poor, the quality of some of the
signal is indeed just fabulous. Listening to the noise between
bursts of signal can be really trying though. And unfortunately
a killfile won't work well because some of the same people
produce the worst noise as well as the best signal.

Even at that, the noise here is certainly less offensive now
than it was a couple years ago.

Whatever... the filter between your ears is the one that counts
here!

Leo (Bing) Whiteway

unread,
Apr 24, 2005, 11:57:23 AM4/24/05
to
I don't know if this will help but for my system to show kde instead of Gnome as
first choice, I edited the file:
/etc/rc.d/rc.4
so that KDE was the first choice in the file.
If you could move the lines that have to do with fluxbox, I think that might fix it.

--
Leo in Canada:
A computer without Microsoft is like a chocolate cake without mustard.
< running Slackware 10.1 Linux >

Theodore Heise

unread,
May 7, 2005, 12:52:02 PM5/7/05
to
On Sun, 24 Apr 2005 01:03:18 -0800,
Floyd L. Davidson <fl...@barrow.com> wrote:

> lh <l...@adsl.net> wrote:
>
>>I just recently started reading this group, though I've been
>>using Slackware for several years now. I've already helped to
>>solve a sound problem for myself as well as at least one other
>>that I know about. I think I'm going to find this group very
>>educational.
>
> This newsgroup is a wierd place, to put it mildly. Even though
> the signal to noise ratio is poor, the quality of some of the
> signal is indeed just fabulous. Listening to the noise between
> bursts of signal can be really trying though. And unfortunately
> a killfile won't work well because some of the same people
> produce the worst noise as well as the best signal.

Great description, Floyd. I've almost never used the traditional
killfile approach, but make an exception for the rm thing in this
group.

I read most of the posts in threads that interest me, but I try to
read *all* posts from those who seem to me to have been consistent
contributors. The score function in slrn is helpful for this.
Here's my list:

Chris F\.A\. Johnson" <cfajohnson@gmail\.com>
Joost Kremers <joostkremers@yahoo\.com>
Sylvain Robitaille <syl@alcor\.concordia\.ca>
William Park <opengeometry@yahoo\.ca>
floyd@barrow\.com (Floyd L\. Davidson)

I almost always learn something about Slackware from these
posters. Thanks to all of you! Don't see much from Chris, but
his posts are generally gold. I also enjoy your posts in
comp.dcom.telecom.tech. :)

There are many others who contribute and I enjoy reading, but not
quite as consistent. Alan Hicks would be on my short list, except
for his "disciple" and occasional tendency to argument.

--
Theodore (Ted) Heise <th...@heise.nu> Bloomington, IN, USA

0 new messages