Remote Exploit Forums

Go Back   Remote Exploit Forums > BackTrack 4 (pre) Final


BackTrack 4 (pre) Final BackTrack 4 (pre) Final Forums

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-18-2009, 02:42 PM
Just burned his ISO
 
Join Date: Sep 2009
Posts: 4
Wink X11 auto start on bt4

OK,
lets do our bt4 pre-final to run the "startx" command
create a new text file on your desktop and name it "xstrup.sh"
open it wit a text editor and write:
Code:
#!/bin/sh
stratx
and save it.
then open a terminal.Run the following commands:
Code:
cd
chmod +x xstrup.sh
sudo cp xstrup.sh /etc/init.d/
DONE!!!
__________________
Intel Core 2 Duo @ 2.83, NVidia GeForce 9800 GT @ 602 MHz
Dual Boot: Backtrack 4 Pre-Final, Windows XP Pro
Reply With Quote
  #2 (permalink)  
Old 10-18-2009, 03:08 PM
Snayler's Avatar
Senior Member
 
Join Date: Jul 2009
Location: World
Posts: 360
Default

An easiest way would be

nano /root/.bash_profile
startx
save, exit, reboot.

(Info from here)

Last edited by Snayler; 10-18-2009 at 03:11 PM.
Reply With Quote
  #3 (permalink)  
Old 10-18-2009, 09:45 PM
Junior Member
 
Join Date: Oct 2009
Posts: 8
Default

Or maybe change the default runlevel to 4

/etc/inittab:
id:4:initdefault:

This will start kdm what you can configure from kde to log on automatically as a specified user
Reply With Quote
  #4 (permalink)  
Old 10-19-2009, 06:40 PM
Junior Member
 
Join Date: Oct 2008
Posts: 28
Default

Quote:
Originally Posted by blackhatdbl View Post
OK,
lets do our bt4 pre-final to run the "startx" command
create a new text file on your desktop and name it "xstrup.sh"
open it wit a text editor and write:
Code:
#!/bin/sh
stratx
and save it.
then open a terminal.Run the following commands:
Code:
cd
chmod +x xstrup.sh
sudo cp xstrup.sh /etc/init.d/
DONE!!!
Done? are you sure? Did you forget all about /etc/init.d/skel and update-rc.d?


Quote:
Originally Posted by darkdog8157 View Post
Or maybe change the default runlevel to 4

/etc/inittab:
id:4:initdefault:

This will start kdm what you can configure from kde to log on automatically as a specified user

In Debian based distros there is no default run level for graphical mode unlike some others.

For more information about runlevels in Debian: An introduction to run-levels

The preferred method of getting xserver to boot on startup is via the installation of a graphical display manager.

Code:
# aptitude install kdm
The postinst script of the package will automatically add it to the default runlevel.
Reply With Quote
  #5 (permalink)  
Old 10-20-2009, 12:16 AM
Junior Member
 
Join Date: Oct 2009
Posts: 8
Default

Quote:
Originally Posted by Titan8990 View Post
In Debian based distros there is no default run level for graphical mode unlike some others.
Sorry, that was for bt3..
Reply With Quote
  #6 (permalink)  
Old 10-20-2009, 03:10 PM
Junior Member
 
Join Date: Oct 2008
Posts: 28
Default

Yep, Slackware based distros do have a graphical run level.
Reply With Quote
  #7 (permalink)  
Old 10-28-2009, 12:38 PM
Just burned his ISO
 
Join Date: Aug 2008
Posts: 1
Default

Install kdm, and then, in sysv-rc-conf select kdm to run in run level 2
Reply With Quote
  #8 (permalink)  
Old 10-28-2009, 03:17 PM
Junior Member
 
Join Date: Oct 2008
Posts: 28
Default

Quote:
in sysv-rc-conf select kdm to run in run level 2
Why not just add it the default run level and leave it at that? Must we hack around configuration files when we don't need to?

double post, disregard

Last edited by lupin; 10-28-2009 at 03:41 PM.
Reply With Quote
  #9 (permalink)  
Old 10-29-2009, 04:48 PM
xCPPx's Avatar
Senior Member
 
Join Date: Nov 2007
Location: Cyberspace
Posts: 175
Default

Having installed kdm myself, and set the runlevel to 5 upon boot, has anybody noticed that certain environment variables are being changed and/or reset? I.e. the $PATH no longer reflects whatever is written in /etc/environment. Try logging in on another tty (ctrl+alt+F2) and you'll get proper variables, unlike in the X.
__________________
I shall conquer the world... with kindness.
Reply With Quote
  #10 (permalink)  
Old 11-11-2009, 06:04 PM
athacks's Avatar
Senior Member
 
Join Date: Jul 2009
Posts: 147
Send a message via MSN to athacks
Default

Or place a link to x11 on KDE startup directory . . . (noob friendly)
__________________
Alienware M17x - Intel Core 2 Quad Extreme QX9300
Dual Nvidia GeForce GTX 280M GPUs
8GB DDR3-1333 RAM
Dual 500GB
Reply With Quote
Reply

Bookmarks

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

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



All times are GMT. The time now is 02:27 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2