Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default kali shell not installed #2

Closed
1 task done
Bram-diederik opened this issue Sep 4, 2024 · 2 comments
Closed
1 task done

default kali shell not installed #2

Bram-diederik opened this issue Sep 4, 2024 · 2 comments

Comments

@Bram-diederik
Copy link

Bram-diederik commented Sep 4, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

when you boot up the kali docker and start konsole you get the message.


Warning: Could not find '', starting '/bin/bash' instead.  Please check your profile settings.

┌──(lsiopy)(abc㉿343471bff3ec)-[~]
└─$ 

this is due to the default shell interpreter is not found. I cant see what shell is used in the default kconsole settings.
if i create a new profile and select zsh for example the error is gone at next konsole startup.

Expected Behavior

kali default shell is zsh dont know why its different. (perhaps the path)

Steps To Reproduce

start a new docker
open konsole

Environment

- OS: debian  x64 and arm64
- provided docker compose for x64 removed /dev/dri:/dev/dri for arm64

CPU architecture

x86-64

Docker creation

services:
  kali-linux:
    image: lscr.io/linuxserver/kali-linux:latest
    container_name: kali-linux
    security_opt:
      - seccomp:unconfined #optional
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
      - SUBFOLDER=/ #optional
      - "TITLE=Kali Linux" #optional
    volumes:
      - ./config:/config
      - /var/run/docker.sock:/var/run/docker.sock #optional
    ports:
      - 3000:3000
      - 3001:3001
  #  devices:
  #    - /dev/dri:/dev/dri #optional
    shm_size: "1gb" #optional
    restart: unless-stopped

Container logs

daft@rat:~/projects/kali $ docker logs kali-linux
[migrations] started
[migrations] no migrations found
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────
[custom-init] No custom files found, skipping...
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.

Xvnc KasmVNC 1.2.0 - built Aug 31 2024 19:01:54
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12014000, The X.Org Foundation

[ls.io-init] done.
17
 2024-09-04 13:59:04,152 [INFO] websocket 0: got client connection from 127.0.0.1
 2024-09-04 13:59:04,182 [PRIO] Connections: accepted: @192.168.5.8
Copy link

github-actions bot commented Sep 4, 2024

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

@thelamer
Copy link
Member

As a rule I don't mess with the home directory unless it is absolutely necessary.
Just make a Konsole profile and your /config directory will be set.

@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants