Starting from https://forums.opensuse.org/showthre...Replacing-SDDM for a better clarity,
I open this new thread because may issue is not completely connected to SDDM but it seems more connected to VNC.
I want to run a VNC server as normal user and connect to it with a remote PC.
The PC server has as display manager SDDM (but I've tried also with xdm with same results).
As normal user (on PC server) I run the command :
I also created a password to access to it.
This is the content of /home/icai/.vnc/xstartup :
This is the output of lsof:
On a remote PC (with SDDM) as normal user I run
I give the vnc password and I get back a black screen (I get this with SDDM or xdm on PC server).
When I do the same steps but with root (on PC server) everything work (with SDDM or xdm on PC server).
IMHO I believe that the issue is not related to display manager but maybe is related to some kind of permission ...
I open this new thread because may issue is not completely connected to SDDM but it seems more connected to VNC.
I want to run a VNC server as normal user and connect to it with a remote PC.
The PC server has as display manager SDDM (but I've tried also with xdm with same results).
As normal user (on PC server) I run the command :
Code:
icai@CITECT:~> vncserver :1 -geometry 1024x768 -depth 24
New 'CITECT:1 (icai)' desktop is CITECT:1
Starting applications specified in /home/icai/.vnc/xstartup
Log file is /home/icai/.vnc/CITECT:1.log
This is the content of /home/icai/.vnc/xstartup :
Code:
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
userclientrc=$HOME/.xinitrc
sysclientrc=/etc/X11/xinit/xinitrc
if [ -f "$userclientrc" ]; then
client="$userclientrc"
elif [ -f "$sysclientrc" ]; then
client="$sysclientrc"
fi
if [ -x "$client" ]; then
exec "$client"
fi
if [ -f "$client" ]; then
exec sh "$client"
fi
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
if [ -x /usr/bin/twm ]; then
/usr/bin/twm &
else
echo "No window manager found. You should install a window manager to get properly working VNC session."
fi
Code:
lsof: WARNING: can't stat() tracefs file system /sys/kernel/debug/tracing
Output information may be incomplete.
kdeconnec 2384 icai 13u IPv6 32112 0t0 TCP *:xmsg (LISTEN)
kdeconnec 2384 2395 QXcbEvent icai 13u IPv6 32112 0t0 TCP *:xmsg (LISTEN)
kdeconnec 2384 2411 QDBusConn icai 13u IPv6 32112 0t0 TCP *:xmsg (LISTEN)
kdeconnec 2384 2413 Qt\x20bea icai 13u IPv6 32112 0t0 TCP *:xmsg (LISTEN)
Xvnc 2985 icai 6u IPv4 56819 0t0 TCP *:5901 (LISTEN)
Xvnc 2985 icai 7u IPv6 56820 0t0 TCP *:5901 (LISTEN)
Xvnc 2985 2986 llvmpipe- icai 6u IPv4 56819 0t0 TCP *:5901 (LISTEN)
Xvnc 2985 2986 llvmpipe- icai 7u IPv6 56820 0t0 TCP *:5901 (LISTEN)
Xvnc 2985 2987 llvmpipe- icai 6u IPv4 56819 0t0 TCP *:5901 (LISTEN)
Xvnc 2985 2987 llvmpipe- icai 7u IPv6 56820 0t0 TCP *:5901 (LISTEN)
Xvnc 2985 2988 llvmpipe- icai 6u IPv4 56819 0t0 TCP *:5901 (LISTEN)
Xvnc 2985 2988 llvmpipe- icai 7u IPv6 56820 0t0 TCP *:5901 (LISTEN)
Xvnc 2985 2989 llvmpipe- icai 6u IPv4 56819 0t0 TCP *:5901 (LISTEN)
Xvnc 2985 2989 llvmpipe- icai 7u IPv6 56820 0t0 TCP *:5901 (LISTEN)
Code:
vncviewer :1
When I do the same steps but with root (on PC server) everything work (with SDDM or xdm on PC server).
IMHO I believe that the issue is not related to display manager but maybe is related to some kind of permission ...