PrimeGrid
Please visit donation page to help the project cover running costs for this month

Toggle Menu

Join PrimeGrid

Returning Participants

Community

Leader Boards

Results

Other

drummers-lowrise

Advanced search

Message boards : Project Staging Area : prp on Debian command line

Author Message
Profile DingoProject donor
Avatar
Send message
Joined: 11 Aug 05
Posts: 106
ID: 125
Credit: 572,228,149
RAC: 3,313,966
Discovered 2 mega primesDiscovered 1 AP26Found 2 primes in the 2019 Tour de PrimesFound 3 primes in the 2021 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (4,756,198)Cullen LLR Ruby: Earned 2,000,000 credits (2,174,951)ESP LLR Ruby: Earned 2,000,000 credits (3,423,533)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,396,998)PPS LLR Sapphire: Earned 20,000,000 credits (29,906,122)PSP LLR Ruby: Earned 2,000,000 credits (2,199,495)SoB LLR Turquoise: Earned 5,000,000 credits (5,071,175)SR5 LLR Jade: Earned 10,000,000 credits (10,233,961)SGS LLR Ruby: Earned 2,000,000 credits (2,914,822)TPS LLR (retired) Bronze: Earned 10,000 credits (53,832)TRP LLR Turquoise: Earned 5,000,000 credits (5,287,087)Woodall LLR Ruby: Earned 2,000,000 credits (2,018,846)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,206,940)Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (112,575)Generalized Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (259,359)PPS Sieve Emerald: Earned 50,000,000 credits (68,955,443)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Gold: Earned 500,000 credits (556,604)TRP Sieve (suspended) Silver: Earned 100,000 credits (152,538)AP 26/27 Emerald: Earned 50,000,000 credits (74,323,989)GFN Double Bronze: Earned 100,000,000 credits (187,796,341)WW Emerald: Earned 50,000,000 credits (83,976,000)PSA Emerald: Earned 50,000,000 credits (83,637,553)
Message 106099 - Posted: 16 Mar 2017 | 21:30:03 UTC
Last modified: 16 Mar 2017 | 21:47:17 UTC

I would like to participate in the Happy St Patrick's Equinox Challenge so I installed prp-net on a Debian 8 Jessie server but it is command line only there is no gui.

When I ran sh 8-oct-start-prpclient.sh I got this error

~/prp-net/prpclient-1 ~/prp-net ~/prp-net ~/prp-net/prpclient-2 ~/prp-net ~/prp-net ~/prp-net/prpclient-3 ~/prp-net 8-oct-start-prpclient.sh: line 2: xterm: command not found ~/prp-net ~/prp-net/prpclient-4 ~/prp-net 8-oct-start-prpclient.sh: line 2: xterm: command not found ~/prp-net ~/prp-net/prpclient-5 ~/prp-net 8-oct-start-prpclient.sh: line 2: xterm: command not found ~/prp-net ~/prp-net/prpclient-6 ~/prp-net 8-oct-start-prpclient.sh: line 2: xterm: command not found ~/prp-net 8-oct-start-prpclient.sh: line 2: xterm: command not found ~/prp-net/prpclient-7 ~/prp-net ~/prp-net ~/prp-net/prpclient-8 ~/prp-net 8-oct-start-prpclient.sh: line 2: xterm: command not found ~/prp-net 8-oct-start-prpclient.sh: line 2: xterm: command not found root@dingo1:~/prp-net# 8-oct-start-prpclient.sh: line 2: xterm: command not found


I installed xterm and added a file called .Xresources but it still did not work and got this error:

root@dingo1:~/prp-net# sh 8-oct-start-prpclient.sh ~/prp-net/prpclient-1 ~/prp-net ~/prp-net ~/prp-net/prpclient-2 ~/prp-net ~/prp-net ~/prp-net/prpclient-3 ~/prp-net ~/prp-net ~/prp-net/prpclient-4 ~/prp-net ~/prp-net ~/prp-net/prpclient-5 ~/prp-net ~/prp-net ~/prp-net/prpclient-6 ~/prp-net ~/prp-net ~/prp-net/prpclient-7 ~/prp-net ~/prp-net ~/prp-net/prpclient-8 ~/prp-net ~/prp-net root@dingo1:~/prp-net# Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. xterm: Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. Xt error: Can't open display: %s xterm: Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. Xt error: Can't open display: %s xterm: xterm: Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. xterm: xterm: Xt error: Can't open display: %s DISPLAY is not set Xt error: Can't open display: %s xterm: Xt error: Can't open display: %s xterm: xterm: xterm: Xt error: Can't open display: %s Xt error: Can't open display: %s xterm: xterm: xterm: DISPLAY is not set DISPLAY is not set DISPLAY is not set xterm: DISPLAY is not set DISPLAY is not set DISPLAY is not set Warning: This program is an suid-root program or is being run by the root user. The full text of the error or warning message cannot be safely formatted in this environment. You may get a more descriptive message by running the program as a non-root user or by removing the suid bit on the executable. xterm: Xt error: Can't open display: %s xterm: DISPLAY is not set


