Tag Info

New answers tagged

0

The fix for me was to chmod +x this file: /etc/X11/Xsession Source: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748944#27


3

A windowing system is a software component that provides windows for applications to draw in and can display these windows on the screen. The X Window System is the standard windowing system on Unix systems; outside Mac OS X, it doesn't really have competition (this may change if Wayland or Mir become viable). The X Window System has a client-server ...


0

So I have finally solved this problem. I needed to deinstall the xf86-video-vesa driver with: pacman -R xf86-video-vesa And then I needed to change the /etc/X11/xorg.conf.d/20-intel.conf file to: Section "Device" Identifier "Intel Graphics" Driver "intel" Option "DRI" "False" EndSection


6

Here's a very short rough characterization: Display manager: The program that provides you a graphical login and then starts your session. Runs as root or dedicated user. Session manager: The program that actually controls your session. Runs under your account. Windowing system: The complete GUI drawing/control system. Describes not a component in itself, ...


8

Is a "Display Manager" the same thing as a "Session Manager"? Not quite, but they often overlap in implementation. A display manager just logs the user in and start their session, (often just starting X for them and possibly starting a session manager,) while a session manager is responsible for saving and restoring the state of a session, eg. it might ...


0

The accepted answer can be extended to get the entire window: entire=false x=0 y=0 w=0 h=0 b=0 # b for border t=0 # t for title (or top) # ... find out what user wants then eval $(xwininfo -id $(xdotool getactivewindow) | sed -n -e "s/^ \+Absolute upper-left X: \+\([0-9]\+\).*/x=\1/p" \ -e "s/^ \+Absolute upper-left Y: ...


0

The accepted answer explicitly does not include window decoration. For those still looking for how to get the geometry including all decorations, as per this question's title, you can use wmiface as per this other question http://superuser.com/questions/164047/how-to-get-accurate-window-information-dimensions-etc-in-linux-x. Example: wmiface frameGeometry ...


0

following the comment of @derobert: VGA-0 off: VGA-0 connected (normal left inverted right x axis y axis) 1280x1024 60.02 + 75.02 ... VGA-0 on: VGA-0 connected 1280x1024+1680+0 (normal left inverted right x axis y axis) 380mm x 300mm 1280x1024 60.02*+ 75.02 ... so, you could check the return value of this quiet grep to see if it is ...


0

I was encountering a similar issue, this evening. Similarly, I'm running Virtualbox on a Microsoft Windows Host OS. The Guest OS I'm using is Kubuntu, but of course the configuration between each of XMing, PuTTY, and Virtualbox would be similar. Though my reply is a little belated, maybe it'll be of help. This solution was made with a VirtualBox virtual ...


1

I ended up doing the following: sudo service stop lightdm Then I had to run ctrl + alt + F2 and log in the second terminal, otherwise it would just sit there with dark screen. To start it back up: sudo service start lightdm


0

Have you tried, sudo /etc/init.d/lxdm stop lxdm starts/stops the X server.


2

This is made possible by installing Xvfb (X virtual frame buffer apt-get install xvfb) and specifying the DISPLAY variable. Xvfb :25 -screen 0 1900x1080x32 & export DISPLAY=:25 binvox [WHATEVER OPTIONS AND SWITCHES YOU WANT TO PASS TO binvox] & Hat tip to @Gilles' answer to this U&L Q&A titled: How can I run Firefox on Linux headlessly ...


1

After experimenting further, it looks like: $ xset s noblank $ xset s 600 600 Will do what I want. This seems to set the X screensaver to the internal one, which creates a black window, instead of blanking the screen, and timeout after ten minutes.


1

Not an answer, but too long for a comment: If you're looking for a minimalistic screen locker & saver (I think locking is more important than saving), be sure to look into http://tools.suckless.org/slock/ To my knowledge it doesn't know about a grace period before locking, but perhaps you can wrap slock into a shell script to do that.


2

I don't think you can reattach if the application has already been started in X. But maybe the following questions help? xpra Detach/reattach an application run on X over SSH? GNU Screen for X11 Forwarding Also, VNC could be a solution for you. But all these applications require that you restart the gui application on Server1


0

