Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Debian Linux Help
Reload this Page making "startx" run on startup
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Debian Linux Help Discussions related to Debian GNU/Linux.

Reply
 
Thread Tools Display Modes
Old 05-13-2008   #1 (permalink)
thesimplecreator
Linux Newbie
 
thesimplecreator's Avatar
 
Join Date: Jun 2007
Location: washington , USA
Posts: 166
Send a message via MSN to thesimplecreator
making "startx" run on startup

I have debian 4.0 business card install installed in qemu on my computer.
Ive installed xfce and everything works perfect.
Except when i log in i have to type in
Code:
startx
I know theres a way to add it to the startup script ,or whatever its called,
but i just dont know how.
Thanks
__________________
Microsoft isn't evil, they just make really crappy operating systems.
Linus Torvalds

registered Linux user number 456650
Proud user of Debian
thesimplecreator is offline   Reply With Quote
Old 05-13-2008   #2 (permalink)
iwanabeguru
Linux User
 
Join Date: Feb 2006
Posts: 391
Send a message via MSN to iwanabeguru
hi

check the default runlevel in the /etc/inittab file of your debian installation ,probably it is 2.

then you must make a symlink into on of the /etc/rcX.d directory
X means the run level wich you have find out.

I'm not sure but i guess xfce uses xdm desktop manager.

So.

Look for this line
Code:
# The default runlevel.
id:2:initdefault:
making symlink
Code:
ln -s /etc/init.d/xdm /etc/rc2.d/S99xdm
iwanabeguru is offline   Reply With Quote
Old 05-13-2008   #3 (permalink)
daark.child
Linux Guru
 
daark.child's Avatar
 
Join Date: Apr 2006
Location: South Yorks, UK
Posts: 3,243
You need to install a login manager e.g. gdm and then do
Code:
#update-rc.d gdm defaults
Your system will then automatically start X at bootup.
daark.child is offline   Reply With Quote
Old 05-13-2008   #4 (permalink)
thesimplecreator
Linux Newbie
 
thesimplecreator's Avatar
 
Join Date: Jun 2007
Location: washington , USA
Posts: 166
Send a message via MSN to thesimplecreator
thank you guys,
I tried daark.child's idea and it worked perfect.
__________________
Microsoft isn't evil, they just make really crappy operating systems.
Linus Torvalds

registered Linux user number 456650
Proud user of Debian
thesimplecreator is offline   Reply With Quote
Old 05-16-2008   #5 (permalink)
geniuz
Just Joined!
 
geniuz's Avatar
 
Join Date: Mar 2008
Location: Netherlands, Europe
Posts: 64
Send a message via MSN to geniuz
Yes, indeed the only to achieve running x on startup is to have a login manager installed, however, when installing gdm you will end up with a lot of gnome-libraries you probably don't need when you use xfce or kde for example, in that case I would rather recommend slim...a very lightweigt login manager
__________________
Distribution: Arch Linux
http://www.geniuz.org <-- linux help, how to's and much more interesting stuff, check it out !!
geniuz is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 11:55 AM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0