Is there a command line version of the code in 8-oct-start-prpclient.sh that will work without xterm ?/
____________

Proud Founder of
Have a look at my WebCam

Profile DingoProject donor
Avatar
Send message
Joined: 11 Aug 05
Posts: 106
ID: 125
Credit: 572,228,149
RAC: 3,313,966
Discovered 2 mega primesDiscovered 1 AP26Found 2 primes in the 2019 Tour de PrimesFound 3 primes in the 2021 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (4,756,198)Cullen LLR Ruby: Earned 2,000,000 credits (2,174,951)ESP LLR Ruby: Earned 2,000,000 credits (3,423,533)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,396,998)PPS LLR Sapphire: Earned 20,000,000 credits (29,906,122)PSP LLR Ruby: Earned 2,000,000 credits (2,199,495)SoB LLR Turquoise: Earned 5,000,000 credits (5,071,175)SR5 LLR Jade: Earned 10,000,000 credits (10,233,961)SGS LLR Ruby: Earned 2,000,000 credits (2,914,822)TPS LLR (retired) Bronze: Earned 10,000 credits (53,832)TRP LLR Turquoise: Earned 5,000,000 credits (5,287,087)Woodall LLR Ruby: Earned 2,000,000 credits (2,018,846)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,206,940)Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (112,575)Generalized Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (259,359)PPS Sieve Emerald: Earned 50,000,000 credits (68,955,443)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Gold: Earned 500,000 credits (556,604)TRP Sieve (suspended) Silver: Earned 100,000 credits (152,538)AP 26/27 Emerald: Earned 50,000,000 credits (74,323,989)GFN Double Bronze: Earned 100,000,000 credits (187,796,341)WW Emerald: Earned 50,000,000 credits (83,976,000)PSA Emerald: Earned 50,000,000 credits (83,637,553)
Message 106110 - Posted: 17 Mar 2017 | 1:45:25 UTC
Last modified: 17 Mar 2017 | 1:46:07 UTC

I deleted everything and tried another server. I have created a user called prp and I have downloaded all the files OK to a folder under /home/prp

prp@dingo7:~/prp-net/prpclient-5.4.0a-linux_64$ ls 12-dodeca-install-prpclient.sh 12-dodeca-start-prpclient.sh 12-dodeca-update-prpclient-ini.sh 16-hexadeca-install-prpclient.sh 16-hexadeca-start-prpclient.sh 16-hexadeca-update-prpclient-ini.sh 1-single-install-prpclient.sh 1-single-start-prpclient.sh 1-single-update-prpclient-ini.sh 2-dual-install-prpclient.sh 2-dual-start-prpclient.sh 2-dual-update-prpclient-ini.sh 4-quad-install-prpclient.sh 4-quad-start-prpclient.sh 4-quad-update-prpclient-ini.sh 6-hex-install-prpclient.sh 6-hex-start-prpclient.sh 6-hex-update-prpclient-ini.sh 8-oct-install-prpclient.sh 8-oct-start-prpclient.sh 8-oct-update-prpclient-ini.sh master_prpclient.ini programs prpnet_servers.txt readme_primegrid.txt stop-prpclient.sh


I have modified the master_prpclient.ini but when I try and run "sudo sh 8-oct-start-prpclient.sh" it creates a directory called "prpclient-{1..8}" with just one lot of executables instead of the eight folders with the executables.


