Help with VNCSERVER

Hello people, I am trying to run vncserver and I am having so many issues I am burned out after 2 consecutive days trying to figure out how to make it work.

I am getting this error:

sogetsu  ~  20:23  vncserver
hostname: Name or service not known
xauth: (stdin):1:  bad display name "localhost.localdomain:2" in "add" command
-interface has no default value and wasn't passed by user at /usr/bin/vncserver line 2531.

sogetsu  ~  20:27  xauth list
localhost.localdomain/unix:0  MIT-MAGIC-COOKIE-1  7cc257deef004ac93ab578e4bd47dc0d
#ffff##:0  MIT-MAGIC-COOKIE-1  7cc257deef004ac93ab578e4bd47dc0d
localhost.localdomain/unix:2  MIT-MAGIC-COOKIE-1  3d6f41d82e742a281ed7fecb5ef122fc

sogetsu  ~  20:29  hostname
localhost.localdomain

I tried TigerVNC and I gave up and tried then with KasmVNC, running on this system:

sogetsu@localhost.localdomain

OS: openSUSE Leap 15.5 x86_64
Kernel: 5.14.21-150500.55.73-default
Uptime: 13 mins
Packages: 3169 (rpm), 3 (flatpak), 11 (snap)
Shell: bash 4.4.23
Display 1: 1920x1080 @ 60Hz
Display 2: 1920x1080 @ 60Hz
DE: KDE Plasma 5.27.9
WM: KWin (X11)

I supposed I need to change another configuration (already made a mess previously so I tried to uninstall everything tigervnc related and then install kasmvnc) that I am asking for more specific help right now since I am lost, I hope someone could please guide me. Thanks

Show

getent hosts localhost.localdomain

Nothing seems to be changed:

sogetsu  ~  10:34  vncserver
hostname: Name or service not known
xauth: (stdin):1: bad display name “localhost.localdomain:1” in “add” command

sogetsu  ~  10:35  getent hosts localhost.localdomain

sogetsu  ~  10:36  vncserver
hostname: Name or service not known
xauth: (stdin):1: bad display name “localhost.localdomain:1” in “add” command

sogetsu  ~  10:36 

I cannot interpret your post. I do not understand where is computer output and where is your own text.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.