[Solved] tty1 is sluggish

When switching to tty1 from running X, the input becomes very sluggish. However all other sesssions works just fine without and noticeable lag. Any idea what happening to tty1?
Last edited by lordmetroid (2010-07-01 20:23:11)

Yeah, but isn't that what the slim-tty-slowness.patch is supposed to fix?
http://bugs.archlinux.org/task/18313
http://repos.archlinux.org/wsvn/package … ness.patch
What version of slim are you running? If it's the one from the Repo then its's patched already. If you are running one from the AUR like "slim-cursor" which doesn't include this patch then that could be your issue.

Similar Messages

  • [SOLVED]Arch is sluggish after fresh install :s

    Zero-fill format: check!
    XFS partitions for / and /home and /home/mariachi/stuff: check!
    ext2 partitions for /boot and /var: check!
    installation: check!
    XFCE: check!
    be happy: no check.
    I don't understand why my computer almost freezes to death (as in "it's so slow that I though it was dead" kind of death) when I copy a file from one disk to another. I simply cannot do anything else when there's something being actively written to the disk.
    This is really troublesome, as an action that used to take a few seconds, now takes minutes and won't let me use any other apps. As soon as the writing is over, everything is fast and joyful again.
    The cpu is not being used 100%, neither memory is being "eaten".
    Any idea as to what may be causing this? Disk problems?
    Thanks fellas
    SOLVED:it was a problem with my disk, which I was able to solve
    Last edited by el mariachi (2008-08-12 20:52:17)

    el mariachi wrote:
    Zero-fill format: check!
    XFS partitions for / and /home and /home/mariachi/stuff: check!
    ext2 partitions for /boot and /var: check!
    installation: check!
    XFCE: check!
    be happy: no check.
    I don't understand why my computer almost freezes to death (as in "it's so slow that I though it was dead" kind of death) when I copy a file from one disk to another. I simply cannot do anything else when there's something being actively written to the disk.
    This is really troublesome, as an action that used to take a few seconds, now takes minutes and won't let me use any other apps. As soon as the writing is over, everything is fast and joyful again.
    The cpu is not being used 100%, neither memory is being "eaten".
    Any idea as to what may be causing this? Disk problems?
    Thanks fellas
    I see this also with heavy disk usage and I'm using ext3 on my both of my drives.
    Somewhere here in the forums there was talk about some kernel config that can help fix this. I believe that it was being looked at for the third release of the 2.6.26 kernel. I don't remember where I read it and a quick search turned up nothing. If anyone else remembers this conversation, please jump in.

  • My MacBook Pro 2010 unable to link with SSD at SATA 2, 3 Gb speed

    I have a MacBook Pro 13-inch Mid-2010 that I used with the standard 5400 RPM HDD for about a year. Last week I decided to replace it with an SSD, the Corsair Force GT 120 GB to be more precise. I knew that my MacBook Pro model only supports SATA I & SATA II & that the SSD is backwards compatible. I expected (and still expect) the SSD to link up at SATA II 3 Gb speed.
    However, System Profiler gives the following information:
    NVidia MCP89 AHCI:
      Vendor:          NVidia
      Product:          MCP89 AHCI
      Link Speed:          3 Gigabit
      Negotiated Link Speed:          1.5 Gigabit
      Description:          AHCI Version 1.30 Supported
    Corsair Force GT:
      Capacity:          120,03 GB (120.034.123.776 bytes)
      Model:          Corsair Force GT                       
      Revision:          1.3.3
    Benchmark tests show my write & read speeds are at about 100 & 110-130 MB/s. I have searched for a while on this and other forums and not been able to find a way to get negotiated link speed at 3 Gb and then to check whether this solves the rather sluggish performance.
    Some extra info that might be useful:
    -The 1.3.3 firmware of the SSD is the latest available. There are also no updates available via Apple Software Update.
    -The SSD is the only drive in my system. After booting to the Mac OS X Lion DVD I had created, I used the disk tool to partition the new drive with the settings at GUID partition table & HFS+ Journaled. I haven't experienced any other problems.
    -I have reset the SMC, PRAM & NVRAM. This didn't change anything.
    -I haven't installed any Windows version using Boot Camp (yet).
    -System has Boot ROM Version:          MBP71.0039.B0B and SMC Version (system):          1.62f6
    Thank you in advance.

    Guys, have any of you tried these:
    http://support.apple.com/downloads/MacBook_Pro_EFI_Firmware_Update_1_7_
    http://www.engadget.com/2009/06/22/macbook-pro-update-rights-the-wrong-enables-3 gbps-sata-transfer/
    Or solved the problem any other way? I'm thinking on buying a SSD.
    Thanks, and cheers

  • Corsair Force GT issue on MacBook Pro Mid-2010 (Sata 2)

    I just bought the Corsair Force GT 120 GB to use as the only hard drive in a MacBook Pro Mid-2010. I knew that my MacBook Pro model only supports SATA I & SATA II & that the SSD is backwards compatible. I expected (and still expect) the SSD to link up at SATA II 3 Gb speed.
    However, System Profiler in Mac OS X Lion gives the following information:
    NVidia MCP89 AHCI:
    Vendor: NVidia
    Product: MCP89 AHCI
    Link Speed: 3 Gigabit
    Negotiated Link Speed: 1.5 Gigabit
    Description: AHCI Version 1.30 Supported
    Corsair Force GT:
    Capacity: 120,03 GB (120.034.123.776 bytes)
    Model: Corsair Force GT
    Revision: 1.3.3
    Benchmark tests show my write & read speeds are at about 100 & 110-130 MB/s. I have searched for a while on this and other forums and not been able to find a way to get negotiated link speed at 3 Gb and then to check whether this solves the rather sluggish performance.
    Some extra info that might be useful:
    -I have installed all available updates.
    -The SSD is the only drive in my system. After booting to the Mac OS X Lion DVD I had created, I used the disk tool to partition the new drive with the settings at GUID partition table & HFS+ Journaled. I haven't experienced any other problems.
    -I have reset the SMC, PRAM & NVRAM. This didn't change anything.
    -I haven't installed any Windows version using Boot Camp (yet).
    -System has Boot ROM Version: MBP71.0039.B0B and SMC Version (system): 1.62f6
    Thank you in advance.

    I just bought the Corsair Force GT 120 GB to use as the only hard drive in a MacBook Pro Mid-2010. I knew that my MacBook Pro model only supports SATA I & SATA II & that the SSD is backwards compatible. I expected (and still expect) the SSD to link up at SATA II 3 Gb speed.
    However, System Profiler in Mac OS X Lion gives the following information:
    NVidia MCP89 AHCI:
    Vendor: NVidia
    Product: MCP89 AHCI
    Link Speed: 3 Gigabit
    Negotiated Link Speed: 1.5 Gigabit
    Description: AHCI Version 1.30 Supported
    Corsair Force GT:
    Capacity: 120,03 GB (120.034.123.776 bytes)
    Model: Corsair Force GT
    Revision: 1.3.3
    Benchmark tests show my write & read speeds are at about 100 & 110-130 MB/s. I have searched for a while on this and other forums and not been able to find a way to get negotiated link speed at 3 Gb and then to check whether this solves the rather sluggish performance.
    Some extra info that might be useful:
    -I have installed all available updates.
    -The SSD is the only drive in my system. After booting to the Mac OS X Lion DVD I had created, I used the disk tool to partition the new drive with the settings at GUID partition table & HFS+ Journaled. I haven't experienced any other problems.
    -I have reset the SMC, PRAM & NVRAM. This didn't change anything.
    -I haven't installed any Windows version using Boot Camp (yet).
    -System has Boot ROM Version: MBP71.0039.B0B and SMC Version (system): 1.62f6
    Thank you in advance.

  • Ugh. what to do? help!

    i updated to the new ios4 and now all my apps either crash or freeze. the phone is super sluggish. can i just go back to ios3 or is there a way to fix this? i just got my phone may 19 and it is brand new! i dont have to have the few changes offered in to 3g users in the update.....can anyone help??

    If you look or search around the other threads, you'll see lots of proposed answers.
    The basics are, make sure to fully power down the phone and reboot. That solves the major sluggishness for most people and gets it back to the sluggishness of 3.1.3.
    Beyond that, a Restore to factory settings, will also usually help, as that removes, and then resyncs your music, apps, pictures, etc.
    All that failing, the iOS4 release is slower than the 3.X releases. If you really need/want to downgrade, there is a way.
    There was another thread with an article on how to do it on a Mac. The key is, you need to download the 3.1.3 ipsw file, then hold shift and click update in iTunes, which asks for a specific ipsw file to use.
    You'll probably want to google for a step-by-step tutorial to help you out though. Or search the forums. There was one posted a couple hours ago.

  • Cineform and Premiere 8.2... crashing....

    Anyone else getting frequent crashes with Cineform media on the timeline?  I just upgraded to Premiere 8.2 in hopes that it solved the UI sluggishness for me... which it didn't.  A new feature with the update seems to be Premiere crashing almost immediately when I preview Cineform media I rendered as intermediate files for my project.  I might be forced to find another intermediate format.  I've had problems with Cineform in the past within Premiere, so this doesn't surprise.  Are others experiencing this?

    I am also having this issue. Just scrubbing the timeline with Cineform footage crashes PPro immediately. Happens repeatedly. All drivers and software is up to date.
    OS: Microsoft Windows 8.1 Pro 64-bit 6.3.9600
    CPU: Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz
    RAM: 32706MB
    GPU Vendor: NVIDIA Corporation
    GPU: GeForce GTX 780 Ti/PCIe/SSE2
    GPU Driver: 9.18.13.4475
    GPU RAM: 3072MB
    GPU Code: 0
    CL0: GeForce GTX 780 Ti (100.0%)

  • [SOLVED] Sluggish database update times since new Arch install

    Hi guys, this time I write to ask something about pacman that i find unusual.
    Happens that I decided to reinstall my Arch like 2 months ago, and since then pacman takes a real longer time that it used to just to sync the databases, to be more accurate this sluggishness presents not when the progress bar is downloading the new DB, but between DB downloads (e.g. it takes about minute from the time it finishes downloading the core DB to when it starts to download the extra DB.)...
    Any ideas?
    Thanks for the support.
    Last edited by LTSmash (2008-03-27 03:08:53)

    ibendiben wrote:
    Try using rankmirrors to set up a good number of the fastest mirrors for your location, for me this changes everything!
    I live in europe so I first delete every other mirror in /etc/pacman.d/mirrorlist, then I enable all leftover mirrors and run:
    rankmirrors -n10 /etc/pacman.d/mirrorlist #-n10 to only output the 10 best, change this number to your likings
    for several times and replace the resulting 'overall top-listed mirrors' list in /etc/pacman.d/mirrorlist
    Hope this does the trick for you too!
    ps. You need python to use rankmirrors, I recommend you read the rankmirror man-page for further options
    Well, it seems to me that this solved the problem. I had uncommented some lines at Czech Republic but live in Mexico, so that was lagging the pacman operations a lot. But now its fast as usual.
    Thanks for your help

  • Split iPhoto library to solve sluggishness?

    Hello, we have 23000 pictures in our iPhoto library. It seems like iPhoto is particularly "burdened" by all the photos (i.e. sluggish at times). At least that's our theory.
    We're wondering, provided our theory is correct--if splitting the library into multiple libraries, and then setting iPhoto;s default library just to the most recent pictures would solve its sluggishness?
    Would that help, or would anyone have other ideas how to give iPhoto a break from having to load 23000 pics every time we load it?
    many thanks!
    --sluggish in Dallas

    i split the library by creating a new one and them importing the pics I wanted to have ready access to in a streamlined library.
    problem is, all my ratings didn't come across in the import. what did I do wrong? I even check the prefs file to ensure ratings and other metadata would be included in the import, but no dice.
    any ideas?

  • [SOLVED] auto-logout of tty1 after logout of desktop env. possible?

    I don't know if I am missing something...
    I have recently posted here about running X with different screen solutions: https://bbs.archlinux.org/viewtopic.php?id=191255
    I now added the auto-login configuration described here and that helps, except that when I logout, I am stuck at the tty1 console again as opposed to going straight back into auto-login and starting X. I know it's just a simple Ctrl+D to logout of the console, but I would prefer to:
    - logout of desktop environment
    - tty1 auto-logout
    - tty1 auto-login
    Is there a way to do this?
    Last edited by drtebi (2015-01-10 23:48:18)

    Trilby wrote:
    We know what the issue is - but how you start X determines what will happen when it is done.  If you use the exec command as advised, you will be logged out of the tty as soon as X exits, and as you've set up autologin, you will be immediately logged back in.  I have this set up here - it works.
    But hey, if you're so sure your problem couldn't possibly be solved, I'll leave you to be unhappy.
    Not in my nature to be unhappy
    So let me try to give you all the details of my setup:
    I have setup autologin to the console, as described in Automatic login to virtual console.
    Once logged in at the console, ~/.bash_profile starts my desktop environment Enlightenment.
    Here is my ~/.bash_profile:
    # ~/.bash_profile
    # If not running interactively, don't do anything
    [[ $- != *i* ]] && return
    # prompt
    export PS1='[\u@\h \W]\$ '
    # Auto-login to Enlightenment
    if [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]]
    then
    # set default GUI browser
    export BROWSER=firefox
    # get RESOLUTION
    source ~/.RESOLUTION
    export RESOLUTION=$RESOLUTION
    # startx with xorg.conf file according to $RESOLUTION
    if [ $RESOLUTION = 'lowres' ]
    then
    echo "starting low-res setup"
    startx -- -config xorg.conf-2k
    else
    echo "starting hi-res setup"
    startx -- -config xorg.conf
    fi
    fi
    As you can see, I have two different xorg.conf files, one (/etc/X11/xorg.conf) sets up my four-monitor xinerama display, the other (/etc/X11/xorg.conf-2k) sets up a "normal" HD resolution display. These both work as expected.
    The file ~/.RESOLUTION simply contains this:
    RESOLUTION=hires
    ~/.bash_profile sources this file and sets the environment variable RESOLUTION, which is then used by ~/.xinitrc
    My ~/.xinitrc file contains the following:
    #!/bin/sh
    # ~/.xinitrc
    # Arch Linux Default
    if [ -d /etc/X11/xinit/xinitrc.d ]; then
    for f in /etc/X11/xinit/xinitrc.d/*; do
    [ -x "$f" ] && . "$f"
    done
    unset f
    fi
    # start Enlightenment according to the
    # environment variable RESOLUTION
    if [ $RESOLUTION = 'lowres' ]
    then
    exec enlightenment_start
    else
    exec enlightenment_start -fake-xinerama-screen 3840x2400+0+0
    fi
    I have created a script called resw that looks like this:
    #!/usr/bin/bash
    # @author: [email protected]
    # @since: 2015-01-09
    # @version: 0.1
    # @bugs: Works but should really also logout of tty1
    # Script that pops up a zenity list menu
    # with a 'lowres' and 'hires' option. When
    # either is selected and 'OK' is clicked, the file '~/.RESOLUTION'
    # will change it's 'RESOLUTION' value to the one chosen, and
    # Enlightenment exits
    # Now .bash_profile and .xinitrc can use the RESOLUTION value
    # to act accordingly.
    RESOLUTION=`zenity \
    --title="Choose Resolution" \
    --width=680 --height=230 \
    --list --column="Variable" --column="Description" \
    hires "Switch to high resolution [3840x2400]" \
    lowres "Switch to low resolution [1920x1200]"`
    if [[ $RESOLUTION = 'hires' ]]
    then
    sed -i s/lowres/hires/ ~/.RESOLUTION
    enlightenment_remote -exit
    elif [[ $RESOLUTION = 'lowres' ]]
    then
    sed -i s/hires/lowres/ ~/.RESOLUTION
    enlightenment_remote -exit
    else
    exit 0
    fi
    As you can probably make out from the comments in that file, this is what happens when I run the script:
    - A window with a selection-list pops up where I can choose "hires" or "lowres"
    - When I choose either of these, the script rewrites the file ~/.RESOLUTION accordingly
    - The script calls Enlightenment's "exit" function, which shuts down Enlightenment
    - Restarting Enlightenment now will have ~/.bash_profile and ~/.xinitrc use the value that's set in ~/.RESOLUTION to start Enlightenment with the corresponding xorg.conf or xorg.conf-2k file
    Everything works as expected, but what I am trying to accomplish is, that Enlightenment will automatically restart after I use the script above.
    A manual logout does that once back at the console (tty1). But I can not seem to trigger that logout from the script.
    In other words, everything works as expected, but after the script runs and Enlightenment exits, I have to manually do Ctrl+D to logout, which in turn does the automatic login again.
    I know it may sound a bit overkill... but it would really be nice to get this working.
    In case you wonder: running a custom xrandr command or script does not work in my case. It did before, when I was running Enlightenment e17, but apparently they changed something—once Enlightenment is in xinerama mode, it stays there, no matter what xrandr sets. I have tried that before, but it didn't work and that's why I came up with the more complicated solution above which uses two different xorg.conf files and a conditional startup command for startx and enlightenment_start
    I hope it all makes sense, I would really be happy to find a solution for this...

  • Preview very sluggish on MacBook Pro. Move a bar and the umbrella turns a few seconds. Any ideas? I don't want to update my iMac until this one is solved.

    MacBook Pro with 4GB of memory and a 2.3 GHz Intel.   No other program running other than Preview.

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. All it does is to collect information about the state of the computer. That information goes nowhere unless you choose to share it. However, you should be cautious about running any kind of program (not just a shell script) on the advice of a stranger. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them. Ask for other options.
    Here's a summary of what you need to do, if you choose to proceed:
    Copy a line of text in this window to the Clipboard.
    Paste into the window of another application.
    Wait for the test to run. It usually takes a few minutes.
    Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    4. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    5. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    6. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin; clear; Fb='%s\n\t(%s)\n'; Fm='\n%s\n\n%s\n'; Fr='\nRAM details\n%s\n'; Fs='\n%s: %s\n'; Fu='user %s%%, system %s%%'; AC="com.autodesk.AutoCAD  com.evenflow.dropbox com.google.GoogleDrive"; H='^[[:space:]]*((127\.0\.0\.1|::1|fe80::1%lo0)[[:space:]]+local|(255\.){3}255[[:space:]]*broadcast)host[[:space:]]*$'; NS=networksetup; PB="/usr/libexec/PlistBuddy -c Print"; A () { [[ a -eq 0 ]]; }; M () { find -L "$d" -type f | while read f; do file -b "$f" | egrep -lq XML\|exec && echo $f; done; }; AT () { o=`file -b "$1" | egrep -v '^(A.{16}t$|cann)'`; Ps "${1##*/} format"; }; Pc () { o=`grep -v '^ *#' "$2"`; l=`wc -l <<< "$o"`; [[ l -gt 25 ]] && o=`head -n25 <<< "$o"`$'\n'"[$((l-25)) more line(s)]"; Pm "$1"; AT "$1"; }; Pm () { [[ "$o" ]] && o=`sed -E '/^ *$/d;s/^ */   /;s/[-0-9A-Fa-f]{22,}/UUID/g;s/(ochat)\.[^.]+(\..+)/\1\2/;/Shared/!s/(\/Users\/)[^/]+/\1-/g' <<< "$o"` && printf "$Fm" "$1" "$o"; }; Pp () { o=`$PB "$2" | awk -F'= ' \/$3'/{print $2}'`; Pm "$1"; }; Ps () { o=`echo $o`; [[ ! "$o" =~ ^0?$ ]] && printf "$Fs" "$1" "$o"; }; R () { o=; [[ r -eq 0 ]]; }; SP () { system_profiler SP${1}DataType; }; id -G | grep -qw 80; a=$?; A && sudo true; r=$?; t=`date +%s`; clear; { A || echo $'No admin access\n'; A && ! R && echo $'No root access\n'; SP Software | sed -n 's/^ *//;5p;6p;8p'; h=(`SP Hardware | awk '/ Id/{print $3}; /Mem/{print $2}'`); o=$h; Ps "Model"; o=$((h[1]<4?h[1]:0)); Ps "Total RAM (GB)"; o=`SP Memory | sed '1,5d;/[my].*:/d'`; [[ "$o" =~ s:\ [^O]|x([^08]|0[^2]|8[^0]) ]] && printf "$Fr" "$o"; o=`SP Diagnostics | sed '5,6!d'`; [[ "$o" =~ Pass ]] || Pm "POST"; p=`SP Power`; o=`awk '/Cy/{print $NF}' <<< "$p"`; o=$((o>=300?o:0)); Ps "Battery cycles"; o=`sed -n '/Cond.*: [^N]/{s/^.*://p;}' <<< "$p"`; Ps "Battery condition"; for b in FireWire Thunderbolt USB; do o=`SP $b | sed -En '/:$/{s/ *:$//;x;s/\n//;/Apple|SMSC/d;s/\n.*//;/\)/p;};/^ *(V.+ [0N]|Man).+ /{s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;}'`; Pm $b; done; o=`pmset -g therm | sed 's/^.*C/C/'`; [[ "$o" =~ No\ th|pms ]] && o=; Pm "Thermal conditions"; o=`pmset -g sysload | grep -v :`; [[ "$o" =~ =\ [^GO] ]] || o=; Pm "System load advisory"; o=`nvram boot-args | awk '{$1=""; print}'`; Ps "boot-args"; fdesetup status | grep -q On && o=on || o=; Ps "FileVault"; a=(/ ""); A=(System User); for i in 0 1; do o=`cd ${a[$i]}L*/Lo*/Diag* || continue; for f in *.{cr,h,pa,s}*; do [[ -f "$f" ]] || continue; d=$(stat -f%Sc -t%F "$f"); [[ "$f" =~ h$ ]] && grep -lq "^Thread c" "$f" && f="$f *"; echo "$d ${f%%_2*} ${f##*.}"; done | sort | tail`; Pm "${A[$i]} diagnostics"; done; grep -lq '*$' <<< "$o" && printf $'\n\t* Code injection\n'; o=`syslog -F bsd -k Sender kernel -k Message CReq 'caug|GPU |hfs: Ru|last value [1-9]|n Cause: -|NVDA\(|pagin|proc: t|Roamed|rror|ssert|Thrott|timed? ?o|WARN' -k Message Ane 'SMC:' | tail -n25 | awk '/:/{$4=""; $5=""};1'`; Pm "Kernel messages"; o=`df -m / | awk 'NR==2 {print $4}'`; o=$((o<5120?o:0)); Ps "Free space (MiB)"; o=$(($(vm_stat | awk '/eo/{sub("\\.",""); print $2}')/256)); o=$((o>=1024?o:0)); Ps "Pageouts (MiB)"; s=( `sar -u 1 10 | sed '$!d'` ); [[ s[4] -lt 85 ]] && o=`printf "$Fu" ${s[1]} ${s[3]}` || o=; Ps "Total CPU usage" && { s=(`ps acrx -o comm,ruid,%cpu | sed '2!d'`); n=$((${#s[*]}-1)); c="${s[*]}"; o=${s[$n]}%; Ps "CPU usage by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; }; s=(`top -R -l1 -n1 -o prt -stats command,uid,prt | sed '$!d'`); n=$((${#s[*]}-1)); s[$n]=${s[$n]%[+-]}; c="${s[*]}"; o=$((s[$n]>=25000?s[$n]:0)); Ps "Mach ports used by process \"${c% ${s[$((n-1))]}*}\" with UID ${s[$((n-1))]}"; o=`kextstat -kl | grep -v com\\.apple | cut -c53- | cut -d\< -f1`; Pm "Loaded extrinsic kernel extensions"; R && o=`sudo launchctl list | awk 'NR>1 && !/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|calendarse|cups|dove|isc|ntp|openld|post[fg]|x)/{print $3}'`; Pm "Extrinsic daemons"; o=`launchctl list | awk 'NR>1 && !/0x|com\.apple|org\.(x|openbsd)|\.[0-9]+$/{print $3}'`; Pm "Extrinsic agents"; o=`for d in {/,}L*/Lau*; do M; done | egrep -v 'com\.apple\.(CSConfig|server)' | while read f; do ID=$($PB\ :Label "$f") || ID="No job label"; printf "$Fb" "$f" "$ID"; done`; Pm "launchd items"; o=`for d in /{S*/,}L*/StartupItems; do M; done`; Pm "Startup items"; sys=`pkgutil --regexp --only-files --files com.apple.pkg.* | sort | uniq | sed 's:^:/:'`; b=`sed -E '/^.+Lib.+\/Contents\/Info.plist$/!d;s/\/Info.plist$//;/Contents\/./d' <<< "$sys"`; l=`egrep '^/usr/lib/.+dylib$' <<< "$sys"`; [[ "$b" && "$l" ]] && { o=`find -L /S*/L*/{C*/Sec*A,E}* {/,}L*/{A*d,Compon,Ex,In,iTu,Keyb,Mail/B,P*P,Qu*T,Scripti,Sec,Servi,Spo}* -type d -name Contents -prune | grep -Fv "$b" | while read d; do test -f "$d/Info.plist" || continue; ID=$($PB\ :CFBundleIdentifier "$_") || ID="No bundle ID"; printf "$Fb" "${d%/Contents}" "$ID"; done`; Pm "Extrinsic loadable bundles"; o=`find /usr/lib -type f -name *.dylib | grep -Fv "$l"`; Pm "Extrinsic shared libraries"; :; } || echo $'\nReceipts missing'; o=`for e in INSERT_LIBRARIES LIBRARY_PATH; do launchctl getenv DYLD_$e; done`; Pm "Inserted dylibs"; o=`find -L {,/u*/lo*}/e*/periodic -type f -mtime -10d`; Pm "Modified periodic scripts"; o=`scutil --proxy | grep Prox`; Pm "Proxies"; o=`scutil --dns | awk '/r\[0\] /{if ($NF !~ /^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./) print $NF; exit}'`; i=`route -n get default | awk '/e:/{print $2}'`; I=`$NS -listnetworkserviceorder | sed -En '/ '$i'\)$/{x;s/^\(.+\) //p;q;};x'`; n=`$NS -getdnsservers "$I" | awk '!/^T/{printf "not "; exit}'`; Ps "DNS (${n}from DHCP)"; o=`$NS -getinfo "$I" | awk '/k:/{if ($3 !~ "(255\.){3}0") print}; /v6:/{if ($2 !~ "A") print}'`; Pm "TCP/IP"; R && o=`sudo profiles -P | grep : | wc -l`; Ps "Profiles"; f=auto_master; [[ `md5 -q /etc/$f` =~ ^b166 ]] || Pc $f /etc/$f; for f in fstab sysctl.conf crontab launchd.conf; do Pc $f /etc/$f; done; f=/etc/hosts; Pc "hosts" <(egrep -v "$H" $f ); AT $f; Pc "User launchd" ~/.launchd*; R && Pc "Root crontab" <(sudo crontab -l); Pc "User crontab" <(crontab -l); R && o=`sudo defaults read com.apple.loginwindow LoginHook`; Pm "Login hook"; LD="$(`find /S*/*/F* -type f -name lsregister | head -n1` -dump)"; o=`for ID in $AC; do [[ "$LD" =~ $ID ]] && echo $ID; done`; Pm "Application check"; Pp "Global login items" /L*/P*/loginw* Path; Pp "User login items" L*/P*/*loginit* Name; Pp "Safari extensions" L*/Saf*/*/E*.plist Bundle | sed -E 's/(\..*$|-[1-9])//g'; o=`find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l`; Ps "Restricted user files"; cd; o=`find .??* -type d -name *.app -prune`; Pm "Hidden apps"; o=`SP Fonts | egrep 'id: N|te: Y' | wc -l`; Ps "Font problems"; o=`find L*/{Con,Pref}* -type f ! -size 0 -name *.plist | while read f; do plutil -s "$f" >&- || echo $f; done`; Pm "Bad plists"; d=(Desktop L*/Keyc*); n=(20 7); for i in 0 1; do o=`find "${d[$i]}" -type f -maxdepth 1 | wc -l`; o=$((o<=n[$i]?0:o)); Ps "${d[$i]##*/} file count"; done; o=; [[ UID -eq 0 ]] && o=root; Ps "UID"; o=$((`date +%s`-t)); Ps "Elapsed time (s)"; } 2>/dev/null | pbcopy; exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    7. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste (command-V). The text you pasted should vanish immediately. If it doesn't, press the return key.
    8. If you see an error message in the Terminal window such as "syntax error," enter
    exec bash
    and press return. Then paste the script again.
    9. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    10. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report the results. No harm will be done.
    11. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    12. When you post the results, you might see the message, "You have included content in your post that is not permitted." It means that the forum software has misidentified something in the post as a violation of the rules. If that happens, please post the test results on Pastebin, then post a link here to the page you created.
    Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Terms of Use of the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • [SOLVED] Automatic login to TTY1, openbox error

    SOLUTION at the last post.
    Hello,
    I was trying to create the systemd autologin.service, to log into TTY1 right after boot.
    I have been following the instructions on the wiki:
    https://wiki.archlinux.org/index.php/Au … al_console
    PROBLEM: after boot, the login happens a few times with an error, flashing, and then dissapears leaving with a basic underscore " _ ". I can still use TTY2.
    If I go back to TT1, I see the following error multiple times, (maybe its a loop):
    Last login: today, etc TTY1
    Openbox-Message: Failed to open the display from the DISPLAY environment variable.
    Which is weird because I don't have openbox set to autostart or anything, I think.  (.xinitrc is basic as well; .dmrc has kde-plasma set.)
    +Info:
    $ systemctl --failed
    UNIT LOAD ACTIVE SUB DESCRIPTION
    [email protected] loaded failed failed Getty on tty1
    $ systemctl status [email protected]
    [email protected] - Getty on tty1
    Loaded: loaded (/etc/systemd/system/[email protected]; enabled)
    Active: failed (Result: start-limit) since Fri 2013-02-08 01:02:10 CET; 8min ago
    Docs: man:agetty(8)
    man:systemd-getty-generator(8)
    http://0pointer.de/blog/projects/serial-console.html
    Process: 878 ExecStart=/sbin/agetty --noclear -a ubunchu %I 38400 linux (code=exited, status=0/SUCCESS)
    Any hints on what could be it? What file should I check?
    Thanks in advance! Cheers!
    Last edited by ubunchu (2013-02-21 09:34:15)

    systemctl list-unit-files
    UNIT FILE STATE
    proc-sys-fs-binfmt_misc.automount static
    dev-hugepages.mount static
    dev-mqueue.mount static
    proc-fs-nfsd.mount static
    proc-sys-fs-binfmt_misc.mount static
    sys-fs-fuse-connections.mount static
    sys-kernel-config.mount static
    sys-kernel-debug.mount static
    tmp.mount static
    var-lib-nfs-rpc_pipefs.mount static
    cups.path enabled
    systemd-ask-password-console.path static
    systemd-ask-password-wall.path static
    accounts-daemon.service disabled
    adb.service disabled
    atieventsd.service disabled
    [email protected] enabled
    [email protected] disabled
    avahi-daemon.service disabled
    avahi-dnsconfd.service disabled
    blkmapd.service disabled
    bluetooth.service disabled
    brltty.service disabled
    canberra-system-bootup.service disabled
    canberra-system-shutdown-reboot.service disabled
    canberra-system-shutdown.service disabled
    colord.service static
    console-getty.service disabled
    console-shell.service disabled
    cronie.service disabled
    cups-browsed.service disabled
    cups.service enabled
    cupsd.service disabled
    dbus-org.freedesktop.hostname1.service static
    dbus-org.freedesktop.locale1.service static
    dbus-org.freedesktop.login1.service static
    dbus-org.freedesktop.NetworkManager.service enabled
    dbus-org.freedesktop.timedate1.service static
    dbus.service static
    debug-shell.service disabled
    dhcpcd.service disabled
    [email protected] disabled
    emergency.service static
    fancontrol.service disabled
    ftpd.service disabled
    gdm.service disabled
    [email protected] disabled
    [email protected] static
    gpm.service disabled
    healthd.service disabled
    ip6tables.service disabled
    iptables.service disabled
    irexec.service disabled
    kdm.service disabled
    krb5-kadmind.service disabled
    krb5-kdc.service disabled
    krb5-kpropd.service disabled
    [email protected] static
    lightdm.service disabled
    lirc.service disabled
    lircm.service disabled
    lm_sensors.service disabled
    lvm-on-crypt.service disabled
    lvm.service disabled
    lxdm.service disabled
    mdadm.service disabled
    mysqld.service disabled
    net-auto-wired.service disabled
    net-auto-wireless.service disabled
    net-profiles.service disabled
    netcfg.service disabled
    [email protected] disabled
    NetworkManager-wait-online.service disabled
    NetworkManager.service enabled
    nfsd.service disabled
    nmbd.service disabled
    nscd.service disabled
    polkit.service static
    [email protected] disabled
    quotaon.service static
    rescue.service static
    rpc-gssd.service disabled
    rpc-idmapd.service disabled
    rpc-mountd.service disabled
    rpc-statd.service disabled
    rpc-svcgssd.service disabled
    rpcbind.service disabled
    rsyncd.service disabled
    [email protected] static
    rtkit-daemon.service disabled
    [email protected] static
    sensord.service disabled
    [email protected] static
    smbd.service disabled
    [email protected] static
    snmpd.service disabled
    speech-dispatcherd.service disabled
    sshd.service enabled
    [email protected] static
    sshdgenkeys.service static
    svnserve.service disabled
    [email protected] static
    syslog-ng.service disabled
    systemd-ask-password-console.service static
    systemd-ask-password-wall.service static
    systemd-binfmt.service static
    systemd-fsck-root.service static
    [email protected] static
    systemd-halt.service static
    systemd-hibernate.service static
    systemd-hostnamed.service static
    systemd-hybrid-sleep.service static
    systemd-initctl.service static
    systemd-journal-flush.service static
    systemd-journal-gatewayd.service static
    systemd-journald.service static
    systemd-kexec.service static
    systemd-localed.service static
    systemd-logind.service static
    systemd-modules-load.service static
    systemd-poweroff.service static
    systemd-quotacheck.service static
    systemd-random-seed-load.service static
    systemd-random-seed-save.service static
    systemd-readahead-collect.service disabled
    systemd-readahead-done.service static
    systemd-readahead-drop.service disabled
    systemd-readahead-replay.service disabled
    systemd-reboot.service static
    systemd-remount-fs.service static
    systemd-shutdownd.service static
    systemd-suspend.service static
    systemd-sysctl.service static
    systemd-timedated.service static
    systemd-tmpfiles-clean.service static
    systemd-tmpfiles-setup.service static
    systemd-udev-settle.service static
    systemd-udev-trigger.service static
    systemd-udevd.service static
    systemd-update-utmp-runlevel.service static
    systemd-update-utmp-shutdown.service static
    systemd-user-sessions.service static
    systemd-vconsole-setup.service static
    transmission.service disabled
    udisks.service disabled
    udisks2.service static
    upower.service disabled
    usbmuxd.service static
    [email protected] static
    uuidd.service static
    vncserver.service disabled
    winbindd.service disabled
    [email protected] disabled
    [email protected] disabled
    wpa_supplicant.service disabled
    [email protected] disabled
    x11vnc.service static
    xinetd.service disabled
    avahi-daemon.socket disabled
    cups.socket enabled
    dbus.socket static
    git-daemon.socket disabled
    krb5-kpropd.socket disabled
    rsyncd.socket disabled
    saned.socket disabled
    smbd.socket disabled
    sshd.socket enabled
    swat.socket disabled
    syslog.socket static
    systemd-initctl.socket static
    systemd-journal-gatewayd.socket disabled
    systemd-journald.socket static
    systemd-shutdownd.socket static
    systemd-udevd-control.socket static
    systemd-udevd-kernel.socket static
    uuidd.socket disabled
    basic.target static
    bluetooth.target static
    cryptsetup.target static
    ctrl-alt-del.target disabled
    default.target enabled
    emergency.target static
    final.target static
    getty.target static
    graphical.target disabled
    halt.target disabled
    hibernate.target static
    hybrid-sleep.target static
    kexec.target disabled
    local-fs-pre.target static
    local-fs.target static
    mail-transfer-agent.target static
    multi-user.target enabled
    network.target static
    nss-lookup.target static
    nss-user-lookup.target static
    poweroff.target disabled
    printer.target static
    reboot.target disabled
    remote-fs-pre.target static
    remote-fs.target enabled
    rescue.target disabled
    rpcbind.target static
    runlevel0.target disabled
    runlevel1.target disabled
    runlevel2.target disabled
    runlevel3.target disabled
    runlevel4.target disabled
    runlevel5.target disabled
    runlevel6.target disabled
    shutdown.target static
    sigpwr.target static
    sleep.target static
    smartcard.target static
    sockets.target static
    sound.target static
    suspend.target static
    swap.target static
    sysinit.target static
    syslog.target static
    system-update.target static
    time-sync.target static
    umount.target static
    systemd-readahead-done.timer static
    systemd-tmpfiles-clean.timer static
    225 unit files listed.
    For some reason I can't disable "autologin@tty1".
    Yes, this is a vanilla arch (customised by myself).
    This is what I have done:
    cp /usr/lib/systemd/system/[email protected] /etc/systemd/system/[email protected]
    -Edited the file: /etc/systemd/system/[email protected]
    the line: ExecStart=-/sbin/agetty --noclear %I 38400 linux
    to be like this: ExecStart=-/sbin/agetty --noclear -a ubunchu %I 38400
    sudo systemctl daemon-reload
    sudo systemctl disable getty@tty1
    sudo systemctl enable autologin@tty1
    sudo systemctl start autologin@tty1
    sudo systemctl enable multi-user.target
    -now tried disabling:
    sudo systemctl disable getty@tty1 (again)
    sudo systemctl disable autologin@tty
    sudo systemctl disable autologin@tty1
    sudo systemctl disable [email protected]
    sudo systemctl disable [email protected]
    sudo systemctl disable [email protected]
    -no output, looks like it does not disable it

  • [SOLVED] Slow/sluggish touchpad buttons response (sometimes)

    Hi all,
    I have had this problem for some months now but have never looked into it, even if it is pretty annoying.
    Sometimes (say one boot every three) the touchpad buttons of my laptop (see sig) behave strangely. Their response time is very long, I have to keep them pressed for ~half a second to make them trigger correctly.
    This is very annoying when editing texts (selection a section of text with the touchpad) and using any click intensive application (ie editing a presentation with Prezi).
    I use KDE and the only touchpad configuration I've ever done has been done via synaptiks.
    I cannot tell after what update this started, it was too long ago unfortunately.
    Since this happens only sometimes I don't even know where to start looking!
    EDIT: I stress the fact that this happens with buttons, not with tapping
    Last edited by OdinEidolon (2014-06-29 09:19:30)

    Just FYI,
    this one solved itself some months ago after some kind of update.

  • [SOLVED] Can't log into tty1

    This started some time while I was setting up X: When I try to log into tty1 (tty2 to tty6 works), it gives some error message and logs out immediately. Since it clears the screen after logging out, I can't make out any more of the error message than "/etc/X11". How do I figure out what's happening, or if someone knows what's wrong, how do I fix it?
    Last edited by howardh (2012-11-13 06:03:02)

    There seems to be a seg fault in there, but I have no idea what it means.
    [ 41.304] (**) ThinkPad Extra Buttons: always reports core events
    [ 41.304] (**) evdev: ThinkPad Extra Buttons: Device: "/dev/input/event5"
    [ 41.304] (--) evdev: ThinkPad Extra Buttons: Vendor 0x17aa Product 0x5054
    [ 41.304] (--) evdev: ThinkPad Extra Buttons: Found keys
    [ 41.304] (II) evdev: ThinkPad Extra Buttons: Configuring as keyboard
    [ 41.304] (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input5/event5"
    [ 41.304] (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 12)
    [ 41.304] (**) Option "xkb_rules" "evdev"
    [ 41.304] (**) Option "xkb_model" "evdev"
    [ 41.304] (**) Option "xkb_layout" "us"
    [ 520.244] (EE)
    [ 520.244] (EE) Backtrace:
    [ 520.247] (EE) 0: /usr/bin/X (xorg_backtrace+0x36) [0x58a006]
    [ 520.247] (EE) 1: /usr/bin/X (0x400000+0x18de59) [0x58de59]
    [ 520.247] (EE) 2: /usr/lib/libpthread.so.0 (0x7fa9ea419000+0xf1a0) [0x7fa9ea4281a0]
    [ 520.248] (EE) 3: /usr/bin/X (0x400000+0x4d7d0) [0x44d7d0]
    [ 520.248] (EE) 4: /usr/bin/X (0x400000+0x142ef8) [0x542ef8]
    [ 520.248] (EE) 5: /usr/bin/X (0x400000+0x13d474) [0x53d474]
    [ 520.248] (EE) 6: /usr/bin/X (mieqProcessDeviceEvent+0x1b5) [0x56b795]
    [ 520.248] (EE) 7: /usr/bin/X (0x400000+0x2f4bc) [0x42f4bc]
    [ 520.248] (EE) 8: /usr/bin/X (DisableDevice+0xbc) [0x430c6c]
    [ 520.248] (EE) 9: /usr/bin/X (0x400000+0x31152) [0x431152]
    [ 520.248] (EE) 10: /usr/bin/X (0x400000+0x26935) [0x426935]
    [ 520.248] (EE) 11: /usr/lib/libc.so.6 (__libc_start_main+0xf5) [0x7fa9e90b8725]
    [ 520.248] (EE) 12: /usr/bin/X (0x400000+0x26c6d) [0x426c6d]
    [ 520.248] (EE)
    [ 520.248] (EE) Segmentation fault at address 0xd0
    [ 520.248]
    Fatal server error:
    [ 520.248] Caught signal 11 (Segmentation fault). Server aborting
    [ 520.248]
    [ 520.248] (EE)
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 520.248] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 520.249] (EE)
    [ 520.266] (II) evdev: TPPS/2 IBM TrackPoint: Close
    [ 520.266] (II) UnloadModule: "evdev"
    [ 520.280] (II) evdev: ThinkPad Extra Buttons: Close
    [ 520.280] (II) UnloadModule: "evdev"
    [ 520.280] (II) UnloadModule: "synaptics"
    [ 520.280] (II) evdev: AT Translated Set 2 keyboard: Close
    [ 520.280] (II) UnloadModule: "evdev"
    [ 520.280] (II) evdev: Integrated Camera: Close
    [ 520.280] (II) UnloadModule: "evdev"
    [ 520.280] (II) evdev: Power Button: Close
    [ 520.280] (II) UnloadModule: "evdev"
    [ 520.280] (II) evdev: Power Button: Close
    [ 520.280] (II) UnloadModule: "evdev"
    [ 520.748] Server terminated with error (1). Closing log file.

  • [solved] xorg on tty1

    Hello,
    I have two rather newly installed Archlinux systems (one some months ago, the second a few days ago) and on both xorg runs in tty1 instead of tty7.
    Is that normal behavior? (It seems strange to me.) Where and how can I configure on which console X is starting up?
    Also, there are no real error messages in /var/log/Xorg.0.log. Just some warnings about falling back to old probing methods and not being able to load modules which aren't installed like fbdev and nvidia (on the machine with Nvidia chipset). Btw. do I need the modesetting module??
    Also, both are old machines: Dell Latitude C840 (Nvidia 440Go) and Dell Dimension 2400 (Intel 845GV).
    The Dell Dimension currently also has some problems that X only shows a blank screen with just a mouse pointer when starting lxdm. But still no error messages neither in Xorg.0.log nor in lxdm.log. A few days ago it worked well after setting rendering method to UXA for the Intel driver as stated in the wiki.
    Any suggestions?
    Thanks.
    Last edited by cro (2013-09-18 19:25:38)

    Thanks for your answers!
    qinohe wrote:Hi, you could always use SNA again, if that works.
    About the tty, yes that is normal, and is due to switching to Systemd, only starts one getty by default.
    Maybe this helps https://wiki.archlinux.org/index.php/Systemd_FAQ
    With the Intel driver on the old machine SNA runs worse (just 256 colors or something) than UXA, that's why I switched. I wouldn't have changed the default without a reason.
    Ok, for fixing the current problem with the blank screen, I switched back to default (SNA I guess) and got the same result as earlier (works but 256 colors or something like that). But then as I switched back to UXA it worked again. How strange is that? No change in configuration but different behavior. Could it be some kind of problem with intial hardware state?? It really seems so. After cold restart same problem again, and after switching to SNA and back to UXA it works again. Should I post a bug report? But where?
    Ah ok, I didn't got the news that X in Arch now runs by default in tty1 (or as I read the calling tty - Why has systemd a tty, isn't it a daemon??). Also, I found no mention of this fact in the wiki, but maybe it's there. I obviously missed that systemd FAQ although I read a lot about systemd before and after I switched my system to it.
    I still mainly use a very old Archlinux Installation (I installed around 2005-2007), of course properly updated but some differences remain as I see, e.g. Xorg runs on tty7 as I am used to.
    Trilby wrote:
    Actually it is not because there is only one tty started.  If that were the case it would start on tty2, as the previous behavior was to start X on the first free tty.
    Now X is (by default) not started on the first free tty, but instead the calling tty is used.  If you run startx in tty2, X will run in tty2.  This is set in /etc/X11/xinit/xserverrc.
    You can easily override this by adjusting that file, or (preferrably) by specifying a vt number when you start x, eg `xinit -- vt7`.
    Thanks for the information!
    Letting X start on the calling tty seems a bit too random for my taste.
    $ cat /etc/X11/xinit/xserverrc
    #!/bin/sh
    if [ -z "$XDG_VTNR" ]; then
    exec /usr/bin/X -nolisten tcp "$@"
    else
    exec /usr/bin/X -nolisten tcp "$@" vt$XDG_VTNR
    fi
    Well, where is XDG_VTNR set?? Can't find it in /etc:
    $ grep -r "XDG_VTNR" /etc/
    /etc/X11/xinit/xserverrc:if [ -z "$XDG_VTNR" ]; then
    /etc/X11/xinit/xserverrc: exec /usr/bin/X -nolisten tcp "$@" vt$XDG_VTNR
    Last edited by cro (2013-09-17 13:39:46)

  • [SOLVED] Syslog output flooding tty1

    I recently installed a new guest OS on Virtualbox and added a USB automount udev rule. After restarting, tty1 was flooded with syslog, even as I tried to log in. There don't seem to be any stray entries in syslog-ng.conf, and I removed the udev rule as soon as I noticed the problem. Does anyone know what might be causing this?
    Last edited by lasersquid (2011-08-05 18:37:38)

    abarahc wrote:add "verbose" param int menu.lst? in which line of text?
    No. Read again. You need to add "quiet" without the quotes obviously to your kernel line.

