problems with booting to nox

Moderators: 666philb, Forum moderators

Post Reply
helloworld
Posts: 76
Joined: Thu Sep 24, 2020 3:53 am
Has thanked: 10 times
Been thanked: 9 times

problems with booting to nox

Post 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

Last edited by helloworld on Wed Jun 23, 2021 8:25 am, edited 1 time in total.
User avatar
bigpup
Moderator
Posts: 6336
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 746 times
Been thanked: 1308 times

Re: problems with booting to nox

Post by bigpup »

Why are you even booting into no X?

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

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

helloworld
Posts: 76
Joined: Thu Sep 24, 2020 3:53 am
Has thanked: 10 times
Been thanked: 9 times

Re: problems with booting to nox

Post 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

User avatar
bigpup
Moderator
Posts: 6336
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 746 times
Been thanked: 1308 times

Re: problems with booting to nox

Post 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?

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

helloworld
Posts: 76
Joined: Thu Sep 24, 2020 3:53 am
Has thanked: 10 times
Been thanked: 9 times

Re: problems with booting to nox

Post 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.

williwaw
Posts: 1628
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 147 times
Been thanked: 295 times

Re: problems with booting to nox

Post 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

Last edited by williwaw on Sun Jun 20, 2021 1:38 am, edited 2 times in total.
User avatar
bigpup
Moderator
Posts: 6336
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 746 times
Been thanked: 1308 times

Re: problems with booting to nox

Post 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!!

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
bigpup
Moderator
Posts: 6336
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 746 times
Been thanked: 1308 times

Re: problems with booting to nox

Post 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 296 times

Forum Global Moderator
The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

helloworld
Posts: 76
Joined: Thu Sep 24, 2020 3:53 am
Has thanked: 10 times
Been thanked: 9 times

Re: problems with booting to nox

Post 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.

helloworld
Posts: 76
Joined: Thu Sep 24, 2020 3:53 am
Has thanked: 10 times
Been thanked: 9 times

Re: problems with booting to nox

Post 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.

Post Reply

Return to “Fossapup64”