prp@dingo7:~/prp-net/prpclient-5.4.0a-linux_64$ ls
12-dodeca-install-prpclient.sh
12-dodeca-start-prpclient.sh
12-dodeca-update-prpclient-ini.sh
16-hexadeca-install-prpclient.sh
16-hexadeca-start-prpclient.sh
16-hexadeca-update-prpclient-ini.sh
1-single-install-prpclient.sh
1-single-start-prpclient.sh
1-single-update-prpclient-ini.sh
2-dual-install-prpclient.sh
2-dual-start-prpclient.sh
2-dual-update-prpclient-ini.sh
4-quad-install-prpclient.sh
4-quad-start-prpclient.sh
4-quad-update-prpclient-ini.sh
6-hex-install-prpclient.sh
6-hex-start-prpclient.sh
6-hex-update-prpclient-ini.sh
8-oct-install-prpclient.sh
8-oct-start-prpclient.sh
8-oct-update-prpclient-ini.sh
master_prpclient.ini
programs
prpclient-{1..8}
prpnet_servers.txt
readme_primegrid.txt
stop-prpclient.sh


prp@dingo7:~/prp-net/prpclient-5.4.0a-linux_64$ cd "prpclient-{1..8} > ^C prp@dingo7:~/prp-net/prpclient-5.4.0a-linux_64$ cd "prpclient-{1..8}" prp@dingo7:~/prp-net/prpclient-5.4.0a-linux_64/prpclient-{1..8}$ ls llr prpclient readme_pfgw.txt readme_wwww.txt wwww wwww.ini pfgw64 readme_llr.txt readme_prpclient.txt startx.sh wwwwcl


I am not going any further as I have spent a lot of time today trying to get this to work.

Any help would be appreciated.

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 13804
ID: 53948
Credit: 345,369,032
RAC: 1,967
The "Shut up already!" badge:  This loud mouth has mansplained on the forums over 10 thousand times!  Sheesh!!!Discovered the World's First GFN-19 prime!!!Discovered 2 mega primesFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 1 prime in the 2020 Tour de PrimesFound 2 primes in the 2021 Tour de PrimesFound 2 primes in the 2022 Tour de PrimesFound 1 mega prime in the 2022 Tour de PrimesFound 1 prime in the 2022 Tour de Primes Mountain Stage321 LLR Turquoise: Earned 5,000,000 credits (6,638,389)Cullen LLR Turquoise: Earned 5,000,000 credits (5,038,114)ESP LLR Turquoise: Earned 5,000,000 credits (6,177,890)Generalized Cullen/Woodall LLR Turquoise: Earned 5,000,000 credits (5,094,541)PPS LLR Sapphire: Earned 20,000,000 credits (23,642,050)PSP LLR Turquoise: Earned 5,000,000 credits (7,956,186)SoB LLR Sapphire: Earned 20,000,000 credits (36,067,618)SR5 LLR Jade: Earned 10,000,000 credits (12,645,567)SGS LLR Turquoise: Earned 5,000,000 credits (5,037,630)TRP LLR Turquoise: Earned 5,000,000 credits (5,084,329)Woodall LLR Turquoise: Earned 5,000,000 credits (5,032,821)321 Sieve (suspended) Jade: Earned 10,000,000 credits (10,061,196)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,170,256)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,059,304)PPS Sieve Sapphire: Earned 20,000,000 credits (22,885,121)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,035,522)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,051,121)AP 26/27 Jade: Earned 10,000,000 credits (10,902,645)GFN Emerald: Earned 50,000,000 credits (92,455,703)WW Emerald: Earned 50,000,000 credits (65,888,000)PSA Jade: Earned 10,000,000 credits (12,445,029)
Message 106111 - Posted: 17 Mar 2017 | 1:50:58 UTC - in response to Message 106110.

8-oct-install-prpclient.sh
8-oct-start-prpclient.sh
8-oct-update-prpclient-ini.sh

I have modified the master_prpclient.ini but when I try and run "sudo sh 8-oct-start-prpclient.sh" it creates a directory called "prpclient-{1..8}" with just one lot of executables instead of the eight folders with the executables.


You need to run 8-oct-install-prpclient.sh to set up the directories before you can run 8-oct-start-prpclient.sh to invoke them.
____________
My lucky number is 75898524288+1

