You are not logged in.
Pages: 1
I recently installed Arch Linux using VMWare fusion. I am running into an issue in which executing tmux seems to cause the screen to dynamically resize and then crash tmux. I tried my best search fu and to look through the arch wiki but I was unable to find anything that seems related to this issue.
Of note, screen works absolutely fine. I also run this same tmux.conf on "the metal" of another machine with a similar setup without problems.
Xorg.1.log's relevant bits
[ 2459.774] (II) vmware(0): EDID for output Virtual2
[ 2459.774] (II) vmware(0): EDID for output Virtual3
[ 2459.774] (II) vmware(0): EDID for output Virtual4
[ 2459.774] (II) vmware(0): EDID for output Virtual5
[ 2459.774] (II) vmware(0): EDID for output Virtual6
[ 2459.774] (II) vmware(0): EDID for output Virtual7
[ 2459.774] (II) vmware(0): EDID for output Virtual8
[ 2459.774] (II) vmware(0): Output Virtual1 connected
[ 2459.774] (II) vmware(0): Output Virtual2 disconnected
[ 2459.774] (II) vmware(0): Output Virtual3 disconnected
[ 2459.774] (II) vmware(0): Output Virtual4 disconnected
[ 2459.774] (II) vmware(0): Output Virtual5 disconnected
[ 2459.774] (II) vmware(0): Output Virtual6 disconnected
[ 2459.774] (II) vmware(0): Output Virtual7 disconnected
[ 2459.774] (II) vmware(0): Output Virtual8 disconnected
[ 2459.774] (II) vmware(0): Using user preference for initial modes
[ 2459.774] (II) vmware(0): Output Virtual1 using initial mode 1024x768
[ 2459.774] (II) vmware(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 2459.774] (==) vmware(0): DPI set to (96, 96)
[ 2459.774] (II) Loading sub module "fb"
[ 2459.774] (II) LoadModule: "fb"
[ 2459.774] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 2459.774] (II) Module fb: vendor="X.Org Foundation"
[ 2459.774] compiled for 1.14.1, module version = 1.0.0
[ 2459.774] ABI class: X.Org ANSI C Emulation, version 0.4
[ 2459.774] (II) Loading sub module "dri2"
[ 2459.774] (II) LoadModule: "dri2"
[ 2459.774] (II) Module "dri2" already built-in
[ 2459.774] (==) Depth 24 pixmap format is 32 bpp
[ 2459.775] (II) vmware(0): Initialized VMWARE_CTRL extension version 0.2
[ 2459.780] (II) vmware(0): Gallium3D XA version: 1.0.0.
[ 2459.780] (II) vmware(0): Path of drm device is "/dev/dri/card0".
[ 2459.780] (II) vmware(0): [DRI2] Setup complete
[ 2459.780] (II) vmware(0): [DRI2] DRI driver: vmwgfx
[ 2459.780] (--) vmware(0): Render acceleration is enabled.
[ 2459.780] (==) vmware(0): Rendercheck mode is disabled.
[ 2459.780] (--) vmware(0): Direct rendering (3D) is enabled.
[ 2459.780] (==) vmware(0): Direct presents are disabled.
[ 2459.780] (==) vmware(0): Hardware only presents are disabled.
[ 2459.780] (==) vmware(0): Backing store disabled
[ 2459.780] (==) vmware(0): Silken mouse enabled
[ 2459.780] (II) vmware(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 2459.780] (==) vmware(0): DPMS enabled
[ 2459.780] (--) RandR disabled
[ 2459.787] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 2459.787] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 2459.787] (II) AIGLX: enabled GLX_ARB_create_context
[ 2459.787] (II) AIGLX: enabled GLX_ARB_create_context_profile
[ 2459.787] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[ 2459.787] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[ 2459.788] (II) AIGLX: Loaded and initialized vmwgfx
[ 2459.788] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 2459.788]
Fatal server error:
[ 2459.788] failed to create screen resources
[ 2459.789] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 2459.789] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information.
[ 2459.789] (EE)
[ 2459.790] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 2459.790] (WW) vmware(0): drmDropMaster failed: Invalid argument
[ 2459.812] Server terminated with error (1). Closing log file..tmux.conf
# unbind some default keybindings
unbind C-b
# set prefix key to ctrl-a
set -g prefix C-a
# lower command delay
set -sg escape-time 1
# start first window and pane at 1, not zero
set -g base-index 1
set -g pane-base-index 1
# bind r to reloading the config file
bind r source-file ~/.tmux.conf \; display "Reloaded tmux config file."
# pass through a ctrl-a if you press it twice
bind C-a send-prefix
# better mnemonics for splitting panes!
bind | split-window -h
bind - split-window -v
# vim / xmonad style bindings for pane movement
bind -r h select-pane -L
bind -r j select-pane -D
bind -r k select-pane -U
bind -r l select-pane -R
# vim / xmonad style bindings for window movement
bind -r C-h select-window -t :-
bind -r C-l select-window -t :+
# shift-movement keys will resize panes
bind -r H resize-pane -L 5
bind -r J resize-pane -D 5
bind -r K resize-pane -U 5
bind -r L resize-pane -R 5
# disable mouse support (at least while we're learning)
setw -g mode-mouse off
set -g mouse-select-pane off
set -g mouse-resize-pane off
set -g mouse-select-window off
# turn on 256 color support in tmux
#set -g default-terminal "screen-256color"
# fiddle with colors of status bar
set -g status-fg white
set -g status-bg colour234
# fiddle with colors of inactive windows
setw -g window-status-fg cyan
setw -g window-status-bg colour234
setw -g window-status-attr dim
# change color of active window
setw -g window-status-current-fg white
setw -g window-status-current-bg colour88
setw -g window-status-current-attr bright
# set color of regular and active panes
set -g pane-border-fg colour238
set -g pane-border-bg default
set -g pane-active-border-fg green
set -g pane-active-border-bg default
# set color of command line
set -g message-fg white
set -g message-bg colour22
set -g message-attr bright
# configure contents of status bar
set -g status-utf8 on
set -g status-left-length 40
set -g status-left "#[fg=green]\"#S\""
set -g status-right "#[fg=green] #h | %d %b %R"
set -g status-justify centre
setw -g monitor-activity on
set -g visual-activity on
# navigate using vim-style keys
setw -g mode-keys vi
set -g set-titles off
# copy/paste using vim-style keys
bind Escape copy-mode
unbind p
bind p paste-buffer
bind -t vi-copy 'v' begin-selection
bind -t vi-copy 'y' copy-selection
# xclip support (commented as this often doesn't make sense on remote servers)
bind C-c run "tmux save-buffer - / xclip -i -sel clipboard"
bind C-v run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer"
# set up aliases for temporarily maximizing panes
unbind Up
bind Up new-window -d -n tmp \; swap-pane -s tmp.1 \; select-window -t tmp
unbind Down
bind Down last-window \; swap-pane -s tmp.1 \; kill-window -t tmp
# set up alias for turning on logging
bind P pipe-pane -o "cat >>~/#W.log" \; display "Toggled logging to ~/#W.log"xinitrc
#!/bin/sh
#
# ~/.xinitrc
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
xrdb ~/.Xresources
exec startxfce4Offline
A little more news. Tmux runs fine as the root user but not as a non root user. I'm assuming this might be some kind of permission problem?
If this helps, here is a messy strace of tmux.
[brettk@bkarch Desktop]$ strace -f -e trace=file tmux
execve("/usr/bin/tmux", ["tmux"], [/* 32 vars */]) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libutil.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libncursesw.so.5", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libevent-2.0.so.5", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libresolv.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/usr/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
access("/bin/bash", X_OK) = 0
access("/home/brettk/.tmux.conf", R_OK) = -1 ENOENT (No such file or directory)
mkdir("/tmp//tmux-1000", 0700) = -1 EEXIST (File exists)
lstat("/tmp//tmux-1000", {st_mode=S_IFDIR|0700, st_size=60, ...}) = 0
lstat("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=300, ...}) = 0
lstat("/tmp/tmux-1000", {st_mode=S_IFDIR|0700, st_size=60, ...}) = 0
open("/tmp/tmux-1000/default.lock", O_WRONLY|O_CREAT, 0600) = 6
unlink("/tmp/tmux-1000/default") = 0
getcwd("/home/brettk/Desktop", 4096) = 21
Process 910 attached
[pid 910] +++ exited with 0 +++
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=910, si_status=0, si_utime=0, si_stime=0} ---
Process 911 attached
[pid 911] open("/dev/null", O_RDWR) = 7
[pid 911] unlink("/tmp/tmux-1000/default") = -1 ENOENT (No such file or directory)
[pid 911] stat("/tmp/tmux-1000/default", {st_mode=S_IFSOCK|0660, st_size=0, ...}) = 0
[pid 911] chmod("/tmp/tmux-1000/default", 0140660) = 0
[pid 911] unlink("/tmp/tmux-1000/default.lock") = 0
[pid 911] access("/etc/tmux.conf", R_OK) = -1 ENOENT (No such file or directory)
[pid 911] readlink("/proc/self/fd/6", "/dev/pts/0", 4095) = 10
[pid 911] stat("/dev/pts/0", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
[pid 911] stat("/home/brettk/.terminfo", 0x7fff3ac4a780) = -1 ENOENT (No such file or directory)
[pid 911] stat("/usr/share/terminfo", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 911] access("/usr/share/terminfo/x/xterm", R_OK) = 0
[pid 911] open("/usr/share/terminfo/x/xterm", O_RDONLY) = 9
[pid 911] open("/dev/ptmx", O_RDWR) = 9
[pid 911] statfs("/dev/pts", {f_type="DEVPTS_SUPER_MAGIC", f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
[pid 911] stat("/dev/pts/1", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
[pid 911] open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 10
[pid 911] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 10
[pid 911] open("/usr/lib/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 10
[pid 911] open("/etc/group", O_RDONLY|O_CLOEXEC) = 10
[pid 911] stat("/dev/pts/1", {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
[pid 911] open("/dev/pts/1", O_RDWR|O_NOCTTY) = 10
Process 912 attached
[pid 912] chdir("/home/brettk/Desktop") = 0
[pid 912] openat(AT_FDCWD, "/proc/912/fd", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 9
[pid 912] execve("/bin/bash", ["-bash"], [/* 34 vars */]) = 0
[pid 912] access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
[pid 912] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
[pid 912] open("/usr/lib/libreadline.so.6", O_RDONLY|O_CLOEXEC) = 3
[pid 912] open("/usr/lib/libncursesw.so.5", O_RDONLY|O_CLOEXEC) = 3
[pid 912] open("/usr/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
[pid 912] open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
[pid 912] open("/dev/tty", O_RDWR|O_NONBLOCK) = 3
[pid 912] open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
[pid 912] open("/proc/meminfo", O_RDONLY|O_CLOEXEC) = 3
[pid 912] open("/etc/nsswitch.conf", O_RDONLY|O_CLOEXEC) = 3
[pid 912] open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
[pid 912] open("/usr/lib/libnss_files.so.2", O_RDONLY|O_CLOEXEC) = 3
[pid 912] open("/etc/passwd", O_RDONLY|O_CLOEXEC) = 3
[pid 912] stat("/home/brettk/Desktop", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 912] stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 912] open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
[pid 912] open("/usr/lib/gconv/gconv-modules", O_RDONLY|O_CLOEXEC) = 3
[pid 911] stat("/tmp/tmux-1000/default", {st_mode=S_IFSOCK|0660, st_size=0, ...}) = 0
[pid 911] chmod("/tmp/tmux-1000/default", 0140770) = 0
[pid 911] open("/etc/localtime", O_RDONLY|O_CLOEXEC) = 10
[pid 912] open("/etc/profile", O_RDONLY) = 3
[pid 911] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0
[pid 911] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0
[pid 911] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0
[pid 911] readlink("/proc/912/cwd", "/home/brettk/Desktop", 4096) = 20
[pid 911] open("/proc/912/cmdline", O_RDONLY) = 10
[pid 911] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0
[pid 912] stat("/etc/profile.d/", <unfinished ...>
[pid 911] stat("/etc/localtime", <unfinished ...>
[pid 912] <... stat resumed> {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 911] <... stat resumed> {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0
[pid 911] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0
[pid 912] openat(AT_FDCWD, "/etc/profile.d/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC <unfinished ...>
[pid 911] stat("/etc/localtime", <unfinished ...>
[pid 912] <... openat resumed> ) = 3
[pid 911] <... stat resumed> {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0
[pid 911] readlink("/proc/912/cwd", "/home/brettk/Desktop", 4096) = 20
[pid 911] open("/proc/912/cmdline", O_RDONLY) = 10
[pid 912] faccessat(AT_FDCWD, "/etc/profile.d/gpm.sh", R_OK) = 0
[pid 912] open("/etc/profile.d/gpm.sh", O_RDONLY) = 3
[pid 911] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0
[pid 911] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0
[pid 911] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0
[pid 911] stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3559, ...}) = 0
[pid 911] readlink("/proc/912/cwd", "/home/brettk/Desktop", 4096) = 20
[pid 911] open("/proc/912/cmdline", O_RDONLYProcess 913 attached
) = 10
[exited]
[pid 911] stat("/tmp/tmux-1000/default", {st_mode=S_IFSOCK|0770, st_size=0, ...}) = 0
[pid 911] chmod("/tmp/tmux-1000/default", 0140660) = 0
[pid 911] +++ exited with 0 +++
[pid 909] +++ exited with 0 +++
+++ exited with 1 +++
[brettk@bkarch Desktop]$ EDIT
I am seeing the same error with bash login which is what tmux uses. So when I run the following I receive the same error with X.
/bin/bash --loginLast edited by brettk (2013-06-24 02:49:41)
Offline
Pages: 1