On 1/26/22 14:11, Robert J Brenneman wrote:
you don't run the X server process on the remote system, the X Server runs
on the system with the video card in it - which is generally the
workstation/pc/laptop you are looking at.   the programs running on the
remote server are the X Clients, and you tell them where the server is by
setting the DISPLAY variable.  Generally you also enable SSH X11 tunneling
on the remote server by setting it in the ssh_server.conf file and
restarting sshd, and when you ssh into the server you use the -X switch on
the ssh command to tell the ssh client to create an X11 tunnel through your
ssh session.

Workstation-local X server, optionally with ssh X11 forwarding, is one option.

Running an X server on Z with the VNC backend, instead of a framebuffer, is
another option. In that case the local workstation would run a VNC client and
connect to the remote VNC server on the Z-side to show the virtual framebuffer
of the remote X server. I prefer it when I need to access GUI over anything
non-LAN, especially over long haul internet paths, because VNC over the long
haul path behaves much better than the good old verbose X window protocol.
Usually that would be a setup without any X display manager (such as XDM, GDM,
KDM, ...) in my case, but I've seen distros setup a full display manager setup
with Xvnc on Z.

Unfortunately, I cannot tell from the given information why the latter did not
work, despite having x11vnc installed.

On Wed, Jan 26, 2022 at 4:09 AM (K.K.Paradox)T.Kobayashi <
[email protected]> wrote:

Hello,

I'm setting up X Windows System on Ubuntu Server 18.04.

I installed the some packages with the following command:

$ sudo apt-get -y install xserver-xorg
$ sudo apt-get -y install x11-apps
$ sudo apt-get -y install xdm
$ sudo apt-get -y install x11vnc

And rebooted the system.

But, the xdm and Xorg issued following messges:
(EE) xf86OpenConsole: Cannot open virtual console 7 (No such file or
directory)
[   530.421] (EE) Failed to load module "fbdev" (module does not exist, 0)

Is there a way to resolve this error?
The details of the xdm and Xorg logs are shown below.

$ cat xdm.log
Thu Jan 27 02:39:02 2022 xdm info (pid 434): Starting
Thu Jan 27 02:39:04 2022 xdm info (pid 434): Starting X server on :0

X.Org X Server 1.19.6
Release Date: 2017-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.15.0-163-generic s390x Ubuntu
Current Operating System: Linux s390x 4.15.0-163-generic #171-Ubuntu SMP
Fri
Nov 5 11:52:46 UTC 2021 s390x
Kernel command line: root=UUID=5da92ea3-6118-4388-8cde-ea4963b13fc6
crashkernel=196M BOOT_IMAGE=
Build Date: 14 December 2021  04:11:57PM
xorg-server 2:1.19.6-1ubuntu4.10 (For technical support please see
http://www.ubuntu.com/support)
Current version of pixman: 0.34.0
         Before reporting problems, check http://wiki.x.org
         to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan 27 02:39:12 2022
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) xf86OpenConsole: Cannot open virtual console 7 (No such file or
directory)
(EE)
(EE)
Please consult the The X.Org Foundation support
          at http://wiki.x.org
  for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional
information.
(EE)
(EE) Server terminated with error (1). Closing log file.
Thu Jan 27 02:39:19 2022 xdm error (pid 434): server unexpectedly died
Wed Jan 26 17:39:41 2022 xdm error (pid 434): Server for display :0 can't
be
started, session disabled
Wed Jan 26 17:39:41 2022 xdm info (pid 434): Exiting

$ cat /var/log/Xorg.0.log
[   523.367]
X.Org X Server 1.19.6
Release Date: 2017-12-20
[   523.370] X Protocol Version 11, Revision 0
[   523.371] Build Operating System: Linux 4.15.0-163-generic s390x Ubuntu
[   523.387] Current Operating System: Linux s390x 4.15.0-163-generic
#171-Ubuntu SMP Fri Nov 5 11:52:46 UTC 2021 s390x
[   523.410] Kernel command line:
root=UUID=5da92ea3-6118-4388-8cde-ea4963b13fc6 crashkernel=196M BOOT_IMAGE=
[   523.486] Build Date: 14 December 2021  04:11:57PM
[   523.487] xorg-server 2:1.19.6-1ubuntu4.10 (For technical support please
see http://www.ubuntu.com/support)
[   523.488] Current version of pixman: 0.34.0
[   523.490]    Before reporting problems, check http://wiki.x.org
         to make sure that you have the latest version.
[   523.499] Markers: (--) probed, (**) from config file, (==) default
setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   523.528] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jan 27
02:39:12
2022
[   526.423] (==) Using system config directory
"/usr/share/X11/xorg.conf.d"
[   526.626] (==) No Layout section.  Using the first Screen section.
[   526.627] (==) No screen section available. Using defaults.
[   526.628] (**) |-->Screen "Default Screen Section" (0)
[   526.630] (**) |   |-->Monitor "<default monitor>"
[   526.926] (==) No monitor specified for screen "Default Screen Section".
         Using a default monitor configuration.
[   527.011] (==) Automatically adding devices
[   527.012] (==) Automatically enabling devices
[   527.015] (==) Automatically adding GPU devices
[   527.016] (==) Automatically binding GPU devices
[   527.044] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   527.325] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not
exist.
[   527.329]    Entry deleted from font path.
[   527.330] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not
exist.
[   527.356]    Entry deleted from font path.
[   527.391] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not
exist.
[   527.427]    Entry deleted from font path.
[   527.428] (WW) The directory "/usr/share/fonts/X11/Type1" does not
exist.
[   527.430]    Entry deleted from font path.
[   527.432] (WW) The directory "/usr/share/fonts/X11/100dpi" does not
exist.
[   527.449]    Entry deleted from font path.
[   527.451] (WW) The directory "/usr/share/fonts/X11/75dpi" does not
exist.
[   527.454]    Entry deleted from font path.
[   527.456] (==) FontPath set to:
         /usr/share/fonts/X11/misc,
         built-ins
[   527.457] (==) ModulePath set to "/usr/lib/xorg/modules"
[   527.459] (II) The server relies on udev to provide the list of input
devices.
         If no devices become available, reconfigure udev or disable
AutoAddDevices.
[   527.574] (II) Loader magic: 0x2aa0af70010
[   527.575] (II) Module ABI versions:
[   527.577]    X.Org ANSI C Emulation: 0.4
[   527.580]    X.Org Video Driver: 23.0
[   527.582]    X.Org XInput driver : 24.1
[   527.586]    X.Org Server Extension : 10.0
[   528.090] (++) using VT number 7

[   528.386] (II) systemd-logind: logind integration requires -keeptty
and -keeptty was not provided, disabling logind integration
[   528.486] (II) no primary bus or device found
[   528.618] (II) LoadModule: "glx"
[   529.032] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   529.960] (II) Module glx: vendor="X.Org Foundation"
[   529.962]    compiled for 1.19.6, module version = 1.0.0
[   529.965]    ABI class: X.Org Server Extension, version 10.0
[   529.971] (==) Matched modesetting as autoconfigured driver 0
[   529.978] (==) Matched fbdev as autoconfigured driver 1
[   529.979] (==) Assigned the driver to the xf86ConfigLayout
[   529.980] (II) LoadModule: "modesetting"
[   530.049] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   530.256] (II) Module modesetting: vendor="X.Org Foundation"
[   530.257]    compiled for 1.19.6, module version = 1.19.6
[   530.259]    Module class: X.Org Video Driver
[   530.261]    ABI class: X.Org Video Driver, version 23.0
[   530.263] (II) LoadModule: "fbdev"
[   530.413] (WW) Warning, couldn't open module fbdev
[   530.416] (II) UnloadModule: "fbdev"
[   530.420] (II) Unloading fbdev
[   530.421] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   530.422] (==) Matched modesetting as autoconfigured driver 0
[   530.425] (==) Matched fbdev as autoconfigured driver 1
[   530.426] (==) Assigned the driver to the xf86ConfigLayout
[   530.428] (II) LoadModule: "modesetting"
[   530.549] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   530.552] (II) Module modesetting: vendor="X.Org Foundation"
[   530.559]    compiled for 1.19.6, module version = 1.19.6
[   530.560]    Module class: X.Org Video Driver
[   530.563]    ABI class: X.Org Video Driver, version 23.0
[   530.564] (II) UnloadModule: "modesetting"
[   530.567] (II) Unloading modesetting
[   530.572] (II) Failed to load module "modesetting" (already loaded, 7)
[   530.576] (II) LoadModule: "fbdev"
[   530.729] (WW) Warning, couldn't open module fbdev
[   530.731] (II) UnloadModule: "fbdev"
[   530.775] (II) Unloading fbdev

Best regards,
Toyokazu Kobayashi

--
Jay Brenneman


--
Mit freundlichen Gruessen / Kind regards
Steffen Maier

Linux on IBM Z and LinuxONE

https://www.ibm.com/privacy/us/en/
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Gregor Pillen
Geschaeftsfuehrung: David Faller, Dirk Wittkopp
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www2.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to