Profile DingoProject donor
Avatar
Send message
Joined: 11 Aug 05
Posts: 106
ID: 125
Credit: 572,228,149
RAC: 3,313,966
Discovered 2 mega primesDiscovered 1 AP26Found 2 primes in the 2019 Tour de PrimesFound 3 primes in the 2021 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (4,756,198)Cullen LLR Ruby: Earned 2,000,000 credits (2,174,951)ESP LLR Ruby: Earned 2,000,000 credits (3,423,533)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,396,998)PPS LLR Sapphire: Earned 20,000,000 credits (29,906,122)PSP LLR Ruby: Earned 2,000,000 credits (2,199,495)SoB LLR Turquoise: Earned 5,000,000 credits (5,071,175)SR5 LLR Jade: Earned 10,000,000 credits (10,233,961)SGS LLR Ruby: Earned 2,000,000 credits (2,914,822)TPS LLR (retired) Bronze: Earned 10,000 credits (53,832)TRP LLR Turquoise: Earned 5,000,000 credits (5,287,087)Woodall LLR Ruby: Earned 2,000,000 credits (2,018,846)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,206,940)Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (112,575)Generalized Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (259,359)PPS Sieve Emerald: Earned 50,000,000 credits (68,955,443)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Gold: Earned 500,000 credits (556,604)TRP Sieve (suspended) Silver: Earned 100,000 credits (152,538)AP 26/27 Emerald: Earned 50,000,000 credits (74,323,989)GFN Double Bronze: Earned 100,000,000 credits (187,796,341)WW Emerald: Earned 50,000,000 credits (83,976,000)PSA Emerald: Earned 50,000,000 credits (83,637,553)
Message 106115 - Posted: 17 Mar 2017 | 4:28:29 UTC - in response to Message 106111.

Sorry got confused but just tried it again and I did run 8-oct-install-prpclient.sh and that is what created the folder drwxr-xr-x 2 prp prp 4096 Mar 16 23:26 prpclient-{1..8}


prp@dingo7:~/prp-net/prpclient-5.4.0a-linux_64$ sudo sh 8-oct-install-prpclient.sh prp@dingo7:~/prp-net/prpclient-5.4.0a-linux_64$ ls -l total 116 -rwxr-xr-x 1 prp prp 89 Dec 19 2012 12-dodeca-install-prpclient.sh -rwxr-xr-x 1 prp prp 93 Dec 19 2012 12-dodeca-start-prpclient.sh -rwxr-xr-x 1 prp prp 137 Dec 19 2012 12-dodeca-update-prpclient-ini.sh -rwxr-xr-x 1 prp prp 89 Dec 19 2012 16-hexadeca-install-prpclient.sh -rwxr-xr-x 1 prp prp 93 Dec 19 2012 16-hexadeca-start-prpclient.sh -rwxr-xr-x 1 prp prp 137 Dec 19 2012 16-hexadeca-update-prpclient-ini.sh -rwxr-xr-x 1 prp prp 88 Dec 19 2012 1-single-install-prpclient.sh -rwxr-xr-x 1 prp prp 92 Dec 19 2012 1-single-start-prpclient.sh -rwxr-xr-x 1 prp prp 136 Dec 19 2012 1-single-update-prpclient-ini.sh -rwxr-xr-x 1 prp prp 88 Dec 19 2012 2-dual-install-prpclient.sh -rwxr-xr-x 1 prp prp 92 Dec 19 2012 2-dual-start-prpclient.sh -rwxr-xr-x 1 prp prp 136 Dec 19 2012 2-dual-update-prpclient-ini.sh -rwxr-xr-x 1 prp prp 88 Dec 19 2012 4-quad-install-prpclient.sh -rwxr-xr-x 1 prp prp 92 Dec 19 2012 4-quad-start-prpclient.sh -rwxr-xr-x 1 prp prp 136 Dec 19 2012 4-quad-update-prpclient-ini.sh -rwxr-xr-x 1 prp prp 88 Dec 19 2012 6-hex-install-prpclient.sh -rwxr-xr-x 1 prp prp 92 Dec 19 2012 6-hex-start-prpclient.sh -rwxr-xr-x 1 prp prp 136 Dec 19 2012 6-hex-update-prpclient-ini.sh -rwxr-xr-x 1 prp prp 88 Dec 19 2012 8-oct-install-prpclient.sh -rwxr-xr-x 1 prp prp 92 Dec 19 2012 8-oct-start-prpclient.sh -rwxr-xr-x 1 prp prp 136 Dec 19 2012 8-oct-update-prpclient-ini.sh -rwxr-xr-x 1 prp prp 6967 Mar 16 20:22 master_prpclient.ini drwxr-xr-x 2 prp prp 4096 Mar 16 20:21 programs drwxr-xr-x 2 prp prp 4096 Mar 16 23:26 prpclient-{1..8} -rwxr-xr-x 1 prp prp 118 Mar 15 2012 prpnet_servers.txt -rw-r--r-- 1 prp prp 7507 Dec 20 2012 readme_primegrid.txt -rw-r--r-- 1 prp prp 329 Jun 18 2013 stop-prpclient.sh


