Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i've been install puppy on trancend flash 256mb with 1 partition but every load after powerdown my puppy just show prompth without gui
any body to help me ?
(assuming the startx command is located at /usr/bin/startx: 'which startx' will tell you where it is)
For more informations, you can do:
man inittab
(assuming the man pages are installed)
tks for your answer, but i have condition like this =>in bios setting i put AC power loss auto start enable so when pc going to power down/power fail and up again i hope puppy back to desktop/gui again but it doesn't,puppy just show prompt....
can you help me to solve the problem so i get puppy desktop whatever condition ?tks any way
no it doesn't, in line 7 when reboot after i plug-in the power cord mention about bad inittab entry and prompt again,honestly puppy was insttaled on flash ide 256mb and the pc always run 24 hour a day and if power fail and up again the puppy must be run with desktop/xwin. any suggestion ?
In Puppy, Barry has devised a method to determine if this is the first login since bootup and if so, it automatically runs xwin. So this is how we are able to go straight into the desktop when the boot process completes.
Can you please post your /etc/profile?
Oh and put back your old inittab since this is not going to solve your problem.
if [ -e /usr/lib/mozilla ];then
LD_LIBRARY_PATH="/usr/lib/mozilla:$LD_LIBRARY_PATH"
fi
if [ -e /usr/lib/qt ];then #do not use -d as qt may be link?
QTDIR=/usr/lib/qt
export QTDIR
PATH=$QTDIR/bin:$PATH
LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
fi
if [ -d /usr/local/kde/bin ];then
PATH="/usr/local/kde/bin:$PATH"
LD_LIBRARY_PATH="/usr/local/kde/lib:$LD_LIBRARY_PATH"
fi
export QT_XFT=true #v2.12
#v2.10 T2 firefox, nvu, thunderbird install into /opt...
if [ -d /opt/mozilla.org/bin ];then
PATH="/opt/mozilla.org/bin:$PATH"
fi
export PATH LD_LIBRARY_PATH
#this line gets edited by chooselocale script...
LANG=en_US
export LANG
TZ="`cat /etc/TZ | tr -d "\n"`"
export TZ
#this is for antialiased fonts in gtk1 apps...
#LD_PRELOAD=/usr/lib/libgdkxft.so
#export LD_PRELOAD
#WISH mini-console needs this...
HOSTNAME="`cat /etc/hostname | tr -d "\n"`"
export HOSTNAME
#Quisp database needs this...
SHSQL_DB="/root/ghttpd/quisp"
export SHSQL_DB
#SHELL="/bin/bash"
#export SHELL
#...this causes a problem with characters in text-mode apps running in rxvt. for example, in mp
#a vertical line character displays as a 3. so leave the default shell as Busybox sh.
#...no, have a fix, from alienX. added TERM=xterm to /root/.bashrc.
#v2.0.0 additional note: now have /bin/sh a symlink to /bin/bash, so above not used.
#v1.0.5
#Sylpheed 2.0.1 requires this (also some other gtk2 apps)...
export G_FILENAME_ENCODING=@locale
#v1.0.6
#sylpheed uses metamail which requires this...
export MM_RUNASROOT=1
#v2.12
#xorgwizard creates this file, run once only...
if [ ! -f /tmp/bootcnt.txt ];then
[ -f /etc/resolutionfix ] && eval `cat /etc/resolutionfix`
fi
if [ ! -f /usr/X11R7/bin/X ];then
#v2.00r1 now support a text-mode-only puppy...
if [ -f /usr/local/bin/elinks ];then
if [ ! -f /tmp/bootcnt.txt ];then
touch /tmp/bootcnt.txt
exec /usr/local/bin/elinks file:///usr/share/doc/index.html
fi
else
echo
echo "\\033[1;31mSorry, cannot start X. Link /usr/X11R7/bin/X missing."
echo -n "(suggestion: type 'xorgwizard' to run the Xorg Video Wizard)"
echo -e "\\033[0;39m"
fi
else
#want to go straight into X on bootup only...
if [ ! -f /tmp/bootcnt.txt ];then
touch /tmp/bootcnt.txt
# aplay -N /usr/share/audio/bark.au
dmesg > /tmp/bootkernel.log
exec xwin
fi
fi
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.