Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 28,132
» Latest member: farareaa
» Forum threads: 15,690
» Forum posts: 114,588

Full Statistics

Latest Threads
More powerful smartwatch?
Forum: Getting Started
Last Post: JohnDoes
Yesterday, 02:05 PM
» Replies: 2
» Views: 65
Current status of pinenot...
Forum: General Discussion on PineNote
Last Post: Dahrun
Yesterday, 11:40 AM
» Replies: 2
» Views: 1,295
PinePhone - boot from mic...
Forum: General Discussion on PinePhone
Last Post: laserpyramid
Yesterday, 10:09 AM
» Replies: 9
» Views: 766
bookworm vs trixie discus...
Forum: Mobian on PinePhone
Last Post: zetabeta
Yesterday, 04:17 AM
» Replies: 23
» Views: 2,337
Using Signal on PinePhone...
Forum: PinePhone Software
Last Post: dragonhospital
Yesterday, 02:19 AM
» Replies: 47
» Views: 13,694
Firmware Update for PineP...
Forum: General
Last Post: Pavlos1
Yesterday, 12:53 AM
» Replies: 1
» Views: 60
Writing to SD card possib...
Forum: PinePhone Software
Last Post: Fadazo
05-02-2024, 04:01 PM
» Replies: 6
» Views: 3,352
Firefox does not work on ...
Forum: PostmarketOS on PinePhone
Last Post: Haddoud
05-02-2024, 03:14 PM
» Replies: 1
» Views: 59
How to do automatic login...
Forum: Mobian on PinePhone
Last Post: Haddoud
05-02-2024, 02:50 PM
» Replies: 1
» Views: 1,022
Armbian and LibreELEC and...
Forum: Linux on Quartz64
Last Post: balbes150
05-02-2024, 09:09 AM
» Replies: 148
» Views: 59,974

 
  Docker Container is started but not runing
Posted by: johnson267 - 02-27-2022, 07:59 PM - Forum: General Discussion on ROCK64 - No Replies

Following is my Docker compose file. I have used the Jenkins images to install Jenkins. Within the same file,I have defined another container from which I can SSH and connect with the Jenkins server.

Docker Compose File

version: '3'
services:
  jenkins:
    container_name: jenkins
    image: jenkins/jenkins
    ports:
      - "8080:8080"
    volumes:
      - "$PWD/jenkins_home:/var/jenkins_home"
    networks:
      - net
  remote_host:
    container_name: remote-host
    image: remote-host
    build:
      context: centos
    networks:
      - net
networks:
  net:
Created another folder name Centos and created Dockerfile within it.

FROM centos:7

RUN yum -y install openssh-server

RUN useradd remote_user && \
    echo remote_user:1234 | chpasswd && \
    mkdir /home/remote_user/.ssh && \
    chmod 700 /home/remote_user/.ssh

COPY remote-key.pub /home/remote_user/.ssh/authorized-key

RUN chown remote_user:remote_user -R /home/remote_user/.ssh && \
    chmod 600 /home/remote_user/.ssh/authorized-key

RUN /usr/sbin/sshd-keygen

CMD /usr/sbin/ssh -D
I ran following command docker-compose build

Output

=> [internal] load build definition from Dockerfile                                                                                                        0.0s
=> => transferring dockerfile: 32B                                                                                                                          0.0s
=> [internal] load .dockerignore                                                                                                                            0.0s
=> => transferring context: 2B                                                                                                                              0.0s
=> [internal] load metadata for docker.io/library/centos:7                                                                                                  0.7s
=> [1/6] FROM docker.io/library/centos:7@sha256:c73f515d06b0fa07bb18d8202035e739a494ce760aa73129f60f4bf2bd22b407                                            0.0s
=> [internal] load build context                                                                                                                            0.0s
=> => transferring context: 36B                                                                                                                            0.0s
=> CACHED [2/6] RUN yum -y install openssh-server                                                                                                          0.0s
=> CACHED [3/6] RUN useradd remote_user &&    echo remote_user:1234 | chpasswd &&    mkdir /home/remote_user/.ssh &&    chmod 700 /home/remote_user/.ss  0.0s
=> CACHED [4/6] COPY remote-key.pub /home/remote_user/.ssh/authorized-key                                                                                  0.0s
=> CACHED [5/6] RUN chown remote_user:remote_user -R /home/remote_user/.ssh &&    chmod 600 /home/remote_user/.ssh/authorized-key                          0.0s
=> CACHED [6/6] RUN /usr/sbin/sshd-keygen                                                                                                                  0.0s
=> exporting to image                                                                                                                                      0.0s
=> => exporting layers                                                                                                                                      0.0s
=> => writing image sha256:fcaaebf103d6674134a68c23f92e2946b9395e2a970b3c2e78c59b9a18fec8be                                                                0.0s
=> => naming to docker.io/library/remote-host
then I ran following command docker-compose up -d

Output

[+] Running 2/2
⠿ Container jenkins      Running                                                                                                                            0.0s
⠿ Container remote-host  Started 
When I run docker images, I can see remote-host

REPOSITORY        TAG      IMAGE ID      CREATED        SIZE
remote-host      latest    fcaaebf103d6  25 hours ago  367MB
jenkins/jenkins  latest    97d23cbbfa56  5 days ago    463MB
but when I run docker ps, I do not see the running container.

CONTAINER ID  IMAGE            COMMAND                  CREATED        STATUS        PORTS                              NAMES
06aa0ceabb18  jenkins/jenkins  "/sbin/tini -- /usr/…"  39 hours ago  Up 37 hours  0.0.0.0:8080->8080/tcp, 50000/tcp  jenkins
docker ps -a

CONTAINER ID  IMAGE            COMMAND                  CREATED          STATUS                      PORTS                              NAMES
dbd2c2b9cecb  jenkins/jenkins  "/sbin/tini -- /usr/…"  30 minutes ago  Up 30 minutes                0.0.0.0:8080->8080/tcp, 50000/tcp  jenkins
812216a3c8e9  remote-host      "/bin/sh -c '/usr/sb…"  30 minutes ago  Exited (127) 7 minutes ago 
Can someone tell me where did I make mistake?


  Manjaro-phosh beta 22 release won't boot after update
Posted by: tckosvic - 02-27-2022, 04:43 PM - Forum: PinePhone Pro Software - Replies (1)

I had Manjaro-phosh beta 22 with operating SMS, MMS, phone calls (send and receive), and audio working and was getting optimistic.  I did a pacman system update hoping for more improvement but now after a large update it won't boot.  Went from working pretty well to not booting.

Upon press of power button, it just shows the "big M" and has the balls spinning around like windows and hangs there.  Never fully boots.  I did a reboot holding down the RE button.  No improvement.

