You are not logged in.
hello everybody
I was installed according to the https://wiki.archlinux.org/index.php/Beginners%27_guide archlinux
Then according to the https://wiki.archlinux.org/index.php/GNOME install gnome
I edited the post again Hope it looks more useful
But I can't startx start the desktop
I had a lot of document reference finally stopped here
I can't continue to
Before hanging display appeared like the picture
http://www.de-brauwer.be/images/virtual_box/xorg2.png
[root@localhost ~]# startx
X.Org X Server 1.17.1
Release Date: 2015-02-10
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.19.2-1-ARCH i686
Current Operating System: Linux localhost 4.0.4-2-ARCH #1 SMP PREEMPT Fri May 22 03:19:32 UTC 2015 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=9db02512-05c3-4118-a892-dbbf3d2e1569 rw quiet
Build Date: 14 April 2015 10:36:09AM
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: "/var/log/Xorg.5.log", Time: Sat Jun 6 14:00:43 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
^Cxinit: connection to X server lost
waiting for X server to shut down XIO: fatal IO error 0 (Success) on X server ":5"
after 1528 requests (1528 known processed) with 0 events remaining.
xterm: xterm: fatal IO error 104 (Connection reset by peer) or KillClient on X server ":5"
fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":5"
xterm: fatal IO error 104 (Connection reset by peer) or KillClient on X server ":5"
(II) Server terminated successfully (0). Closing log file.
xinit: unexpected signal 2this is my /root dir file
[root@localhost ~]# ls -al
total 36
drwxr-x--- 3 root root 4096 Jun 6 14:51 .
drwxr-xr-x 17 root root 4096 Jun 6 09:28 ..
-rw------- 1 root root 587 Jun 6 14:55 .bash_history
-rw-r--r-- 1 root root 0 Jun 6 13:44 log.log
-rw-r--r-- 1 root root 0 Jun 6 13:55 pkglist.orig
drwxr-xr-x 2 root root 4096 Jun 6 13:31 .vim
-rw------- 1 root root 5319 Jun 6 13:53 .viminfo
-rw------- 1 root root 270 Jun 6 14:00 .Xauthority
-rw-r--r-- 1 root root 739 Jun 6 14:51 .xinitrc
-rw-r--r-- 1 root root 3147 Jun 6 13:11 xorg.conf.new[root@localhost ~]# cat .xinitrc
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name loginThank you for your help
-- mod note: converted img to url tags. Please see guidelines on image sizes. Trilby --
Last edited by zxc159789 (2015-06-07 02:55:47)
Offline
Greetings fellow Pastafarian and welcome to Arch ![]()
Please note that in the middle of the code is pending I press CTRL + C to terminate it
I'm not sure I understand this -- why did you terminate it?
Have you created ~/.xinitrc?
https://wiki.archlinux.org/index.php/Xinitrc
https://wiki.archlinux.org/index.php/GNOME#Manually
Jin, Jîyan, Azadî
Offline
Greetings fellow Pastafarian and welcome to Arch
zxc159789 wrote:Please note that in the middle of the code is pending I press CTRL + C to terminate it
I'm not sure I understand this -- why did you terminate it?
Have you created ~/.xinitrc?
https://wiki.archlinux.org/index.php/Xinitrc
https://wiki.archlinux.org/index.php/GNOME#Manually
If I do not to end it It will be in my inside keep the SSH terminal And there will be no further change on the display
I tried this two documents all related operations
I totally have no idea now
Offline
zxc..., if you are wondering where your first post went, it looks like you hit "report" rather than "reply".
Head_on_a_stick is right, as usual - it looks like you need a ~/.xinitrc. Without that file in your user's home directory, xinit starts twm, with a couple xterms and xclock. This is exactly what is shown in your image.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I tried this two documents all related operations
Please post the content of ~/.xinitrc
Jin, Jîyan, Azadî
Offline
Please edit your thread title and remove the redundant and annoying plea for help. Read the rest of the Forum Etiquette when you do: https://wiki.archlinux.org/index.php/Fo … ow_to_post
Offline
zxc159789 wrote:I tried this two documents all related operations
Please post the content of ~/.xinitrc
this is my /root dir file
[root@localhost ~]# ls -al
total 36
drwxr-x--- 3 root root 4096 Jun 6 14:51 .
drwxr-xr-x 17 root root 4096 Jun 6 09:28 ..
-rw------- 1 root root 587 Jun 6 14:55 .bash_history
-rw-r--r-- 1 root root 0 Jun 6 13:44 log.log
-rw-r--r-- 1 root root 0 Jun 6 13:55 pkglist.orig
drwxr-xr-x 2 root root 4096 Jun 6 13:31 .vim
-rw------- 1 root root 5319 Jun 6 13:53 .viminfo
-rw------- 1 root root 270 Jun 6 14:00 .Xauthority
-rw-r--r-- 1 root root 739 Jun 6 14:51 .xinitrc
-rw-r--r-- 1 root root 3147 Jun 6 13:11 xorg.conf.new[root@localhost ~]# cat .xinitrc
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name loginOffline
Three things:
1) It is dangerous to run X as root and should simply never be done unless you know exactly what you are doing and why you are doing it (so you shouldn't)
2) That xinitrc is a copy of the systemwide one, which is why you are seeing xterms and xclock in twm: there is nothing about gnome in there.
3) Even if you tried to launch gnome from there, I believe gnome pampers users enough to not start up as root.
To do this right, create an xinitrc for your *user*, or post it if you have already done so. What have you actually done to set up gnome?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Please edit your thread title and remove the redundant and annoying plea for help. Read the rest of the Forum Etiquette when you do: https://wiki.archlinux.org/index.php/Fo … ow_to_post
I have already modified is that ok
Offline
Even though I don't know if this is related, but just to rule out that this would interfere:
It is usually a bad idea to name your host "localhost".
I don't think this will affect the gnome after finish all the installation I will modify it
Offline
Three things:
1) It is dangerous to run X as root and should simply never be done unless you know exactly what you are doing and why you are doing it (so you shouldn't)
2) That xinitrc is a copy of the systemwide one, which is why you are seeing xterms and xclock in twm: there is nothing about gnome in there.
3) Even if you tried to launch gnome from there, I believe gnome pampers users enough to not start up as root.
To do this right, create an xinitrc for your *user*, or post it if you have already done so. What have you actually done to set up gnome?
Thank you for your reminder
Have been using the root operation This is my mistake, I should pay attention to it
Gnome cannot start because I don't have the right to modify ~ /. Xinitrc
Now I am gnome has launched the thank you very much
Offline