Maybe you are looking for

  • Error in Provisioning Risk Update Request in CUP

    Dear Experts, I have configured all the required settings to configure Risk create/Update and change workflow in CUP. I am even successfully generate the requests type Create Risk in CUP from RAR.But , not able to generate request type update risk fr

  • Mac and Windows on Same System. Having glitches. Help!

    Hello, I have my laptop set up to a router with the main computer being a Mac.  It basically works fine, but I have been noticing some glitches especially in trying to play media, such as YouTube files and other streaming videos.  I can never get the

  • Converting mp3 file to podcast

    Is there any way of taking an arbitrary mp3 file (or other audio format) and getting iTunes and iPod to see it as a podcast? I have mp3 files of lectures that I would like to access as podcasts, although they were not access via podcast feeds.

  • How to get this data in the WebI

    Hi There i have a WebI report, the data looks like this userName    Type Mike              DT Mike              NB Susan           DT Colleen          DT Colleen          NB i only need to pick up Mike and Colleen, cause only they have both DT and NB

  • Failure and Slow Mac OS

    Hi, excuse my english which is a little poor. I have an Imac Intel bought in January. Some weeks ago, it starts to be slow (example: 1-2 minutes to launch safari after boot, freeze for about 5 minutes happens frequently...). On sunday, it crashes. Wh