Discussion:
Unable to run kde or gnome
(too old to reply)
Martin, Larry D
2012-11-20 19:20:02 UTC
Permalink
I have installed Debian (2.6.32-5-s390x Sun Sep 23 08:59:07 UTC 2012) on a z9 - LPAR mode.

I can login but cannot get either gnome or kde to work. Whenever I issue startx, I get:

xf860OpenConsole: Cannot open /dev/tty0 (No such file or directory).

I have tried to research this via Google but have not found any answer that works. In /dev I do have a tty but no tty0.

Also, what editor do I have available in line mode?

Thanks, ..........Larry




This E-mail and any of its attachments may contain Prince George’s
County Government or Prince George's County 7th Judicial Circuit
Court proprietary information or Protected Health Information,
which is privileged and confidential. This E-mail is intended
solely for the use of the individual or entity to which it is
addressed. If you are not the intended recipient of this E-mail,
you are hereby notified that any dissemination, distribution,
copying, or action taken in relation to the contents of and
attachments to this E-mail is strictly prohibited by federal law
and may expose you to civil and/or criminal penalties. If you have
received this E-mail in error, please notify the sender immediately
and permanently delete the original and any copy of this E-mail and
any printout.
Martin, Larry D
2012-11-21 13:00:03 UTC
Permalink
I had a suggestion to run vncserver and I can try that (once I figure out how). What I really want to know is how to fix the 'startx' so that it works.

I think I need to update the config file, but with what? When I type startx I get the following:

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-5-s390x s390 Debian
Current Operating System: Linux ibmlgclinux 2.6.32-5-s390x #1 SMP Sun Sep 23 0
Kernel command line: root=/dev/disk/by-path/ccw-0.0.2249-part1 BOOT_IMAGE=0
Build Date: 30 October 2011 10:34:03PM
xorg-server 2:1.7.7-14 (Julien Cristau <***@debian.org>)
Current version of pixman: 0.16.4
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: Wed Nov 21 07:30:15 2012
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) No Layout section. Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) | |-->Monitor "<default monitor>"
(==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevi.
(II) Loader magic: 0x5d1e4c
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0

Fatal server error:
xf86OpenConsole: Cannot find a free VT: Invalid argument


Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional informat.

(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor

Thanks, .............Larry




This E-mail and any of its attachments may contain Prince George’s
County Government or Prince George's County 7th Judicial Circuit
Court proprietary information or Protected Health Information,
which is privileged and confidential. This E-mail is intended
solely for the use of the individual or entity to which it is
addressed. If you are not the intended recipient of this E-mail,
you are hereby notified that any dissemination, distribution,
copying, or action taken in relation to the contents of and
attachments to this E-mail is strictly prohibited by federal law
and may expose you to civil and/or criminal penalties. If you have
received this E-mail in error, please notify the sender immediately
and permanently delete the original and any copy of this E-mail and
any printout.
Philipp Kern
2012-11-21 14:10:01 UTC
Permalink
Post by Martin, Larry D
I have installed Debian (2.6.32-5-s390x Sun Sep 23 08:59:07 UTC 2012) on a z9 - LPAR mode.
xf860OpenConsole: Cannot open /dev/tty0 (No such file or directory).
On what graphical console would you expect X to appear? z doesn't have any.
All you can do is using some kind of remote desktop, but not through startx.

Kind regards
Philipp Kern
Philipp Kern
2012-11-21 14:50:02 UTC
Permalink
I have logged on through Putty from my desktop. Are you saying that because
Debian is running on the Mainframe there is no graphical interface available?
No Linux system supports startx over putty. You can install GNOME or KDE and
run it via X forwarding or xdmcp or VNC. But that's all not s390-specific.

Kind regards
Philipp Kern
Philipp Kern
2012-11-21 15:40:02 UTC
Permalink
Any idea why startx will not run. If I run it as root I get all the messages
I posted earlier and if I run it as a user I get that I am not authorized.
When I type gdm3 all I get is repeated messages about the display running for
0.2nnnnnnn seconds and have to <break> to get out of the loop.
As I said it's not supported. I don't know what else to tell you. There's
nothing startx could draw a display on. gdm/xdm/kdm needs an xdmcp
configuration before they can be used. Xnest seems indeed one way to go.
Another one is vncserver.

But I already said all of that (granted, except Xnest, thanks for the hint.)

Try startx on any x86 Linux box. It might start an X session on VT7 if you're
root, but not in your Putty.

(That question is not s390-related, so debian-***@lists.debian.org might be a
better fit for support.)

Kind regards
Philipp Kern
Martin, Larry D
2012-11-21 17:50:02 UTC
Permalink
Thanks to all. I have VNCSERVER working. Now to see what productive things we might be able to do.

Thanks, ...........Larry

-----Original Message-----
From: Philipp Kern [mailto:***@debian.org]
Sent: Wednesday, November 21, 2012 10:39 AM
To: Martin, Larry D
Cc: debian-***@lists.debian.org
Subject: Re: Unable to run kde or gnome
Any idea why startx will not run. If I run it as root I get all the
messages I posted earlier and if I run it as a user I get that I am not authorized.
When I type gdm3 all I get is repeated messages about the display
running for 0.2nnnnnnn seconds and have to <break> to get out of the loop.
As I said it's not supported. I don't know what else to tell you. There's nothing startx could draw a display on. gdm/xdm/kdm needs an xdmcp configuration before they can be used. Xnest seems indeed one way to go.
Another one is vncserver.

But I already said all of that (granted, except Xnest, thanks for the hint.)

Try startx on any x86 Linux box. It might start an X session on VT7 if you're root, but not in your Putty.

(That question is not s390-related, so debian-***@lists.debian.org might be a better fit for support.)

Kind regards
Philipp Kern


This E-mail and any of its attachments may contain Prince George’s
County Government or Prince George's County 7th Judicial Circuit
Court proprietary information or Protected Health Information,
which is privileged and confidential. This E-mail is intended
solely for the use of the individual or entity to which it is
addressed. If you are not the intended recipient of this E-mail,
you are hereby notified that any dissemination, distribution,
copying, or action taken in relation to the contents of and
attachments to this E-mail is strictly prohibited by federal law
and may expose you to civil and/or criminal penalties. If you have
received this E-mail in error, please notify the sender immediately
and permanently delete the original and any copy of this E-mail and
any printout.
--
To UNSUBSCRIBE, email to debian-s390-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Archive: http://lists.debian.org/***@PGEXCHIS01.co.pg.md.us
Loading...