Page 1 of 1

problems with booting to nox

Posted: Fri Jun 18, 2021 3:40 pm
by helloworld

i booted into the nox,then ran startx to gui environmen,it work well,when i shutdowned from gui,it gent into nox command line console,so i had to type poweroff to shutdown.
i made some aliases in .bashrc,but in nox console,i typed my alias,it couldn't be identified,like the system didn't read the .bashrc file when i went into nox console.

in gui,i opened terminal ,ran su spot ,then ran env ,i got env from root not spot,so ,i had to modify some envs' contents,found string "root",replaced into "home/spot",then exported them by writing a script in which export commands were included before a app command,then ran the script from terminal under spot ,or i couldn't run many apps under spot.By the way .no .bashrc file existed in spot home directory


Re: problems with booting to nox

Posted: Sat Jun 19, 2021 3:35 am
by bigpup

Why are you even booting into no X?

The commands in Puppy are xwin not startx .
wmpoweroff not poweroff.


Re: problems with booting to nox

Posted: Sat Jun 19, 2021 5:34 am
by helloworld
bigpup wrote: Sat Jun 19, 2021 3:35 am

Why are you even booting into no X?

The commands in Puppy are xwin not startx .
wmpoweroff not poweroff.

if you boot into nox,then startx,then click shudown ,it will go into commandline consoleand you have to type poweroff (wmpoweroff doesn't work here)to continue to shudown,but,if you boot directly to gui ,then click shutdown,it will shudown.

about xwin,i think i got why puppy cant not identiy my display,when i boot into nox,then startx ,my display will show things,but if i type xwin,my display is blank and black.If i restart into nox or gui,my display cannot still be identified.so ,that means if you just used the xwin command once ,then whatever you are gonna use,startx or xwin,my display will still keep blank and black.So, i think startx and xwin ,they may conflict each other ,i dont know how they did to my puppy .For me ,the only solution is to use ony startx ,never touch xwin.

about wallpaper on two displays,when i disable one display,the wallpaper doesn't automatically adjust itself to fit my display in work


Re: problems with booting to nox

Posted: Sat Jun 19, 2021 8:17 am
by bigpup

Answer these questions?
viewtopic.php?f=2&t=218

I still need an answer as to why you are booting using nox boot option?
Why you are not using normal boot to desktop?


Re: problems with booting to nox

Posted: Sat Jun 19, 2021 8:47 am
by helloworld
bigpup wrote: Sat Jun 19, 2021 8:17 am

Answer these questions?
viewtopic.php?f=2&t=218

I still need an answer as to why you are booting using nox boot option?
Why you are not using normal boot to desktop?

sorry,here are more details:fossapup 9.5,frugal install,on sata harddisk, dektop pc,
i use ecyptfs to encrypt something like wallpaper and etc,before i go into gui ,i need first discrypt my folder,so my wallpaper and can be loaded, and other files encrypt ed can be accessed,like some password files.


Re: problems with booting to nox

Posted: Sat Jun 19, 2021 7:28 pm
by williwaw

my alias (and prompts) work when placed in /etc/profile but not from /root/.bashrc.

.bashrc does work in a terminal emulator in x


Re: problems with booting to nox

Posted: Sun Jun 20, 2021 12:36 am
by bigpup

williwaw, make your own topic talking about your issues.
there is no way, talking about two completely different setups, is going to do any thing but get confusing!!


Re: problems with booting to nox

Posted: Sun Jun 20, 2021 1:21 am
by bigpup

i use ecyptfs to encrypt something like wallpaper and etc,before i go into gui ,i need first discrypt my folder,so my wallpaper and can be loaded, and other files encrypt ed can be accessed,like some password files.

I guess you do not want to make an encrypted save file, using what is already in Fossapup64 9.5?
Just have everything in it.
So, when it boots and gets to loading the save.
You have to provide a password to use the save.

Screenshot(2).jpg
Screenshot(2).jpg (27.19 KiB) Viewed 306 times

Re: problems with booting to nox

Posted: Sun Jun 20, 2021 4:33 am
by helloworld
bigpup wrote: Sun Jun 20, 2021 1:21 am

i use ecyptfs to encrypt something like wallpaper and etc,before i go into gui ,i need first discrypt my folder,so my wallpaper and can be loaded, and other files encrypt ed can be accessed,like some password files.

I guess you do not want to make an encrypted save file, using what is already in Fossapup64 9.5?
Just have everything in it.
So, when it boots and gets to loading the save.
You have to provide a password to use the save.
Screenshot(2).jpg

i prefer using save-folder,luks encryption is only for save-file,so i choose ecryptfs,Mybe, puppy linux developers can consider making save folder encrypted in the future.but i dont know if it is possible.


Re: problems with booting to nox

Posted: Sun Jun 20, 2021 5:58 am
by helloworld
williwaw wrote: Sat Jun 19, 2021 7:28 pm

my alias (and prompts) work when placed in /etc/profile but not from /root/.bashrc.

.bashrc does work in a terminal emulator in x

thanks,modifying etc/profile works ,no matter i am in nox console or terminal of X.And one point:please use 'su spot -l" rather than 'su spot ',i f you want alias or PS1-prompt env to work under spot.if you wanna run gui apps under `su spot -l`,run `xhost +` first,but it will show" xhost: unable to open display "" ",so `export DISPLAY=":0"` to make it work.