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

data_loss_prevention.watermark.location issue #252

Open
Venkateshvenki404224 opened this issue Jun 5, 2024 · 0 comments
Open

data_loss_prevention.watermark.location issue #252

Venkateshvenki404224 opened this issue Jun 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Venkateshvenki404224
Copy link

Describe the bug
I am unable to use the watermark location config with negative value .

System Description
Provide the output of

cat /etc/os-release
uname -a
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
VERSION_ID="2024.1"
VERSION="2024.1"
VERSION_CODENAME=kali-rolling
ID=kali
ID_LIKE=debian
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"
ANSI_COLOR="1;31"

KasmVNC Details
Provide the filename of the package you installed KasmVNC with. The filename includes important details like the OS, architecture, and commit sha.

Provide the output of this command.

Xvnc -version
root@kali:~# Xvnc -version

Xvnc KasmVNC 1.2.1.0ef21b67f06e3a9efdb78389e80d9c75a646d563 - built Mar 15 2024 12:10:35
Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me)
See http://kasmweb.com for information on KasmVNC.
Underlying X server release 12010000, The X.Org Foundation

To Reproduce
Steps to reproduce the behavior (for non-installation issues):

  1. Go to '...'
kasmvnc.yaml 
  1. Add this code inside the data_loss_prevention:
  watermark:
    image: /var/labsdata/kasm/watermark.png
    location: -10,-10
  1. Run vnc_startup.sh
  2. See error
The script is running from the directory: /home/kasm-default-profile
...+...........+...+..........+...+..+...+...+.+.....+....+......+...........+...+....+++++++++++++++++++++++++++++++++++++++*.......+..+.......+...........+...+.+.....+..........+++++++++++++++++++++++++++++++++++++++*...+..+.........+...+...+....+.........+..++++++
.+..+.........+++++++++++++++++++++++++++++++++++++++*......+..+..........+...............+.....+.+..+...+++++++++++++++++++++++++++++++++++++++*...........+..+......+......+....+.........+........+...+.+...+..+......+...+......+.+.........+........+.+.....................+...+......+......+.....+.........+.+...+.....+..........+.......................+............+.+......+...+.................+...+......+......+...............+...+.............+............+...+..+..........+..+...+.+.....+.+.........+......+...+..+.+........+............+..........+.........+......++++++
-----

---------  purging existing VNC password settings  ---------


------------------ Starting KasmVNC Server ------------------
2024-06-05T15:34:54Z DEBUG (vnc_startup.sh): Starting KasmVNC
config errors:
data_loss_prevention.watermark.location '-10,-10': Must be an x and y offset separated by a comma: 10,10

Expected behavior
A clear and concise description of what you expected to happen.

data_loss_prevention.watermark.location x,y Place the watermark at this location. Positive numbers are relative from top left, negative numbers are relative from bottom right. The default is to place at center screen. This cannot be used in combination with repeat_spacing.

Based on the above documentation the vnc_startup.sh script should accept negative values. But getting an error in the startup script.

@mmcclaskey mmcclaskey added the bug Something isn't working label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants