You are not logged in.

#1 2014-08-03 23:56:40

dlin
Member
From: Taipei,Taiwan
Registered: 2005-09-21
Posts: 265

[SOLVED] Upgrade X11 1.16 and missing GUI

I just do a system upgrade, and I've read https://www.archlinux.org/news/xorg-ser … available/.
But, I can not tell how to solve the GUI missing problem.
My environment

$ lspci |grep -e VGA
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML 
Express Integrated Graphics Controller (rev 03)

$ pacman -Q|grep xf86-video
xf86-video-intel 2.99.914-3
xf86-video-sisusb 0.9.6-5

$ pacman -Q|grep xf86-input
xf86-input-evdev 2.9.0-2
xf86-input-synaptics 1.8.0-2

I could use xinit to start my X without display manager before upgrade.

1. First try, just xinit

$ xinit
# got error message: can not open /dev/tty1
$ ls -l /dev/tty1
crw------- 1 root tty 4, 1 Aug  4 07:48 /dev/tty1
$ id
# I don't have tty permission

2. Second try, let me in 'tty' group

$ gpasswd -a me tty
$ xinit
X.Org X Server 1.16.0
Release Date: 2014-07-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.15.5-2-ARCH i686
Current Operating System: Linux cfw5 3.15.8-1-ARCH #1 SMP PREEMPT Fri Aug 1 08:53:42 CEST 2014 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=09ff8c66-db2d-4f24-acec-e113771d5677 rw quiet
Build Date: 31 July 2014  11:55:52AM

Current version of pixman: 0.32.6
        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: "/home/dlin/.local/share/xorg/Xorg.0.log", Time: Mon Aug  4 07:52:26 2014
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) xf86OpenConsole: Cannot open virtual console 3 (Permission denied)
(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 "/home/dlin/.local/share/xorg/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Solved solutions(choose one):
1. just use startx instead of xinit
2. xinit -- vt$XDG_VTNR

Last edited by dlin (2014-08-04 01:49:22)


Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages

Offline

#2 2014-08-04 00:38:33

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: [SOLVED] Upgrade X11 1.16 and missing GUI

xinit -- vt$XDG_VTNR

"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2014-08-04 01:15:22

dlin
Member
From: Taipei,Taiwan
Registered: 2005-09-21
Posts: 265

Re: [SOLVED] Upgrade X11 1.16 and missing GUI

Trilby wrote:
xinit -- vt$XDG_VTNR

Could you explain more?

I'm wonder what's the content of XDG_VTNR.  I just use a clean console environment without any display manager.  So, I haven't such variable.


Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages

Offline

#4 2014-08-04 01:23:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: [SOLVED] Upgrade X11 1.16 and missing GUI

Are you booting with systemd?  If so, XDG_VTNR should be set (by logind I think).

More information on this is everywhere: in the last news item, in all the wiki pages related to starting X.  The XDG_VTNR variable is not new and has been useful for many services for quite some time - now it is just required (or you have to set up Xorg.wrap).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2014-08-04 01:48:16

dlin
Member
From: Taipei,Taiwan
Registered: 2005-09-21
Posts: 265

Re: [SOLVED] Upgrade X11 1.16 and missing GUI

In one of my machine, I use startx instead of xinit, and it works.

[[ -z $DISPLAY && $XDG_VTNR -eq 1  ]] && exec startx

And I've tried the command, it works too.

xinit -- vt$XDG_VTNR

Running 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages

Offline

#6 2014-08-13 23:29:38

GI Jack
Member
Registered: 2010-12-29
Posts: 92

Re: [SOLVED] Upgrade X11 1.16 and missing GUI

"could not start gui" is somewhat vauge.

What Desktop Enviroment/Window Manager/DesktopManager are you using?

If your launching X from the command line, also consider dbus-launch is needed for some desktops, and implied for some desktops.

I find its generally easier to just run a display manager most of the time, which takes care of most of the headaches.

Offline

#7 2014-08-14 00:48:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: [SOLVED] Upgrade X11 1.16 and missing GUI

GI Jack, wrong thread?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB