[Solved]Can't forward X in ssh with "X11Forwarding yes" set
Hi friends,
I can't forward X in ssh, even with "X11Forwarding yes" set. After I ssh -X into the server, it prompts every time when I try to run a graphic app:
Error: no display specified
Could you please give me a hint? My sshd_config of the server is attached:
# $OpenBSD: sshd_config,v 1.80 2008/07/02 02:24:18 djm Exp $
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
# This sshd was compiled with PATH=/usr/bin:/bin:/usr/sbin:/sbin
# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options change a
# default value.
#Port 22
#AddressFamily any
#ListenAddress 0.0.0.0
#ListenAddress ::
# Disable legacy (protocol version 1) support in the server for new
# installations. In future the default will change to require explicit
# activation of protocol 1
Protocol 2
# HostKey for protocol version 1
#HostKey /etc/ssh/ssh_host_key
# HostKeys for protocol version 2
#HostKey /etc/ssh/ssh_host_rsa_key
#HostKey /etc/ssh/ssh_host_dsa_key
# Lifetime and size of ephemeral version 1 server key
#KeyRegenerationInterval 1h
#ServerKeyBits 1024
# Logging
# obsoletes QuietMode and FascistLogging
#SyslogFacility AUTH
#LogLevel INFO
# Authentication:
#LoginGraceTime 2m
#PermitRootLogin yes
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10
#RSAAuthentication yes
#PubkeyAuthentication yes
#AuthorizedKeysFile .ssh/authorized_keys
# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts
#RhostsRSAAuthentication no
# similar for protocol version 2
#HostbasedAuthentication no
# Change to yes if you don't trust ~/.ssh/known_hosts for
# RhostsRSAAuthentication and HostbasedAuthentication
#IgnoreUserKnownHosts no
# Don't read the user's ~/.rhosts and ~/.shosts files
#IgnoreRhosts yes
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication no
#PermitEmptyPasswords no
# Change to no to disable s/key passwords
#ChallengeResponseAuthentication no
# Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes
#KerberosGetAFSToken no
# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes
# Set this to 'yes' to enable PAM authentication, account processing,
# and session processing. If this is enabled, PAM authentication will
# be allowed through the ChallengeResponseAuthentication and
# PasswordAuthentication. Depending on your PAM configuration,
# PAM authentication via ChallengeResponseAuthentication may bypass
# the setting of "PermitRootLogin without-password".
# If you just want the PAM account and session checks to run without
# PAM authentication, then enable this but set PasswordAuthentication
# and ChallengeResponseAuthentication to 'no'.
UsePAM yes
#AllowAgentForwarding yes
#AllowTcpForwarding yes
#GatewayPorts no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
PrintMotd no
PrintLastLog no
#TCPKeepAlive yes
#UseLogin no
#UsePrivilegeSeparation yes
#PermitUserEnvironment no
#Compression delayed
#ClientAliveInterval 0
#ClientAliveCountMax 3
#UseDNS yes
#PidFile /var/run/sshd.pid
#MaxStartups 10
#PermitTunnel no
#ChrootDirectory none
# no default banner path
#Banner none
# override default of no subsystems
Subsystem sftp /usr/lib/ssh/sftp-server
# Example of overriding settings on a per-user basis
#Match User anoncvs
# X11Forwarding no
# AllowTcpForwarding no
# ForceCommand cvs server
Thank you very much!
Last edited by Wen (2010-01-16 23:18:12)
Ashren wrote:
Have you set:
ForwardX11 yes
on the client side?
Unfortunately, yes .
This is ssh_config file
# $OpenBSD: ssh_config,v 1.21 2005/12/06 22:38:27 reyk Exp $
# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.
# Configuration data is parsed as follows:
# 1. command line options
# 2. user-specific file
# 3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.
# Site-wide defaults for some commonly used options. For a comprehensive
# list of available options, their meanings and defaults, please see the
# ssh_config(5) man page.
# Host *
# ForwardAgent no
ForwardX11 yes
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# Port 22
# Protocol 2,1
# Cipher 3des
# Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
# EscapeChar ~
# Tunnel no
# TunnelDevice any:any
# PermitLocalCommand no
Host *
GSSAPIAuthentication yes
# If this option is set to yes then remote X11 clients will have full access
# to the original X11 display. As virtually no X11 client supports the untrusted
# mode correctly we set this to yes.
ForwardX11Trusted yes
# Send locale-related environment variables
SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
SendEnv LC_IDENTIFICATION LC_ALL
Similar Messages
-
Can't forward X over ssh anymore
I'm not really getting any error messages, it only says "can't open display" when I try to lauch an app. Everything seems okay using -vv to get info:
debug1: Requesting X11 forwarding with authentication spoofing.
then it just logs in without any error.
I moved the ~/.Xauthority on the client machine, and then got this error - i wonder if has something to do with the .Xauthority?
Warning: No xauth data; using fake authentication data for X11 forwarding.
I can ssh into a fedora box and launch apps, but not arch. Anyone have a suggestion of where I can start looking? Xorg.log is also giving absolutely nothing.sinister99 wrote:
slackhack wrote:
I think I got it. Add this line (or uncomment) to /etc/ssh/sshd_config, and restart the daemon:
X11UseLocalhost yes
Didn't work for me; are you connecting to another box, or are you on the same computer?
i'm on my laptop, connecting to my desktop. uncomment the line on the server box and restart the daemon, if that's not what you did.
also do echo $DISPLAY on the client (i think it should be something like :0.0), and on the server when you log in with X forwarded (should be a higher number, like :10.0).
also, make sure to run ssh with -vv flags to see if you get any error messages. -
[SOLVED] Can only login to Arch forum with Firefox
Hi everyone,
I'm a new member and thus do not familiar with the rule. Please tell me if I post in the wrong place !
I have registered a new account on Arch forum. However, I can only login with Firefox.
When I try to login with other browser (Opera, Chromium, Konquerer), it says:
Redirecting
Logged in successfully. Redirecting …
Click here if you do not want to wait any longer (or if your browser does not automatically forward you)
And then redirect me to the previous page without changing my login status.
When I login with Firefox, everything is normal. My login status is changed and I can post this one !
I have just installed Arch Linux this afternoon and have not changed anything.
Does the forum have problem?!
Anyone has the same problem with me?!
Last edited by BlueLaguna (2012-11-28 21:42:16)Your SYSTEM is broken because a browser does not work? And that requires a reinstall?
There may be a problem during installation. That's what I mean.
Anyway, I have just installed Arch Linux. Firefox is still the only browser that work.
Your time would be better spent fixing the problem first. Cache or configuration, pick one or both.
I'm pretty sure that cache and configuration are not concerned with this problem. I'm a web developer and I know these stuffs.
Besides, I don't think that we need to config anything with a newly installed browser. If the default settings do not work with normal website, it's a bad browser (in this case, we have three bad browsers: Konqueror, Chromium, Opera... and may be more).
I'm using KDE and I don't know whether this problem comes from KDE or not. However, I can login to many other forums with Konqueror, Opera and Chromium.
This forum may not create the session or cookies correctly when I use other browsers.
Anyway, If no one confirms that he or she has the same problem, let's close this topic here. -
[SOLVED] Can Clearlooks, Murrine, etc. be used with E17?
I repeat myself: "Can Clearlooks, Murrine, etc. be used with E17?"
Can this be achived. Since I figured that the above is just theme engines, and not wm.
Birger
Last edited by MindTooth (2008-11-18 22:21:22)MindTooth wrote:
I ment as in GTK. I use Firefox and Geany. If I use a theme for GTK with the above toolkits, it will change GTK themes specific? I know that much, that E17 has it own system, but I ask regarding GTK.
Birger
Yes, GTK themes work fine when using E17. -
[SOLVED] Can not shutdown/restart from KDE with systemd
Hello,
Recently, following I switched to a pure systemd setup. The process was simple and most things worked "right out of the bpx". However, I can not shutdown or restart from KDE!
Let's say that I do the 3 finger salute (ALT-CTRL-DEL) and select "Turn off computer" what I get is KDE shutting down, but then I will only get a console (TTY) login prompt. Pressing ALT-CTRL-DEL then will trigger a reboot. I can also login and use "systemctl poweroff". However, I don't understand why it doesn't work straight from KDE.
Are there some packages I must install? Are there some systemd services that I must enable? What other relevant info should I include in this post?
Active units :
UNIT LOAD ACTIVE SUB JOB DESCRIPTION
proc-sys...misc.automount loaded active waiting Arbitrary Executable File Formats File System Automount Point
sys-devi...d-card0.device loaded active plugged MCP79 High Definition Audio
sys-devi...da-sda1.device loaded active plugged ST9500420ASG
sys-devi...da-sda2.device loaded active plugged ST9500420ASG
sys-devi...da-sda3.device loaded active plugged ST9500420ASG
sys-devi...da-sda4.device loaded active plugged ST9500420ASG
sys-devi...da-sda5.device loaded active plugged ST9500420ASG
sys-devi...da-sda6.device loaded active plugged ST9500420ASG
sys-devi...ock-sda.device loaded active plugged ST9500420ASG
sys-devi...et-eth0.device loaded active plugged RTL8111/8168B PCI Express Gigabit Ethernet controller
sys-devi...t-wlan0.device loaded active plugged AR928X Wireless Network Adapter (PCI-Express)
sys-devi...y-ttyS0.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS0
sys-devi...y-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1
sys-devi...y-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2
sys-devi...y-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3
sys-module-fuse.device loaded active plugged /sys/module/fuse
-.mount loaded active mounted /
dev-hugepages.mount loaded active mounted Huge Pages File System
dev-mqueue.mount loaded active mounted POSIX Message Queue File System
home.mount loaded active mounted /home
run-user-1000-gvfs.mount loaded active mounted /run/user/1000/gvfs
sys-fs-f...nections.mount loaded active mounted FUSE Control File System
sys-kernel-debug.mount loaded active mounted Debug File System
tmp.mount loaded active mounted /tmp
cups.path loaded active waiting CUPS Printer Service Spool
systemd-...d-console.path loaded active waiting Dispatch Password Requests to Console Directory Watch
systemd-...word-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
bluetooth.service loaded active running Bluetooth service
colord-sane.service loaded active running Daemon for monitoring attached scanners and registering them with colord
colord.service loaded active running Manage, Install and Generate Color Profiles
console-...daemon.service loaded active running Console Manager
console-...-start.service loaded active exited Console System Startup Logging
cups.service loaded active running CUPS Printing Service
dbus.service loaded active running D-Bus System Message Bus
[email protected] loaded active running Getty on tty1
kdm.service loaded active running K Display Manager
NetworkManager.service loaded active running Network Manager
sshd.service loaded active running OpenSSH Daemon
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-...s-load.service loaded active exited Load Kernel Modules
systemd-...unt-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-...-setup.service loaded active exited Recreate Volatile Files and Directories
systemd-...rigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-...ssions.service loaded active exited Permit User Sessions
systemd-...-setup.service loaded active exited Setup Virtual Console
udisks2.service loaded active running Storage Daemon
upower.service loaded active running Daemon for power management
wpa_supplicant.service loaded active running WPA supplicant
cups.socket loaded active running CUPS Printing Service Sockets
dbus.socket loaded active running D-Bus System Message Bus Socket
systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
systemd-journald.socket loaded active running Journal Socket
systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
systemd-...control.socket loaded active listening udev Control Socket
systemd-...-kernel.socket loaded active running udev Kernel Socket
basic.target loaded active active Basic System
cryptsetup.target loaded active active Encrypted Volumes
getty.target loaded active active Login Prompts
graphical.target loaded active active Graphical Interface
local-fs-pre.target loaded active active Local File Systems (Pre)
local-fs.target loaded active active Local File Systems
multi-user.target loaded active active Multi-User
network.target loaded active active Network
remote-fs.target loaded active active Remote File Systems
sockets.target loaded active active Sockets
sound.target loaded active active Sound Card
swap.target loaded active active Swap
sysinit.target loaded active active System Initialization
systemd-...es-clean.timer loaded active waiting Daily Cleanup of Temporary Directories
LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.
JOB = Pending job for the unit.
72 units listed. Pass --all to see inactive units, too.
Last edited by Prozzaks (2012-08-20 17:35:48)Demon wrote:For me the system only halts, it does not poweroff. How I can solve this?
As bgc1954 said, there is also a symlink "/sbin/poweroff". Just edit the file "/usr/share/config/kdm/kdmrc", go to [shutdown] an replace the line "HaltCmd=/sbin/halt" with "HaltCmd=/sbin/poweroff". -
[solved] Can no longer untar AUR packages with tar xvf /directory/
For about a year now I've used this line of code from my .bash_aliases file to untar files from their source directory to the one I am currently CDed in at that moment:
alias tarx='tar xvf' # extracts files from a tarball using tar [e]x[tract] v[erbose] f[orced]
This alias failed to work a few weeks ago for some unknown reason and now spits out this error:
tarx /media/aur/srcpackages/atom-editor.tar.gz ./
tar: .: Not found in archive
tar: Exiting with failure status due to previous errors
Why on earth would this suddenly stop working. I haven't changed my .bashrc file apart from some small comments but here it is in case I'm totally out of it:
# ~/.bashrc
# This file is sourced by all *interactive* bash shells on startup, #
# including some apparently interactive shells such as scp and rcp #
# that can't tolerate any output. So make sure this doesn't display #
# anything or bad things will happen ! #
# If not running interactively, don't do anything #
[[ $- != *i* ]] && return
# If the connection to the system is a remote connection 'ssh' will be #
## appended to the prompt. Otherwise the prompt will be displayed normally #
# See: remote.colourful.prompt_how-to on /media/lynwyn/networking/ssh #
# Default prompt from the above-named document: #
# export PS1='\[\e[0;31m\]\u@\h:\w${text}$\[\e[m\]' # # #
if [ -n "$SSH_CLIENT" ]; then text=":ssh:"
fi
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
### [User Prompts]
### White Yunzi
export PS1='\[\e[0;37m\]: \[\e[1;92m\]\W\[\e[0;37m\] :\[\e[m\] \[\e[0;37m\]'
#### Silver Yunzi
#export PS1='\[\e[0;37m\]: \[\e[1;94m\]\W\[\e[0;37m\] :\[\e[m\] \[\e[0;37m\]'
### Pink Yunzi
#export PS1='\[\e[0;37m\]: \[\e[1;95m\]\W\[\e[0;37m\] :\[\e[m\] \[\e[1;95m\]'
### [Root Prompts]
### White Yunzi Root
#export PS1='\[\e[1;37m\]:\[\e[1;92m\]\u\[\e[1;37m\]:\[\e[1;92m\]\W\[\e[1;37m\]:\[\e[m\] \[\e[0;37m\]'
### Silver Yunzi Root
#export PS1='\[\e[0;37m\]:\[\e[1;94m\]\u\[\e[0;37m\]:\[\e[1;94m\]\W\[\e[0;37m\]:\[\e[m\]\[\e[0;37m\]'
### Pink Yunzi Root
#export PS1='\[\e[0;37m\]:\[\e[1;95m\]\u\[\e[0;37m\]:\[\e[1;95m\]\W\[\e[0;37m\]:\[\e[m\] \[\e[0;37\]'
### * BASH options * ###
### Last edited January 2014 by H.L.
# Bash won't get SIGWINCH if another process is in the foreground.
# Enable checkwinsize so that bash will check the terminal size when
# it regains control.
# [check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.]
# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
shopt -s checkwinsize
# automatically prepend cd when entering just a path in the shell
shopt -s autocd
# Enable history appending instead of overwriting.
shopt -s histappend
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=10000
HISTFILESIZE=20000
## erase duplicate entries in your history file
## and force Bash History to ignorespace
export HISTCONTROL=erasedups:ignorespace
# set variable identifying the chroot you work in (used in the prompt below)
#if [ -z "$arch_chroot" ] && [ -r /etc/arch_chroot ]; then
# debian_chroot=$(cat /etc/arch_chroot)
#fi
# make "less" more friendly for non-text input files, see lesspipe(1)
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
# TMUX
# Put this this snippet BEFORE the aliases in .bashrc.
# This code starts TMUX with only one session (unless you start some manually), on login;
# it will try to attach to a currently running session.
# If there isn't a currently running session then TMUX will create one.
# if which tmux 2>&1 >/dev/null; then
# if not inside a tmux session, and if no session is started start a new session
# test -z "$TMUX" && (tmux attach || tmux new-session)
# fi
# environment variables using gedit and nano
export EDITOR="$(if [[ -n $DISPLAY ]]; then echo 'gedit'; else echo 'nano'; fi)"
### Coloured man pages with explanations of colours in comments
# Note to self: all of the colour & escape statements work ONLY by using double quote marks, e.g. " ... "
## Coloured man pages with explanations of colours in comments
# 67: Primary colour for program names is Dark Green [old 80's CRT green!]
# 68: Optional arguments and/or separate options for arguments is Bright Green
# 69: Text Reset
# 70: Text Reset
# 71: man page info bottom of page is Dark Red on Black background (net effect is transparent background with red writing)
# 72: Text Reset
# 73: References to other programs (and their respective man page(s)) are Bright Yellow [good neutral yellow]
man() {
env LESS_TERMCAP_mb=$(printf "\e[1;31m") \
LESS_TERMCAP_md=$(printf "\e[1;31m") \
LESS_TERMCAP_me=$(printf "\e[0m") \
LESS_TERMCAP_se=$(printf "\e[0m") \
LESS_TERMCAP_so=$(printf "\e[1;44;33m") \
LESS_TERMCAP_ue=$(printf "\e[0m") \
LESS_TERMCAP_us=$(printf "\e[1;32m") \
man "$@"
## To get a skin of your choice loaded instead of mc's default
## skin, you might consider the following solution:
## Multi-User: Create an alias for mc in your ~/.bashrc, like:
if [ $TERM = "screen-256color" ]; then
if [ $USER = "root" ]; then
myMCSkin="modarcon16root-defbg"
else
myMCSkin="modarcon16-defbg"
fi
alias mc='mc --skin $myMCSkin'
alias mcedit="mcedit --skin $myMCSkin"
alias mcview="mcview --skin $myMCSkin"
alias mcdiff="mcdiff --skin $myMCSkin"
fi
Last edited by MoonSwan (2014-07-09 04:31:06)I seem to have a larger problem on my desktop machine. When I try to untar stuff on that one it creates a .cache directory for some weird reason and populates it with, I think, cached files from my home directory. It ends up having firefox, mc and other cached files in the new directory and then tar just errors out with:
gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Very odd behaviour and I'm assuming some config file somewhere is responsible for this behaviour. But where else can I look apart from .bashrc?
@ids1024, I'll do what you've what you suggested on my netbook later today and record the information to post afterward.
[edit] Here are the contents of that .cache directory, if it helps:
dconf event-sound-cache.tdb.silver_yunzi.x86_64-unknown-linux-gnu event-sound-cache.tdb.tengen.x86_64-unknown-linux-gnu fontconfig mc dmenu_run
event-sound-cache.tdb.silveryunzi.x86_64-unknown-linux-gnu event-sound-cache.tdb.white_yunzi.x86_64-unknown-linux-gnu gstreamer-1.0 mozilla
Last edited by MoonSwan (2014-06-28 19:57:10) -
[SOLVED] Can't install linuxwacom from AUR with latest X Server
I am unable to reinstall linuxwacom, which I had reinstalled perfectly the day before the big update from testing yesterday, which, among many other things, updated X Server to 1.7.0.901-1.
Here is the error output (am installing linuxwacom 0.8.4-6 from the AUR). I'm including everything that apears (to me) to be associated with the error, but if there should be more or less, let me know:
In file included from /usr/include/xorg/xf86str.h:38,
from /usr/include/xorg/xf86.h:46,
from ./xf86Wacom.h:68,
from ./xf86Wacom.c:93:
/usr/include/xorg/input.h:79:1: warning: this is the location of the previous definition
./xf86Wacom.c: In function 'xf86WcmInitialCoordinates':
./xf86Wacom.c:368: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:395: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c: In function 'xf86WcmRegisterX11Devices':
./xf86Wacom.c:630: warning: passing argument 3 of 'InitButtonClassDeviceStruct' from incompatible pointer type
/usr/include/xorg/input.h:274: note: expected 'Atom *' but argument is of type 'CARD8 *'
./xf86Wacom.c:630: error: too few arguments to function 'InitButtonClassDeviceStruct'
./xf86Wacom.c:670: warning: passing argument 3 of 'InitValuatorClassDeviceStruct' makes pointer from integer without a cast
/usr/include/xorg/input.h:280: note: expected 'Atom *' but argument is of type 'int'
./xf86Wacom.c:670: error: too few arguments to function 'InitValuatorClassDeviceStruct'
./xf86Wacom.c:712: warning: implicit declaration of function 'InitKeyClassDeviceStruct'
./xf86Wacom.c:720: warning: implicit declaration of function 'InitKbdFeedbackClassDeviceStruct'
./xf86Wacom.c:751: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:756: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:757: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:765: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:766: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:772: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:773: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:781: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:786: error: too few arguments to function 'InitValuatorAxisStruct'
./xf86Wacom.c:790: error: too few arguments to function 'InitValuatorAxisStruct'
make[2]: *** [xf86Wacom.o] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-sara/aur-linuxwacom/linuxwacom/src/linuxwacom-0.8.4-3/src/xdrv'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-sara/aur-linuxwacom/linuxwacom/src/linuxwacom-0.8.4-3/src'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.
Aborting...
Error: Makepkg was unable to build linuxwacom package.
Error: unable to update linuxwacom
Because of this, I can no longer use my pen or touchscreen. My tablet is a Lenovo X61t.
This is probably due to the testing repo as the package's maintainer (gwash) was unable to reproduce this with the latest updates from core and extra installed.
[edit] Perhaps this is because this package is designed to be compatible with version 1.6 of X Server, and I'm using 1.7 (the latest in testing). Are any other tablet users in testing experiencing this problem? [/edit]
[edit] And as I thought, downgrading xorg-server to 1.6 fixed this (this also required downgrading evdev and the intel driver). So it's just linuxwacom's incompatibility with verison 1.7, which will hopefully be fixed soon. Marking the subject line as SOLVED, though the real solution is an update to linuxwacom. [/edit]
Last edited by Sara (2011-06-08 22:43:19)N30N wrote:
schuschu wrote:Could someone put a PKGBUILD with patch into the AUR please?
I've added the patch to the linuxwacom-cvs package.
Thanks, but I still can't build it:
patching file src/xdrv/xf86Wacom.c
Hunk #1 succeeded at 100 with fuzz 2 (offset 10 lines).
Hunk #2 succeeded at 367 (offset -36 lines).
Hunk #3 succeeded at 397 (offset -33 lines).
Hunk #4 succeeded at 555 (offset -33 lines).
Hunk #5 succeeded at 611 (offset -22 lines).
Hunk #6 succeeded at 649 (offset -22 lines).
Hunk #7 succeeded at 667 (offset -22 lines).
Hunk #8 succeeded at 683 (offset -22 lines).
Hunk #9 succeeded at 723 (offset -22 lines).
Hunk #10 succeeded at 750 (offset -22 lines).
Hunk #11 succeeded at 781 (offset -22 lines).
Hunk #12 succeeded at 791 (offset -22 lines).
Hunk #13 succeeded at 823 (offset -22 lines).
Hunk #14 succeeded at 849 (offset -22 lines).
Hunk #15 FAILED at 881.
1 out of 15 hunks FAILED -- saving rejects to file src/xdrv/xf86Wacom.c.rej -
[SOLVED] Can't get DE to work with catalyst
Hey everyone,
I got problems getting KDE/Fluxbox running. I've installed the latest catalyst drivers (11.6) from AUR. "aticonfig --initial" created the xorg.conf for me, which seems to be ok but it gives me this error:
Found fglrx primary device section
Fail to link to fglrx-libglx.so, please check wether driver is installed correctly
I got two Radeon HD5850s. Is it necessary to connect those two cards with the crossfire cables? I did, but I think it doesn't make any difference if I don't, it's probably unrelated to my problem. When I try to "startx" this is what I got:
(WW) fglrx: No matching Device section for instance (BusID PCI:0@2:0:0) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@1:0:1) found
(WW) fglrx: No matching Device section for instance (BusID PCI:0@2:0:1) found
Segmentation fault at address 0x838
Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting
I've also uploaded my /var/log/Xorg.0.log, maybe this is helpful.
My xorg.conf looks like this:
#Section "InputDevice"
# Identifier "Generic Keyboard"
# Option "CoreKeyboard"
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
# Option "XkbOptions" "ctrl:nocaps"
#EndSection
Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
Screen "aticonfig-Screen[0]-1" RightOf "aticonfig-Screen[0]-0"
EndSection
Section "Files"
EndSection
Section "Module"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]-1"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
BusID "PCI:1:0:0"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]-1"
Driver "fglrx"
BusID "PCI:1:0:0"
Screen 1
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]-1"
Device "aticonfig-Device[0]-1"
Monitor "aticonfig-Monitor[0]-1"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
I'm using kernel 2.6.39 (x86_64) and I've only one display connected to the first card, I don't have another one, so no xinerama or something like that.
Can anyone help?
best regards
Webmaniac
Last edited by Webmaniac2 (2011-06-24 19:41:57)1- remove your catalyst an catalyst-utils driver build from AUR.
2- remove fglrx from your modules, in my experience you don`t need it there unless you`re using catalyst-daemon.
3- I recommend you use the Catalyst repository:
[catalyst]
Server = http://catalyst.apocalypsus.net/repo/catalyst/$arch
4- Be sure to remove /etc/ati/
5- update repositories and install catalyst and catalyst-utils from there
6- finally follow this part of the wiki:
After installing package you probably need to configure xorg. Using provided aticonfig tool is recommended:
# aticonfig --initial
(or for Dual Head: # aticonfig --initial=dual-head)
And add nomodeset to your kernel line in /boot/grub/menu.lst , ie.:
kernel /boot/vmlinuz26 root=/dev/sda1 ro nomodeset
You may now reboot your system.
I hope that works, also if you want you can ask in the The AMD/ATI Bar & Grill thread. -
[SOLVED] Can't get DHCP to work with wifi
On my recent install my wireless connection won't work with DHCP. If I use static IP I can associate with my AP and all is well but with DHCP wicd-gtk goes through the connection process and then just says "Not Connected". Any ideas?
Last edited by ill (2013-01-22 01:18:28)ill wrote:I don't believe that's the issue. wicd successfully autodetected the interfaces... plus if it had the wrong interface I don't think using static IPs would fix the problem.
Have you tried connecting manually with wpa-supplicant?
The wiki says this
If wicd repeatedly fails to get an IP address using the default dhcpcd client, try installing and using dhclient instead:
# pacman -S dhclient
I'd try manually with wpa-supplicant and if that works try the new dhcp client -
[Solved] Can't get MPD to work with PulseAudio
After a long time using straight Alsa I've been setting up Pulse because I want to send my laptop's audio to a networked device. So far I have audio output working (through my laptop) with everything except MPD. MPD won't output audio with Pulse enabled; songs stay in "paused" mode. I run MPD as my local user and have been trying to get this suggested systemd service to work, but it fails when I start it:
systemd[1]: Starting Music Player Daemon (running as 0112358)...
systemd[1]: Started Music Player Daemon (running as 0112358).
systemd[4098]: pam_unix(system-local-login:session): session opened for user 0112358 by (uid=0)
sudo[4095]: pam_unix(sudo:session): session closed for user root
mpd[4098]: Failed to bind to '[::]:6600': Failed to create socket: Address family not supported by protocol
systemd[4100]: pam_unix(system-local-login:session): session closed for user 0112358
systemd[1]: mpd-myuser.service: main process exited, code=exited, status=1/FAILURE
systemd[1]: Unit mpd-myuser.service entered failed state.
dbus-daemon[943]: dbus[943]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.55" (uid=1000 pid=4100 comm="(sd-p ") interface="org.freedesktop.login1.Manager" member="ReleaseS
dbus[943]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.55" (uid=1000 pid=4100 comm="(sd-p ") interface="org.freedesktop.login1.Manager" member="ReleaseSession" error name
systemd[4100]: pam_systemd(system-local-login:session): Failed to release session: Access denied
sudo[4114]: 0112358 : TTY=pts/3 ; PWD=/home/0112358 ; USER=root ; COMMAND=/usr/bin/journalctl
sudo[4114]: pam_unix(sudo:session): session opened for user root by (uid=0)
This is my /etc/mpd.conf:
music_directory "/home/0112358/Music"
playlist_directory "/home/0112358/Music/Playlists"
db_file "/home/0112358/.mpd/mpd.db"
log_file "/home/0112358/.mpd/mpd.log"
pid_file "/home/0112358/.mpd/mpd.pid"
state_file "/home/0112358/.mpd/mpd.state"
user "0112358"
gapless_mp3_playback "yes"
input{
plugin "curl"
audio_output{
type "pulse"
name "My Pulse Output"
/etc/asound.conf:
# Use PulseAudio by default
pcm.!default {
type pulse
fallback "sysdefault"
hint {
show on
description "Default ALSA Output (currently PulseAudio Sound Server)"
ctl.!default {
type pulse
fallback "sysdefault"
/etc/pulse/default.pa:
.nofail
.fail
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
load-module module-augment-properties
load-module module-switch-on-port-available
### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif
### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif
### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif
.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif
### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif
### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore
### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams
### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink
### Honour intended role device property
load-module module-intended-roles
### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle
### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
.nofail
load-module module-console-kit
.fail
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif
### Enable positioned event sounds
load-module module-position-event-sounds
### Cork music/video streams when a phone stream is active
load-module module-role-cork
load-module module-filter-heuristics
load-module module-filter-apply
### Load DBus protocol
.ifexists module-dbus-protocol.so
load-module module-dbus-protocol
.endif
### Make some devices default
#set-default-sink output
#set-default-source input
Could anyone give me a hand please?
Last edited by 0112358 (2013-06-30 15:30:33)0112358 wrote:
ngoonee wrote:Or you could workaround it by outputting to tcp/ip to pulse (I wrote that section of the pulseaudio article on wiki.archlinux.org)
You're suggesting running mpd as its own user? If I did that, and configured mpd to output to 127.0.0.1, etc, would Pulse then be able to redirect the audio to another networked machine (since that's my end goal here)? I don't want to end up having to put the other machine's IP directly in mpd.conf, since I won't always be running that way (since it's a laptop - sometimes I'll take it on the road and use headphones).
Pulse can do that, yes, its very flexible that way. Doesn't matter where the audio comes from, really. Though as a disclaimer, I haven't tried it myself yet.
Why not just set two outputs for mpd and toggle between them since it has native support? Doesn't sound like you really need pulseaudio. -
[Solved]Can't finish The Hobbit installation with virtual drive
Is there any way that I could combine two iso files into one so that I could finish The Hobbit installation process. I always get stuck at the point where it asks for the second disk and gnome-disk-utility won't unmount the first ISO because it's still in use by the installation process.
I tried doing this
$ sudo mount -t iso9660 -o loop disc1-mountpoint
$ sudo mount -t iso9660 -o loop disc2-mountpoint
$ sudo mkisofs -l -J -R -o dvd.iso disc1-mountpoint disc2-mountpoint
and here's what I got
I: -input-charset not specified, using utf-8 (detected in locale settings)
Using BILBO000.ICO;1 for /bilbo.ico (bilbo.ico)
Using AUTORUN000.INF;1 for /Autorun.inf (Autorun.inf)
genisoimage: Error: '/media/dc/bilbo.ico' and '/media/live/bilbo.ico' have the same Rock Ridge name 'bilbo.ico'.
genisoimage: Error: '/media/dc/Autorun.inf' and '/media/live/Autorun.inf' have the same Rock Ridge name 'Autorun.inf'.
Unable to sort directory
NOTE: multiple source directories have been specified and merged into the root
of the filesystem. Check your program arguments. genisoimage is not tar.
So here's what I'm currently trying right now.
$ cat HobbitCD1.iso > The_Hobbit.iso
$ cat HobbitCD2.iso >> The_Hobbit.iso
Okay, so doing that didn't return any errors, now to see if I can finish the installation with the new ISO file.
Nope it still asks for disk 2. So the real question is how can I force the first disk to unmount so that I can replace it with the second disk?
Last edited by lspci (2012-08-23 22:40:14)progandy wrote:Why don't you try this?
Manually mount the first iso image, begin installation, forcibly unmount old iso, mount new iso, continue installation.
Oh, you can forcibly unmount something?!
(read the manpage for umount)
Oh, whaddaya know, you can.
from umount's manpage
-f Force umount (in case of an unreachable NFS system). (Requires kernel 2.1.116 or later.)
I dunno why I didn't think to check the manpage for umount. Sorry, my bad.
EDIT: Okay, so forcibly unmounting the iso didn't work. I was able to force umount, but I couldn't disassociate the /dev/loop2 from the HobbitCD1.iso file. losetup doesn't seem to support forcing. I think that I better just install this under Windows and then copy and paste the installed files to my external hard drive and then move them onto my laptop from there. =/ Not really what I was looking for, though.
Last edited by lspci (2012-07-30 11:53:58) -
[SOLVED] Can somebody explain how to connect with BitlBee to Jabber?
I've read archwiki about bitlbee ssh and irssi setup, but still can't connect. So what I do, as soon as I start "irssi" I enter "/connect im.bitlbee.org", then "/join #bitlbee", then I get into a chatscreen, where I should enter "help commands" or "help" according to wiki , but I don't get any messages, its a chat, so when I enter these commands they are shown just as plain chat messages in the screen.
Can somebody tell me what am I doing wrong? Cause I feel like a complete idiot.
Last edited by tasty_minerals (2011-05-15 13:11:53)changed my IRC client from "irssi" to "weechat" and all worked like a charm.
Last edited by tasty_minerals (2011-05-15 13:11:38) -
[Solved] Can't get Xorg to work with 1366x768
Hi there,
I've been trying to drive my laptop with its native resolution but in vain,
only xf86-video-vesa (1024x768) is working for me right now. (native is 1366x768)
The hardware is Intel GMA + nVidia optimus, so
I have xf86-video-intel and xf86-video-nouveau installed, but startx only complains that "[EE] No device found."
However, while I was desperate trying to set it up, the Ubuntu 10.10 LiveCD work this problem out of the box.
Had both Xorg AND console(framebuffer) set to the right resolution.
It has exactly the same kernel module setup (i915 and nouveau)
so I wonder what went wrong ? anyone had succeeded in this enterprise ? any tips ?
Last edited by b4283 (2011-03-04 16:21:40)Do you have KMS enabled? Try to use only the intel kernel module and drivers, blacklist nouveau if necessary.
What notebook is it?
https://wiki.archlinux.org/index.php/As … th_Optimus
https://wiki.archlinux.org/index.php?ti … th_Optimus
Last edited by karol (2011-03-03 09:46:58) -
[SOLVED] Can't get autofs to work with NFS4
NFS share mounts successfully either from fstab or manual mount, but autofs doesn't seem to be able to handle it.
My /etc/autofs/auto.master:
/nfs /etc/autofs/auto.nfs
/etc/autofs/auto.nfs:
mountpoint -fstype=nfs4 serv1:/mnt/stor
And then:
# systemctl reload autofs
$ cd /nfs/mountpoint/
bash: cd: /nfs/mountpoint/: No such file or directory
Am I doing something wrong with autofs?
Last edited by nesk (2014-09-15 06:23:44)Here they are:
# automount -d -f -v
Starting automounter version 5.1.0, master map auto.master
using kernel protocol version 5.02
lookup_nss_read_master: reading master files auto.master
parse_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry /nfs
master_do_mount: mounting /nfs
automount_path_to_fifo: fifo name /run/autofs.fifo-nfs
lookup_nss_read_map: reading map file /etc/autofs/auto.nfs
parse_init: parse(sun): init gathered global options: (null)
mounted indirect on /nfs with timeout 300, freq 75 seconds
st_ready: st_ready(): state = 0 path /nfs
handle_packet: type = 3
handle_packet_missing_indirect: token 565, name mountpoint, request pid 2124
attempting to mount entry /nfs/mountpoint
lookup_mount: lookup(program): looking up mountpoint
lookup(program): lookup for mountpoint failed
dev_ioctl_send_fail: token = 565
failed to mount /nfs/mountpoint
handle_packet: type = 3
handle_packet_missing_indirect: token 566, name mountpoint, request pid 2124
dev_ioctl_send_fail: token = 566
handle_packet: type = 3
handle_packet_missing_indirect: token 567, name mountpoint, request pid 2124
dev_ioctl_send_fail: token = 567
Those last 3 lines appear every time I try to cd into /nfs/mountpoint/ -
[solved] Can't Run Hamster in Xfce (with Gnome 3)
There is a great post here http://www.janhouse.lv/blog/linux/hamst … stem-tray/ how to run Hamster in the system tray now that Gnome 3 has come out.
I tried it but it's failing for me.
I can't even run hamster alone if I "cd src" and then run it I get:
[src]$ ./hamster-applet -w
Traceback (most recent call last):
File "./hamster-applet", line 22, in <module>
import gtk, gnomeapplet
ImportError: No module named gnomeapplet
I have installed every package I can think of to get gnomeapplet and I have gnome-panel-3 and gnome-applets-2 but it doesn't seem to help. My DE is Xfce.
Any ideas?
Last edited by CaptainKirk (2011-05-04 09:58:46)I presume you meant to then run makepkg, which I did, but it fails:
[kirk@arch trunk]$ makepkg
==> Making package: hamster-applet 2.32.1-1 (Wed May 4 13:40:04 IDT 2011)
==> Checking runtime dependencies...
==> Missing Dependencies:
-> python-pysqlite>=2.6.0
-> python-gnomeapplet
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
[kirk@arch trunk]$ sudo pacman -S python-gnomeapplet
error: target not found: python-gnomeapplet
[kirk@arch trunk]$ yaourt python-gnomeapplet
[kirk@arch trunk]$
The solution from janhouse may not be 100% correct (don't know why) but it certainly works--I'm using Hamster based on his script.
Maybe you are looking for
-
Iam getting error message when i launch Opera web browser
Hi All, I have installed Opera web Browser on solaris 9 without any error message. When i try to start Opera web browser it says following message ld.so.1: ./bin/opera: fatal: libqt-mt.so.3: open failed: No such file or directory Killed How to solve
-
How to change the pick quantity in outbound delivery using bapi
Hi, I am using BAPI_OUTB_DELIVERY_CHANGE for changing the outbound delivery picking quantity but there is no field to change the pick quantity. plas advice any BAPI to change pick quantity Regards, Krishna
-
Document size is 20.9MB. When I double click on the document to open or I open Pages and select Open all I get is a dialog box which states: "The application Pages quit unexpectedly." Click reopen... etc. I have reinstalled Pages, run Tech Tool Pro 4
-
every time i lock my screen it "freese", if i doesn't, it does not?
-
Hi Netters, Has anybody developed a prototype of your application usnig Forte? If so, I would like to know the goods and bads of selecting Forte to develop the prototype. We are debating between Forte and VB for our Prototype. We want to be able to s