You are not logged in.
I get this
$ xinit firefox -- :10
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/dump9:10
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
X.Org X Server 1.12.3
Release Date: 2012-07-09
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.4.4-3-ARCH x86_64
Current Operating System: Linux dump9 3.4.6-2-ck #1 SMP PREEMPT Fri Jul 27 05:21:51 EDT 2012 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-ck root=UUID=1025b9b8-69d8-4b4c-9a47-0569af0a5ae4 ro quiet libahci.ignore_sss=1 init=/usr/sbin/e4rat-preload-lite elevator=bfq ipv6.disable=1 raid=noautodetect
Build Date: 09 July 2012 03:59:39PM
Current version of pixman: 0.26.2
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.10.log", Time: Fri Aug 3 14:16:19 2012
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
Another instance of Dropbox (4505) is running!
xinit: connection to X server lost
waiting for X server to shut down Server terminated successfully (0). Closing log file.xorg log: http://pastebin.com/sKfftsmu
I can't spot whats wrong.
Last edited by boast (2012-08-03 21:01:46)
Asus M4A785TD-V ;; Phenom II X4 @ 3.9GHz ;; Ripjaws 12GB DDR3-1600 ;; 128GB Samsung 830 ;; MSI GTX460 v2 w/ blob ;; Arch Linux + KDE 4.x
Offline
Firefox fails because of an IPv6 issue. with nothing else running, X closes successfully.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Firefox fails because of an IPv6 issue. with nothing else running, X closes successfully.
I can't run kwrite, winecfg, gimp, etc..
Do these all use ipv6?
Asus M4A785TD-V ;; Phenom II X4 @ 3.9GHz ;; Ripjaws 12GB DDR3-1600 ;; 128GB Samsung 830 ;; MSI GTX460 v2 w/ blob ;; Arch Linux + KDE 4.x
Offline
Nope, do you get the same errors?
What's in your xinitrc, and can you start a second "normal" session?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Nope, do you get the same errors?
What's in your xinitrc, and can you start a second "normal" session?
yep, unless I do
$ xinit kwrite -- :10 -nolisten tcpand ~/.xinitrc
if [ -f $HOME/.Xmodmap ]; then
/usr/bin/xmodmap $HOME/.Xmodmap
fi
#exec ck-launch-session startkde
dropboxd
nvidia-settings --load-config-only
(sleep 300 && alsactl restore) &How do I start a second normal session?
Last edited by boast (2012-08-03 20:12:40)
Asus M4A785TD-V ;; Phenom II X4 @ 3.9GHz ;; Ripjaws 12GB DDR3-1600 ;; 128GB Samsung 830 ;; MSI GTX460 v2 w/ blob ;; Arch Linux + KDE 4.x
Offline
I'm not sure how you start your first "normal" session. Is the startkde line normally uncommented?
There is nothing in your .xinitrc that uses the parameter you are trying to pass to it. And since the xinitrc doesn't start a window manager, or anything else, it just exits normally. The inet6 warnings you get may not be relevant.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I'm not sure how you start your first "normal" session. Is the startkde line normally uncommented?
systemd starts kdm.service
There is nothing in your .xinitrc that uses the parameter you are trying to pass to it. And since the xinitrc doesn't start a window manager, or anything else, it just exits normally. The inet6 warnings you get may not be relevant.
Hmm, I see. So I need to start a window manager before sending a program to a new x display? Can it be done within the same xinit command?
Asus M4A785TD-V ;; Phenom II X4 @ 3.9GHz ;; Ripjaws 12GB DDR3-1600 ;; 128GB Samsung 830 ;; MSI GTX460 v2 w/ blob ;; Arch Linux + KDE 4.x
Offline
How do I start a second normal session?
The same way you start the first one. I use 'startx' so it would be 'startx' for me.
Edit: Is there a reason you don't use a WM in your .xinitrc?
Last edited by karol (2012-08-03 20:34:38)
Offline
Hmm, I see. So I need to start a window manager before sending a program to a new x display? Can it be done within the same xinit command?
FIrst, I've never used KDM, so I can't be sure if any of this would work with it, but I don't expect any conflict. Next, you don't need a wm, but you need tell X to do something. Right now it's doing exactly what it is instructed to do: it starts, it has nothing else to do, so it ends.
You can type anything you want after your xinit command, but unless you use that parameter in your .xinitrc, those parameters are just ignored.
At the most basic, you could have just "$1" in your xinitrc to get the behavior you want. That way when you type "xinit firefox -- :1" x will start a new session on the next available tty (often this would be tty8) and run firefox in it.
I'm not sure why you have :10 though, do you already have 10 x sessions running?
edit: I just tested with "-- :10" and it works just fine, it just seems unconventional.
Last edited by Trilby (2012-08-03 20:48:19)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
At the most basic, you could have just "$1" in your xinitrc to get the behavior you want. That way when you type "xinit firefox -- :1" x will start a new session on the next available tty (often this would be tty8) and run firefox in it.
that worked. thanks!
I'm not sure why you have :10 though, do you already have 10 x sessions running?
lol, I dunno. It was in a wiki and I had just copy and pasted
Asus M4A785TD-V ;; Phenom II X4 @ 3.9GHz ;; Ripjaws 12GB DDR3-1600 ;; 128GB Samsung 830 ;; MSI GTX460 v2 w/ blob ;; Arch Linux + KDE 4.x
Offline
Glad it's working. If satisfied you can mark the thread as solved.
But to revist one point, no WM is needed, but you might want to consider a lightweight/simple wm anyways. TinyWM would do the trick. That way you would always be able to move/resize a window if you needed to. If you just use firefox like this, I suspect you'll use firefox's fullscreen option, but other apps may be tricker.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline