You are not logged in.
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-2I 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 permission2. 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 errorSolved 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
xinit -- vt$XDG_VTNR"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
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
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
In one of my machine, I use startx instead of xinit, and it works.
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startxAnd I've tried the command, it works too.
xinit -- vt$XDG_VTNRRunning 4 ArchLinux including sh4twbox,server,notebook,desktop. my AUR packages
Offline
"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
GI Jack, wrong thread?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline