You are not logged in.
Pages: 1
Can anyone point me to a resource for getting this working. All I get on another Ubuntu machine Remmina client (or TigerVNC) client is prompt for password, and gray screen.
Last edited by jmcgee (2025-02-16 17:38:13)
Offline
Does this help? https://greenhost.cloud/how-to-setup-vn … ntu-24-04/.
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Does this help? https://greenhost.cloud/how-to-setup-vn … ntu-24-04/.
If I follow that I get
mythuser@amethi:~$ vncserver
New Xtigervnc server 'amethi:2 (mythuser)' on port 5902 for display :2.
Use xtigervncviewer -SecurityTypes VncAuth -passwd /tmp/tigervnc.6waqBB/passwd :2 to connect to the VNC server.
=================== tail /home/mythuser/.vnc/amethi:2.log ===================
xrdb: No such file or directory
xrdb: can't open file '/home/mythuser/.Xresources'
=============================================================================
Session startup via '/home/mythuser/.vnc/xstartup' cleanly exited too early (< 3 seconds)!
Maybe try something simple first, e.g.,
tigervncserver -xstartup /usr/bin/xterm
The X session cleanly exited!
Killing Xtigervnc process ID 21491... success!
Offline
Just tested those instructions and they don't work for me either on 24.04. These do though: https://www.server-world.info/en/note?o … esktop&f=6.
My .vnc/xstartup:
#!/bin/sh
xrdb $HOME/.Xresources
startxfce4 &
Mark solved threads as [SOLVED] to make it easier for others to find solutions.
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
if you don't want separated session, but share same as you see on lcd, then try install x11vnc
and run in simple: x11vnc (as non root, no with sudo)
if work, you can add systemd service for autorun and "tuned" options, save it in /etc/systemd/system/x11vnc.service:
[Unit]
Description=x11vnc VNC Server for X11
Requires=lightdm.service
After=lightdm.service
[Service]
Type=simple
ExecStart=/usr/bin/x11vnc -auth /var/run/lightdm/root/:0 -display WAIT:0 -forever -shared -rfbauth /root/.config/vnc/passwd -rfbport 5900 -no6 -rfbportv6 -1 -ping 60 -noxdamage -ncache_cr -dontdisconnect -noxrecord
ExecStop=/usr/bin/killall x11vnc
Restart=on-failure
RestartSec=2
SuccessExitStatus=3
[Install]
WantedBy=graphical.target
this run as root, but in this way is also usable to access lightdm login screen via vnc...
before activate service, you must prepare password file using:
sudo mkdir /root/.config/vnc
sudo x11vnc -storepasswd /root/.config/vnc/passwd
and enable and autostart service:
sudo systemctl enable --now x11vnc
Offline
Pages: 1
[ Generated in 0.005 seconds, 7 queries executed - Memory usage: 540.77 KiB (Peak: 542.05 KiB) ]