On 07/11/17 08:46, CLOSE Dave wrote:
Ed Greshko wrote:
I found that if I have ListenStream=192.168.1.198:5901 in my xvnc.socket file I also get a failure on boot. I thought it could have been due to my using DHCP on that VM. I changed it back to ListenStream=5901. Can you try just having that?
The socket now reports that it is up correctly after boot. But I still get a blank screen on connecting.
OK..... So, since you're getting the blank screen and Xvnc is getting started and you are getting connection error in the kdm log I think it is safe to say that there is nothing wrong with the systemd stuff and the issue is with kdm and/or Xvnc.
Here is my /etc/kde/kdm/kdmrc file....
[root@f25f kdm]# grep -v ^# kdmrc
[General] ConfigVersion=2.4 StaticServers=:0 ReserveServers=:1,:2,:3 ServerVTs=-1 ConsoleTTYs=tty1,tty2,tty3,tty4,tty5,tty6 PidFile=/var/run/kdm/kdm.pid AuthDir=/var/run/kdm
[Xdmcp] Enable=true Xaccess=/etc/kde/kdm/Xaccess Willing=/etc/kde/kdm/Xwilling
[Shutdown] HaltCmd=/sbin/poweroff BootManager=None
[X-*-Core] Setup=/etc/kde/kdm/Xsetup Session=/etc/kde/kdm/Xsession ForceUserAuthDir=true AutoReLogin=false AllowRootLogin=true AllowShutdown=Root SessionsDirs=/usr/share/xsessions,/usr/share/kde4/apps/kdm/sessions ClientLogFile=.xsession-errors-%d
[X-*-Greeter] GUIStyle=Plastique LogoArea=Logo LogoPixmap=/usr/share/icons/hicolor/96x96/apps/fedora-logo-icon.png GreetString=Fedora 22 (Twenty Two) AntiAliasing=true GreetFont=Sans,16,-1,5,75,0,0,0,0,0 StdFont=Sans,10,-1,5,50,0,0,0,0,0 FailFont=Sans,12,-1,5,75,0,0,0,0,0 UserList=false ShowUsers=NotHidden HiddenUsers=root MinShowUID=-1 MaxShowUID=65530 SortUsers=true FaceSource=PreferUser FocusPasswd=true EchoPasswd=true UseBackground=true BackgroundCfg=/var/lib/kdm/backgroundrc GrabInput=Always GrabServer=false ForgingSeed=1108476160 AllowConsole=false Preloader=/usr/bin/preloadkde UseTheme=true Theme=/usr/share/kde4/apps/kdm/themes/fedora
[X-:*-Core] ServerAttempts=2 ServerTimeout=60 ServerCmd=/usr/bin/X -br -novtswitch -quiet ServerArgsLocal=-background none -nolisten tcp TerminateServer=true AllowNullPasswd=true AllowShutdown=All
[X-:*-Greeter] PreselectUser=Previous FocusPasswd=true LoginMode=DefaultLocal AllowClose=false
[X-:0-Core] ClientLogFile=.xsession-errors
[X-:0-Greeter]
And because I can't think of anything else at the moment....
[root@f25f kdm]# netstat -nap | grep kdm udp6 0 0 :::177 :::* 767/kdm unix 2 [ ACC ] STREAM LISTENING 26390 767/kdm /var/run/xdmctl/dmctl-:1/socket unix 2 [ ACC ] STREAM LISTENING 21331 767/kdm /var/run/xdmctl/dmctl-:0/socket unix 2 [ ACC ] STREAM LISTENING 20931 767/kdm /var/run/xdmctl/dmctl/socket unix 3 [ ] STREAM CONNECTED 26404 1311/kdm_greet unix 3 [ ] STREAM CONNECTED 21674 866/kdm_greet unix 3 [ ] STREAM CONNECTED 26393 767/kdm unix 3 [ ] STREAM CONNECTED 26395 767/kdm unix 3 [ ] STREAM CONNECTED 21334 767/kdm unix 2 [ ] DGRAM 20944 767/kdm unix 3 [ ] STREAM CONNECTED 21356 866/kdm_greet unix 3 [ ] STREAM CONNECTED 21336 767/kdm unix 3 [ ] STREAM CONNECTED 26414 1311/kdm_greet
And when I connect there are no entries sent to the logs of kdm or messages. Only when I close the vncviewer window do I get...
Jul 11 09:00:52 f25f kdm: localhost:1[1365]: Abnormal termination of greeter for display localhost:1, code 1, signal 0 Jul 11 09:00:52 f25f kdm: localhost:1[1365]: Fatal X server IO error: No such file or directory