|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Xvnc does not work with GDM anymore
I used to be able to run stand-alone Xvnc server and connect to it using GDM. But this stopped working after I upgraded to OpenBSD 7.5, and now that I have upgraded to 7.6 it does not work either.
I use TigerVNC. In my /etc/inetd.conf file I have the following line: Code:
localhost:5901 stream tcp nowait nobody /usr/local/bin/Xvnc Xvnc -inetd -query localhost -once SecurityTypes=None -localhost -geometry 1860x1020 -Log *:syslog:100 [xdmcp] Enable=true Then I start GDM and inetd: rcctl start gdm rcctl -f start inetd After which I try to connect to the OpenBSD box: xtigervncviewer -via 192.168.122.218 localhost::5901 The command opens the VNC window, but it closes immediately. The relevant lines from /var/log/messages and the /var/log/gdm/127.0.0.1:1-greeter.log are attached. Xvnc is started automatically, but it looks like GDM is trying to start Xorg, and fails, instead using the Xvnc server. Note that I have also installed Xorg in addition to Xvnc, and it starts automatically after starting GDM. Any ideas how to fix this? Jarkko |
|
|||
Solved
I managed to fix this by removing relevant packages and then reinstalling them. Below are the commands I used.
Code:
doas pkg_delete tigervnc gdm gnome-session xfce doas rm -rf /var/db/gdm doas rm -rf /var/log/gdm/* doas rm /etc/gdm/custom.conf doas /usr/sbin/userdel _gdm mv .vnc old.vnc doas syspatch doas pkg_add -u doas rm -f /var/db/colord/mapping.db /var/db/colord/storage.db doas rm -rf /var/sasl2/* /etc/dconf/db/* /etc/dconf/profile/* doas rm -f /var/db/upower/history-* doas pkg_add tigervnc gdm gnome-session xfce doas rcctl start messagebus doas emacs -nw /etc/gdm/custom.conf doas rcctl restart gdm doas rcctl -f start inetd |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[/!\] DNSSEC : dont use anymore SHA-1! [/!\] | CiotBSD | General software and network | 0 | 24th January 2020 05:54 PM |
There's No Protection In High Ports Anymore, Son. If Indeed There Ever Was. | J65nko | News | 6 | 19th February 2013 01:54 AM |
NAUTILUS does not display /etc/fstab contents anymore | vermaden | FreeBSD General | 0 | 13th April 2011 06:58 AM |
My keyboard is not working properly anymore in OpenBSD | newbsdied | OpenBSD General | 2 | 4th November 2010 11:20 PM |
Can't passwd on all accounts anymore | ck2323 | FreeBSD General | 1 | 7th October 2009 03:28 AM |