Check if the ssh daemon configuration on your server allows X11 forwarding. Check out how to figure that out and how to enable it: http://xmodulo.com/2012/11/how-to-enable-x11-forwarding-using-ssh.html. note that it also mentions installing xauth on the remote host. BTW can you open a ssh to localhost and forward X11 through it?


0

In the options there is an example generated by X11: Option "XkbOptions" "lv3:ralt_switch,compose:caps" As we can see it is separated by commas and no spaces. Also the option is a command a colon and a key. Again, no spaces. This comes from this file: /etc/X11/xorg.conf and was setup that way as I was installing Ubuntu.


1

I am not familiar with the PSF font format, but google revealed [1] which seems to imply it is a bitmapped font format (pixel based). Using the tools from [1], convert to a .FON and then follow along in answers of [2] to create a .ttf However, it might be easier to look into other options. If you are looking for tiny, fixed width console fonts you should ...


0

Sounds like your version is too old, but your question really lacks details. What Operating System? Version? Have you tried connecting locally (not via SSH), or via TCP? What does your server log file say? What command did you use to start the server? etc..


1

I didn't change my keyboard layout very often, but when i do it, i use (for exemple) : setxkbmap fr There's also an option to show the current layout of your keyboard : setxkbmap -query result : rules: evdev model: pc105 layout: fr options: terminate:ctrl_alt_bksp Considering this, you could do something with the notify-send command ...


0

The problem lies in a combination of xwayland and weston. The surface of menu receives a press event but no release event from wl_pointer as weston fails to observe this. weston will set input focus to the menu. This is an override redirect window. This behaviour of weston is wrong and causes this bug. But this is easily fixed by applying the following patch ...


1

I believe you're getting confused by how SSH performs the proxying of the X11 connection via the tunnel it's established on the remote server side with how magic cookies typically works. From the SSH man page: excerpt The DISPLAY value set by ssh will point to the server machine, but with a display number greater than zero. This is normal, and happens ...


0

Calculating the average per core usage from /proc/stat The best solution I have come up so far uses bc to account for floating point arithmetic: # Calculate average cpu usage per core. # user nice system idle iowait irq softirq steal guest guest_nice # cpu0 30404 2382 6277 554768 6061 0 19 0 0 0 A=($(sed -n '2,5p' ...


3

The "stuff" between the values seems a visual representation of the newline character to me ( octal character code 12), which you would get when using: echo -e 'a\012b' What you could try is pipe the output through tr '\n' ' ' as with: echo -e 'a\012b' | tr '\n' ' '


2

This creates a bash array whose elements are the loads for each CPU: loads=($(mpstat -P ALL 1 1 | awk '/Average:/ && $2 ~ /[0-9]/ {print $3}')) Since bash arrays are numbered starting with zero, the load of the second CPU would be printed with: echo ${loads[1]} This requires the utility mpstat. To install it on a debian-like system, run: ...


0

you can see the frequency for each core with the following: $ cat /proc/cpuinfo


1

Okay, after countless minutes of testing, I finally found what I needed (I was pretty desperate when I posted this question). You need to create an .Xmodmap with the following contents: keycode 62 = Mode_switch keysym a = a A Left keysym d = d D Right keysym s = s S Down keysym w = w W Up 62 is the key code of R_Shift. It works perfectly.


4

The KDE application KRuler should fit the bill. To start KRuler, choose Graphics->KDE Screen Ruler from your K menu. The rotation buttons allow you to change it's orientation in steps of 90 degrees, or you can click your middle mouse button (if you have one) to change it to a vertical ruler.


1

Try moving [[ $TERM != "screen" ]] && exec tmux to your .zshrc file. That way the command will only be run in interactive shells. An interactive shell is simply any shell process that you use to type commands, and get back output from those commands. That is, a shell with which you interact.


3

This is a font name that follow the XLFD convention. The * are wildcards, the different elements are separated by -. From the convention page, here we have : FAMILY_NAME : a string that identifies the range or family of typeface designs that are all variations of one basic typographic style. Here : "terminus". WEIGHT_NAME : a string that ...


1

There is no package containing a vncserver-x11 binary in Ubuntu (or Debian). You can always check the Ubuntu Package Search to find files inside packages. A vncserver-x11 binary is part of RealVNC. You can download Debian-compatible installers for RealVNC from their website, which are likely to work on Ubuntu. The "generic installers" will probably work ...



Top 50 recent answers are included