I will load manjaro-phosh beta 23 (https://github.com/manjaro-pinephone/phosh/releases) to SD card and try again.

I'd like to know if others had working system that was upset by recent update (about 100 packages).  Also, if anyone found a successful reboot procedure.

thanks,      tom kosvic


  Transparent Phosh App Grid?
Posted by: arno_nuehm - 02-27-2022, 03:58 PM - Forum: Mobian on PinePhone - Replies (1)

Hello there,

if someone already asked this, I'm sorry for not finding the clue:

Is it possible to make the Phosh app grid transparent to let the desktop background be visible?

I tried to point to a transparent png file according to this Mobian wiki entry

https://wiki.mobian-project.org/doku.php...r-app-grid

and changed all the RGBA values to zero, but it didn't work - still the black menu background.

I also tried to point to the original background picture - which works - but opening and closing of the menu becomes laggy due to the large picture size.

Thanks for ideas!

Cheers!


  Pinebooks in the news (27 February 2022)
Posted by: sandspur - 02-27-2022, 09:25 AM - Forum: General Discussion on Pinebook Pro - No Replies

Discussion of ARM laptops online: https://www.makeuseof.com/arm-laptop-linux/


  Current Situation Mobian Installer (PPPro)
Posted by: arno_nuehm - 02-27-2022, 06:30 AM - Forum: PinePhone Pro Software - Replies (14)

Hello there,

has someone tested the new version (20220227) of the Mobian Installer for the PinephonePro?

https://images.mobian-project.org/pineph...er/weekly/

I tried FDE installation from SDcard on eMMC and SDcard and both are not working. Choosing the eMMC, it's aborting with an error message while installing. Choosing installation on the SDcard is going through, but the phone is not booting.

Any ideas?

Cheers!


  Problems with the terminal
Posted by: AndyM - 02-27-2022, 05:23 AM - Forum: Arch Linux on PinePhone - Replies (1)

I don't know if anyone else has problems with the terminal on the Pinephone.

For me, when it wraps a line, if I then backspace to correct that line then it gets very garbled so that I have to Ctrl-C and rewrite the whole line from the beginning.

I have tried several different terminals, but they all seem to do the same thing.

Any suggestions?


  Forgot Passcode to log onto phone
Posted by: benphone - 02-26-2022, 09:03 PM - Forum: General Discussion on PinePhone - Replies (2)

Hello,

I have a Pinephone Manjaro edition and I discovered that I don't know the passcode to log into the phone anymore. Any suggestions?

Thanks


  How to convert your pinephone to a palmtop now that you have the clamshell keyboard
Posted by: rotwang - 02-26-2022, 04:30 PM - Forum: Manjaro on PinePhone - Replies (3)

For me, and probably for a small minority of other Pinephone users out there, the arrival of the clamshell keyboard allowed me to convert my Pinephone into the thing I had been dreaming about for years: a tiny palmtop computer. However some googling on how to do this was not super helpful. So I'm writing up what I figured out, both as an archive of my process and maybe to help others who want to do this get past sticky points.

There's two big categories of what I tried: First, I experimented with using Plasma Mobile as a desktop, but turned on its side to landscape by default. This worked more or less fine, but I soon got the hankering for being able to have multiple windows open on a screen, and being able to alt-tab between applications. (Why doesn't that work on Plasma Mobile? Seems like there's no reason it shouldn't! But it didn't.) So after a week of using Plasma Mobile in landscape mode, I installed Awesome windows manager and never looked back.

I really want to spend more time using and less time configuring, so while I _could_ do this on Arch or some other more experimental Pinephone OS, I really wanted to make everything work on default Manjaro. Thankfully this turned out to not be too difficult.

So first up: configurations to Plasma Mobile to make it more like a desktop now that you've got the clamshell keyboard going (this stuff is pretty basic, but I had trouble finding it):

  1. Landscape mode: Just use the settings to turn on auto-rotate and roll the screen to landscape mode. I found it annoying to auto-rotate so once it was in landscape I turned auto-rotate off.

  2. The most important thing is to disable the soft keyboard. This is done by adding the keyboard control widget to the desktop and then disabling the soft keyboard, see:
    https://forum.pine64.org/showthread.php?...#pid105077
    (I wish I had seen this post. I had to figure it out for myself. Tip: if you haven't seen the Pine64 wiki page on the keyboard it is full of useful information:
    https://wiki.pine64.org/wiki/PinePhone_(Pro)_Keyboard
    ...And surprisingly difficult to google.)

  3. That's pretty much it for Plasma Mobile. Because poking and swiping sucks, I recommend just getting used to using the keyboard shortcuts for your software, but those are all the same as shortcuts you've probably been using for your full-sized laptop/desktop for years. With the soft keyboard disabled the Plasma Mobile Terminal works nicely. Install a terminal-based text editor and start writing or coding! Firefox rocks as a browser, particularly if you install the Vim Vixen extension and go to an all-keyboard interaction with your browser.

But... if you're like me you quickly realize you want a terminal open next to a browser, or something like that. Time to throw off Plasma Mobile and get a full-blown Linux desktop running!

How to get Awesome windows manager (and probably you can generalize to a bunch of other windows managers) on your Pinephone with clamshell keyboard:

  1. Install Awesome or any other windows manager you want to run with pacman. Nothing fancy here, you should already know how to do this as part of basic system maintenance and management. I didn't try IceWM or any other more conventional windows manager. I don't see any reason why you can't run whatever you like most. I would suggest though that a tiling windows manager like Awesome or DWM where everything can be controlled by keyboard shortcuts will be more useful. Poking tiny menus on the Pinephone touchscreen isn't super easy. I'd also suggest that -- at least with regular Pinephone -- keeping your windows manager lightweight is going to help.

  2. Now to launch the windows manager you want to use you need to change the display/login manager. The factory-installed setup on the Pinephone is sddm (KDE's display manager) which kicks you automatically into Plasma-mobile windows manager. (All running on top of Manjaro Linux of course.) The sweetest thing would be if sddm let you choose which windows manager you wanted to use on login. This is how most Linux desktops are set up. So normally all you have to do is install the windows manager you want (mine = Awesome as I said) and then you can choose it at the login screen.

    On the Pinephone, sddm has been modified for poking in a number to unlock the screen/log in. Nowhere is there an option to choose your windows manager (or 'session' as many call it). I could not figure out how to change the settings of sddm to give you the option to choose your windows manager (even though regular desktop sddm has this normally). After messing with it for a while, I decided it would be easier to just switch display/login managers.
    • The first thing I tried was switching to LightDM, a common enough choice for display managers. This was just a matter of installing it with pacman, and then enabling it as a service:
      Code:
      sudo systemctl enable lightdm.service
      But LightDM was crashing on startup for some reason. Gave up on that.
    • Then I tried ly display manager -- super minimal, non-graphical, ncurses-like. I love it on my full-sized laptop. I compiled it and installed it from the AUR:
      https://aur.archlinux.org/ly.git
      That one seemed to be starting fine, but wasn't coming up on the console when it started. So I gave up on that one too.
    • Finally I decided minimalism was the way to go, and compiled and installed emptty:
      https://aur.archlinux.org/emptty.git
      Emptty is nothing but a command-line login that then lets you choose which windows manager to start. (Note: it required installing the pacman package go to compile it.) It worked perfectly. Remember you need to enable the service:
      Code:
      sudo systemctl enable emptty

    • You may also need to disable sddm:
      Code:
      sudo systemctl disable sddm.service

  3. Now you've got the display manager going but since emptty is running on the console it is in portrait mode and rotated from your landscape keyboard setting. You'll want to rotate the console so you can read it.
    As root, edit /boot/boot.txt. To the setenv bootargs line, add:
    Code:
    fbcon=rotate:1

    Then run:
    Code:
    mkimage -A arm -O linux -T script -C none -n "U-Boot boot script" -d boot.txt boot.scr

    This will set your console to boot in landscape mode. Just remember that if you want to run your phone _without_ your keyboard, you'll need to use systemctl to enable sddm and disable emptty because without the keyboard there's no way to input anything on the console! In that case you will need to go back to the sddm poking-in-a-number display manager.

  4. More on configuring Awesome ('Awesome' has got to be one of the single most ungoogle-able pieces of software in the linux world! It's not the smartest name.) Obviously if you are using a different windows manager, you can skip this. Though I think a few of the concepts will be relevant to other windows managers, and you may find them useful.
    • Screen rotation: Awesome is going to default to portrait mode. You'll want to rotate it once you are running by opening a terminal and using xrandr:
      Code:
      xrandr --output DSI-1 --rotate right

    • Pointer rotation: You also need to rotate your pointer input or your x will be on your y axis and visa versa. This took my _forever_ to figure out how to do. You use xinput to do the same thing xrandr did for the screen:
      Code:
      xinput set-prop 8 --type=float "Coordinate Transformation Matrix"  0 1 0 -1 0 1 0 0 1

    • Set these automatically on login: You can probably do this in Awesome, but I like to control it in the .xinitrc file in my home directory. This is the file that is read if you use 'startx' to start your windows manager from the command line. But you can also use it if you start your windows manager with a display/login manager like we are doing. To do so, you need to install the xinit-session package from AUR:
      https://aur.archlinux.org/xinit-xsession.git
      After install xinit will be one of your session options in emptty, and you can start Awesome by reading from .xinitrc. I added these lines to the end of my ~/.xinitrc:
      Code:
      exec xrandr --output DSI-1 --rotate right &
      exec xinput set-prop 8 --type=float "Coordinate Transformation Matrix" 0 1 0 -1 0 1 0 0 1 &
      awesome  # Needs to NOT have a &

      Big NOTE: you need to make your .xinitrc file _executable_ for xinit to work as a session:
      Code:
      chmod 755 ~/.xinitrc
    • Configuring Awesome itself: Awesome is configured in the ~/.config/awesome/rc.lua file. It is not entirely simple or straightforward, and you'll want to read the documentation on Awesome if you really want to get into this. However, here's a few tips:
      • Mod4 is the Pinecone key. Might as well put that to work!
      • I like to go through the rc.lua and disable the stuff I don't use. I can only hold so many key commands in my head anyway.
      • I like to put system commands on keyboard combinations in the rc.lua,like:
      • put 'systemctl suspend' on meta-z
      • put 'firefox' on meta-f or something.
      • put a terminal launch command on meta-Enter
      • put 'xbacklight -dec 10' and 'xbacklight -inc 10' on meta--(minus) and meta-+ respectively so you can control screen brightness. This will require installing the xbacklight or the acpilight packages. And it only works if your windows manager uses X11, not wayland.
      • You can do something similar to control sound using pamixer (or some other command-line volume control) to control sound volume.

  5. Poking the screen: At this point you can do _almost_ everything from the keyboard. But you'll find you still need to occasionally poke the screen to select something. The touchscreen is accurate enough that you can very very carefully select a tiny link in a browser, or software menu. But you can't really select things for copy-pasting. And there's no right-click. (Though I see some packages that implement a long-hold as a right-click. I haven't tried them yet.)

More on why I wanted to do this:

Back in the day I was a big fan of the netbook class with ~9" screens when those were widely available. I always felt that a small laptop was far more useful than a tablet or phone. I wrote my graduate school thesis on a netbook! Ever since then I've had the suspicion that an even smaller laptop could replace my need for a phone entirely, though probably not my need for a full-sized laptop. (I say _my_ need, not yours -- I have settled into a place with mobile technology that is pretty unique. More on that later.) Because of this, I have been eagerly awaiting the release of the Pinephone clamshell keyboard for more than a year. And now that it is here, it does not disappoint! All my dreams of a tiny but fully capable computer have come true. Many things that I sort of intuited but hadn't explicitly imagined also came about: turns out, if you don't have to waste half your screen for a lousy soft keyboard then a 5" screen really has quite a bit of usable real estate -- imagine two usable web browser windows open side-by-side. And I don't know about you, but I find soft keyboards eternally flaky and unreliable. Touchscreen technology is like 20 years old now and it still sucks. Or at least doesn't work well with my fingers. But most of all I have found that switching from a poking-and-swiping "app" based interface to a small version of a traditional Linux desktop that you interact with primarily through the physical keyboard has made the Pinephone FAR less flaky, less crash-prone, and much faster.

Doing this of course makes it, you know, _not_ a phone. Most people are used to our "phones" being these objects that are ready at a moment's notice to present an interrupt to our daily lives and give you a report on whatever it is you care about: news updates, weather, phone calls, text messages, email, etc. Turning the Pinephone into a laptop limits a lot of this interrupt ability. Mostly it's back to 1990s style "gotta check my email" pull notifications. For me, this is perfect. I don't _want_ push notifications. I want my computer to stay out of my business until I am ready to sit down and check my messages. The beauty of the Pinephone with clamshell and Linux desktop is that now I can do that almost anywhere -- but still only when I want to pull notifications. No push please! Though I could imagine that someone who really wants push notifications can configure their standard Linux desktop to provide a good chunk of that service, if not quite everything a phone does these days.


  Boot problem: wrong screen orientation
Posted by: Jetpac - 02-26-2022, 04:00 PM - Forum: General Discussion on PinePhone - Replies (6)

Good day,

i just received my PinePhone with convergence package.



On first boot, the screen flipped to horizontal mode, and can't return to vertical mode (unsuccessfully tried to turn phone in any direction, rebooted several times but nothing changed).



I can't fill the textbox because the onscreen keyboard pop up and cover some textboxes; i am able to skip a few page form, until "choose username and password" form, which can't be filled or skipped; so i got stuck there... (At first, i feared a defective gyroscope also...)



Does anyone had this issue? Please give some advice, i'm actually blocked...
thanks


  Battery questions
Posted by: For_lack_of_a_better_name - 02-25-2022, 08:03 PM - Forum: General Discussion of PinePhone Pro - Replies (5)

About a month ago, I purchased a pinephone pro, I just was notified that it shipped today. The problem is, is I did not read the text at the bottom about purchasing a battery. Does this mean it does not ship with a battery, and if so, are there any batteries from say amazon that will fit in the phone?