8-oct-install-prpclient.sh
8-oct-start-prpclient.sh
8-oct-update-prpclient-ini.sh

I have modified the master_prpclient.ini but when I try and run "sudo sh 8-oct-start-prpclient.sh" it creates a directory called "prpclient-{1..8}" with just one lot of executables instead of the eight folders with the executables.


You need to run 8-oct-install-prpclient.sh to set up the directories before you can run 8-oct-start-prpclient.sh to invoke them.


____________

Proud Founder of
Have a look at my WebCam

Profile DingoProject donor
Avatar
Send message
Joined: 11 Aug 05
Posts: 106
ID: 125
Credit: 572,228,149
RAC: 3,313,966
Discovered 2 mega primesDiscovered 1 AP26Found 2 primes in the 2019 Tour de PrimesFound 3 primes in the 2021 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (4,756,198)Cullen LLR Ruby: Earned 2,000,000 credits (2,174,951)ESP LLR Ruby: Earned 2,000,000 credits (3,423,533)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,396,998)PPS LLR Sapphire: Earned 20,000,000 credits (29,906,122)PSP LLR Ruby: Earned 2,000,000 credits (2,199,495)SoB LLR Turquoise: Earned 5,000,000 credits (5,071,175)SR5 LLR Jade: Earned 10,000,000 credits (10,233,961)SGS LLR Ruby: Earned 2,000,000 credits (2,914,822)TPS LLR (retired) Bronze: Earned 10,000 credits (53,832)TRP LLR Turquoise: Earned 5,000,000 credits (5,287,087)Woodall LLR Ruby: Earned 2,000,000 credits (2,018,846)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,206,940)Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (112,575)Generalized Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (259,359)PPS Sieve Emerald: Earned 50,000,000 credits (68,955,443)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Gold: Earned 500,000 credits (556,604)TRP Sieve (suspended) Silver: Earned 100,000 credits (152,538)AP 26/27 Emerald: Earned 50,000,000 credits (74,323,989)GFN Double Bronze: Earned 100,000,000 credits (187,796,341)WW Emerald: Earned 50,000,000 credits (83,976,000)PSA Emerald: Earned 50,000,000 credits (83,637,553)
Message 106116 - Posted: 17 Mar 2017 | 4:43:28 UTC
Last modified: 17 Mar 2017 | 4:54:00 UTC

OK I got it to work by running each command on the command line instead of 8-oct-install-prpclient.sh

