PDA

View Full Version : [kubuntu] How to Start Full X Session...?



packet123
February 9th, 2009, 10:16 AM
Hello All,

I am Using Kubuntu...(kubuntu8.10 from pendrivelinux.com ) I am booting Kubuntu from the 2 gb Pen drive
and in the starting it will give a 12 different options to boot .

Like as follows
ADRIANE

1 Press Enter for a help
2
3
4
5
6
7
8
9
10
11
12

in the 10 th option there is a full x session ...

My question is How to skip all these steps and to start full x session without any entering from the keyboard option ?

Is thgis possible to boot directly to X session ?
is there any files to add or to edit in the booting ?
If yes please guide me in steps ?

thanks

adamlau
February 9th, 2009, 10:24 AM
Not sure how the pendrive works, but you typically (if no xdm/gdm/kdm) add the following to your ~/.bash_profile


if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/vc/1 ]]; then
startx
logout
fi

And the following to your ~/.xinitrc


exec startkde

kerry_s
February 9th, 2009, 10:32 AM
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/vc/1 ]]; then
startx
logout
fi

that's for arch, the *buntu's use tty:


if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
startx
logout
fi


My question is How to skip all these steps and to start full x session without any entering from the keyboard option ?


those look like boot options, do you know what boot loader it uses?
look in /boot

packet123
February 9th, 2009, 01:25 PM
Hi,

Its simple thing to boot from pendrive follow the instructions from this link you will get a pend drive kubuntu linux ....
http://www.pendrivelinux.com/usb-kubuntu-810-persistent-install-using-windows/
(http://www.pendrivelinux.com/usb-kubuntu-810-persistent-install-using-windows/)
It has boot loader syslinux.cfg ... what i need to change in that ?

Is there any option to put my script that will run Before the boot or after the boot ? (Note : please go through one of my Thread Another solution..!!!)