prp@dingo7:~/prp-net/prpclient-5.4.0a-linux_64$ for i in {1..8} > do > mkdir prpclient-$i > cp programs/* ./prpclient-$i > done prp@dingo7:~/prp-net/prpclient-5.4.0a-linux_64$ prp@dingo7:~/prp-net/prpclient-5.4.0a-linux_64$ ls 12-dodeca-install-prpclient.sh 6-hex-update-prpclient-ini.sh 12-dodeca-start-prpclient.sh 8-oct-install-prpclient.sh 12-dodeca-update-prpclient-ini.sh 8-oct-start-prpclient.sh 16-hexadeca-install-prpclient.sh 8-oct-update-prpclient-ini.sh 16-hexadeca-start-prpclient.sh master_prpclient.ini 16-hexadeca-update-prpclient-ini.sh programs 1-single-install-prpclient.sh prpclient-1 1-single-start-prpclient.sh prpclient-2 1-single-update-prpclient-ini.sh prpclient-3 2-dual-install-prpclient.sh prpclient-4 2-dual-start-prpclient.sh prpclient-5 2-dual-update-prpclient-ini.sh prpclient-6 4-quad-install-prpclient.sh prpclient-7 4-quad-start-prpclient.sh prpclient-8 4-quad-update-prpclient-ini.sh prpnet_servers.txt 6-hex-install-prpclient.sh readme_primegrid.txt 6-hex-start-prpclient.sh stop-prpclient.sh [/quote] then I did the same with 8-oct-update-prpclient-ini.sh [code] prp@dingo7:~/prp-net/prpclient-5.4.0a-linux_64$ for i in {1..8} > do > sed s/INSTANCE_ID/$i/ ./master_prpclient.ini > prpclient.ini > mv ./prpclient.ini ./prpclient-$i/ > done


BUT when I tried to start the prp instances I got the XTERM error.

prp@dingo7:~/prp-net/prpclient-5.4.0a-linux_64$ for x in prpclient-{1..8} > do pushd $x > xterm -T $x -e ./startx.sh & popd > done ~/prp-net/prpclient-5.4.0a-linux_64/prpclient-1 ~/prp-net/prpclient-5.4.0a-linux_64 [1] 1290 ~/prp-net/prpclient-5.4.0a-linux_64 ~/prp-net/prpclient-5.4.0a-linux_64/prpclient-2 ~/prp-net/prpclient-5.4.0a-linux_64 [2] 1291 ~/prp-net/prpclient-5.4.0a-linux_64 ~/prp-net/prpclient-5.4.0a-linux_64/prpclient-3 ~/prp-net/prpclient-5.4.0a-linux_64 -bash: xterm: command not found [3] 1292 ~/prp-net/prpclient-5.4.0a-linux_64 ~/prp-net/prpclient-5.4.0a-linux_64/prpclient-4 ~/prp-net/prpclient-5.4.0a-linux_64 -bash: xterm: command not found [4] 1293 ~/prp-net/prpclient-5.4.0a-linux_64 ~/prp-net/prpclient-5.4.0a-linux_64/prpclient-5 ~/prp-net/prpclient-5.4.0a-linux_64 -bash: xterm: command not found [5] 1294 ~/prp-net/prpclient-5.4.0a-linux_64 ~/prp-net/prpclient-5.4.0a-linux_64/prpclient-6 ~/prp-net/prpclient-5.4.0a-linux_64 -bash: xterm: command not found [6] 1295 ~/prp-net/prpclient-5.4.0a-linux_64 ~/prp-net/prpclient-5.4.0a-linux_64/prpclient-7 ~/prp-net/prpclient-5.4.0a-linux_64 [7] 1296 ~/prp-net/prpclient-5.4.0a-linux_64 ~/prp-net/prpclient-5.4.0a-linux_64/prpclient-8 ~/prp-net/prpclient-5.4.0a-linux_64 -bash: xterm: command not found [8] 1297 ~/prp-net/prpclient-5.4.0a-linux_64 [2] Exit 127 xterm -T $x -e ./startx.sh (wd: ~/prp-net/prpclient-5.4.0a-linux_64/prpclient-2) (wd now: ~/prp-net/prpclient-5.4.0a-linux_64) [3] Exit 127 xterm -T $x -e ./startx.sh (wd: ~/prp-net/prpclient-5.4.0a-linux_64/prpclient-3) (wd now: ~/prp-net/prpclient-5.4.0a-linux_64) [4] Exit 127 xterm -T $x -e ./startx.sh (wd: ~/prp-net/prpclient-5.4.0a-linux_64/prpclient-4) (wd now: ~/prp-net/prpclient-5.4.0a-linux_64) [5] Exit 127 xterm -T $x -e ./startx.sh (wd: ~/prp-net/prpclient-5.4.0a-linux_64/prpclient-5) -bash: xterm: command not found (wd now: ~/prp-net/prpclient-5.4.0a-linux_64) prp@dingo7:~/prp-net/prpclient-5.4.0a-linux_64$ -bash: xterm: command not found -bash: xterm: command not found


I have spend hours on this on Windows it is so easy.


EDIT: Not sure this helps but if I go to the folder prpclient-1 and run ./prpclient it starts it up in the window but need to leave the window open.
____________

Proud Founder of
Have a look at my WebCam

Profile JeppeSNProject donor
Avatar
Send message
Joined: 5 Apr 14
Posts: 1727
ID: 306875
Credit: 41,456,369
RAC: 13,221
Found 1 prime in the 2020 Tour de Primes321 LLR Gold: Earned 500,000 credits (593,283)Cullen LLR Gold: Earned 500,000 credits (611,298)ESP LLR Silver: Earned 100,000 credits (174,818)Generalized Cullen/Woodall LLR Silver: Earned 100,000 credits (112,799)PPS LLR Jade: Earned 10,000,000 credits (16,614,810)PSP LLR Silver: Earned 100,000 credits (428,457)SoB LLR Silver: Earned 100,000 credits (466,812)SR5 LLR Silver: Earned 100,000 credits (210,142)SGS LLR Silver: Earned 100,000 credits (112,277)TRP LLR Silver: Earned 100,000 credits (342,501)Woodall LLR Silver: Earned 100,000 credits (109,455)321 Sieve (suspended) Silver: Earned 100,000 credits (175,037)PPS Sieve Bronze: Earned 10,000 credits (10,113)AP 26/27 Bronze: Earned 10,000 credits (12,129)GFN Ruby: Earned 2,000,000 credits (4,228,147)WW Turquoise: Earned 5,000,000 credits (9,640,000)PSA Turquoise: Earned 5,000,000 credits (7,614,290)
Message 106119 - Posted: 17 Mar 2017 | 9:00:13 UTC - in response to Message 106116.

But what terminal emulator does your system have? Maybe you can change xterm into gnome-terminal or whatever is relevant, inside 8-oct-start-prpclient.sh and so on. /JeppeSN

Profile Sysadm@NbgProject donor
Volunteer moderator
Volunteer tester
Project scientist
Avatar
Send message
Joined: 5 Feb 08
Posts: 1212
ID: 18646
Credit: 816,605,562
RAC: 185,926
Found 1 prime in the 2019 Tour de PrimesFound 1 prime in the 2021 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,010,156)Cullen LLR Amethyst: Earned 1,000,000 credits (1,086,094)ESP LLR Ruby: Earned 2,000,000 credits (2,041,296)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,609,642)PPS LLR Turquoise: Earned 5,000,000 credits (6,287,904)PSP LLR Ruby: Earned 2,000,000 credits (2,031,356)SoB LLR Turquoise: Earned 5,000,000 credits (7,918,076)SR5 LLR Ruby: Earned 2,000,000 credits (2,515,068)SGS LLR Amethyst: Earned 1,000,000 credits (1,163,706)TRP LLR Ruby: Earned 2,000,000 credits (3,832,495)Woodall LLR Ruby: Earned 2,000,000 credits (2,003,498)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,432,077)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,967,439)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,137,451)PPS Sieve Double Silver: Earned 200,000,000 credits (307,478,712)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Gold: Earned 500,000 credits (627,444)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (3,956,401)AP 26/27 Sapphire: Earned 20,000,000 credits (49,004,790)GFN Emerald: Earned 50,000,000 credits (79,811,578)WW Double Silver: Earned 200,000,000 credits (244,592,000)PSA Emerald: Earned 50,000,000 credits (89,101,663)
Message 106125 - Posted: 17 Mar 2017 | 13:00:33 UTC

on my ubuntu I use within a bash-shell the "screen"-cmd wether you can detach and attach while it is running
more info at the web e.g. https://ss64.com/bash/screen.html
____________
Sysadm@Nbg
my current lucky number: 113856050^65536 + 1
PSA-PRPNet-Stats-URL: http://u-g-f.de/PRPNet/

LumiukkoProject donor
Volunteer tester
Send message
Joined: 7 Jul 08
Posts: 165
ID: 25183
Credit: 785,072,250
RAC: 40,488
Discovered 2 mega primesFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 2 primes in the 2020 Tour de PrimesFound 1 mega prime in the 2020 Tour de PrimesFound 1 prime in the 2021 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (10,479,461)Cullen LLR Jade: Earned 10,000,000 credits (10,635,987)ESP LLR Jade: Earned 10,000,000 credits (10,392,711)Generalized Cullen/Woodall LLR Jade: Earned 10,000,000 credits (14,089,784)PPS LLR Sapphire: Earned 20,000,000 credits (22,950,085)PSP LLR Jade: Earned 10,000,000 credits (11,976,669)SoB LLR Sapphire: Earned 20,000,000 credits (37,986,976)SR5 LLR Jade: Earned 10,000,000 credits (19,388,231)SGS LLR Jade: Earned 10,000,000 credits (10,241,091)TPS LLR (retired) Bronze: Earned 10,000 credits (22,572)TRP LLR Jade: Earned 10,000,000 credits (12,722,646)Woodall LLR Jade: Earned 10,000,000 credits (10,474,360)321 Sieve (suspended) Jade: Earned 10,000,000 credits (10,236,529)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,878,933)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (6,055,601)PPS Sieve Double Bronze: Earned 100,000,000 credits (104,540,791)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,018,273)TRP Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,752,023)AP 26/27 Double Bronze: Earned 100,000,000 credits (102,000,008)GFN Double Bronze: Earned 100,000,000 credits (124,291,007)WW Sapphire: Earned 20,000,000 credits (31,836,000)PSA Double Silver: Earned 200,000,000 credits (219,103,336)
Message 106134 - Posted: 17 Mar 2017 | 17:07:47 UTC

I had the same problem, xterm was not installed as default in Jessie. I installed it separately.
https://www.howtoinstall.co/en/debian/jessie/xterm

I have PRPNet running at Debian (Jessie) in this client.


--
Lumiukko

Profile DingoProject donor
Avatar
Send message
Joined: 11 Aug 05
Posts: 106
ID: 125
Credit: 572,228,149
RAC: 3,313,966
Discovered 2 mega primesDiscovered 1 AP26Found 2 primes in the 2019 Tour de PrimesFound 3 primes in the 2021 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (4,756,198)Cullen LLR Ruby: Earned 2,000,000 credits (2,174,951)ESP LLR Ruby: Earned 2,000,000 credits (3,423,533)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,396,998)PPS LLR Sapphire: Earned 20,000,000 credits (29,906,122)PSP LLR Ruby: Earned 2,000,000 credits (2,199,495)SoB LLR Turquoise: Earned 5,000,000 credits (5,071,175)SR5 LLR Jade: Earned 10,000,000 credits (10,233,961)SGS LLR Ruby: Earned 2,000,000 credits (2,914,822)TPS LLR (retired) Bronze: Earned 10,000 credits (53,832)TRP LLR Turquoise: Earned 5,000,000 credits (5,287,087)Woodall LLR Ruby: Earned 2,000,000 credits (2,018,846)321 Sieve (suspended) Ruby: Earned 2,000,000 credits (2,206,940)Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (112,575)Generalized Cullen/Woodall Sieve (suspended) Silver: Earned 100,000 credits (259,359)PPS Sieve Emerald: Earned 50,000,000 credits (68,955,443)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Gold: Earned 500,000 credits (556,604)TRP Sieve (suspended) Silver: Earned 100,000 credits (152,538)AP 26/27 Emerald: Earned 50,000,000 credits (74,323,989)GFN Double Bronze: Earned 100,000,000 credits (187,796,341)WW Emerald: Earned 50,000,000 credits (83,976,000)PSA Emerald: Earned 50,000,000 credits (83,637,553)
Message 106138 - Posted: 17 Mar 2017 | 19:15:54 UTC

I could not get xterm to work after installing it. I kept getting the same error.

I finally had to go into each of the eight folders and start ./prpclient manually and it seems to be working OK.

I have it running on two Debian Jessie 64 bit servers now.

____________

Proud Founder of
Have a look at my WebCam

Profile composite
Volunteer tester
Send message
Joined: 16 Feb 10
Posts: 1022
ID: 55391
Credit: 888,938,802
RAC: 133,359
Discovered 2 mega primesFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2022 Tour de Primes321 LLR Turquoise: Earned 5,000,000 credits (6,055,323)Cullen LLR Gold: Earned 500,000 credits (776,297)ESP LLR Ruby: Earned 2,000,000 credits (3,433,680)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,443,837)PPS LLR Sapphire: Earned 20,000,000 credits (34,742,630)PSP LLR Turquoise: Earned 5,000,000 credits (6,587,988)SoB LLR Sapphire: Earned 20,000,000 credits (45,081,394)SR5 LLR Turquoise: Earned 5,000,000 credits (6,205,694)SGS LLR Ruby: Earned 2,000,000 credits (3,627,819)TRP LLR Turquoise: Earned 5,000,000 credits (7,078,152)Woodall LLR Amethyst: Earned 1,000,000 credits (1,693,614)321 Sieve (suspended) Emerald: Earned 50,000,000 credits (50,256,050)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,571,178)Generalized Cullen/Woodall Sieve (suspended) Emerald: Earned 50,000,000 credits (50,009,610)PPS Sieve Double Silver: Earned 200,000,000 credits (463,452,443)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Jade: Earned 10,000,000 credits (10,165,888)TRP Sieve (suspended) Sapphire: Earned 20,000,000 credits (20,071,454)AP 26/27 Turquoise: Earned 5,000,000 credits (6,798,063)GFN Emerald: Earned 50,000,000 credits (57,113,430)WW Turquoise: Earned 5,000,000 credits (5,012,000)PSA Double Bronze: Earned 100,000,000 credits (102,762,384)
Message 106154 - Posted: 18 Mar 2017 | 19:52:41 UTC

I believe that {1..8} is a bashism. Are you using bash?

For instance

[bash]$ for i in {1..8}; do echo $i; done 1 2 3 4 5 6 7 8 [bash]$ which sh /bin/sh [bash]$ sh $ for i in {1..8}; do echo $i; done {1..8} $

Message boards : Project Staging Area : prp on Debian command line

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2022 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 0.93, 0.66, 0.81
Generated 20 Aug 2022 | 6:16:02 UTC