Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [xinit]

xinit is a Unix command that starts the X Window Server.

Filter by
Sorted by
Tagged with
0 votes
1 answer
39 views

unable to startx/xinit on additional virtual terminal

I am running OpenBSD on a laptop with X windows starting on f5 vtty via Xenodm login manager. I am unable to start another session of X from different vtty.  xinit or startx fails with Fatal server ...
Kabira  K's user avatar
  • 111
1 vote
0 answers
45 views

Starting X gets stuck when ~/.xsession exists

I have a single-board computer (Libre Computer Le Potato) that I'm trying to use to run a wall display. I want it to automatically launch X after it boots, and start Firefox. Currently, I can get as ...
Obliterax Scourge of Nations's user avatar
0 votes
1 answer
96 views

Opening a empty session on other tty

me@pop-os:~$ xinit -- :2 vt3 X.Org X Server 1.21.1.4 X Protocol Version 11, Revision 0 Current Operating System: Linux pop-os 6.6.6-76060606-generic #202312111032~1702306143~22.04~d28ffec SMP ...
Alex's user avatar
  • 101
0 votes
0 answers
51 views

X server does not keep running

since yesterday I run an issue with my GUI. I installed fresh arch Linux and I can not keep running bspwm-git, after login I get login console again. Here is my .xinitrc #!/bin/sh userresources=$...
Steex 's user avatar
0 votes
0 answers
183 views

startx (xinit) on debian bookworm: where should I add a call to xrandr?

tl;dr: Is ~/.xsessionrc the only place to add a call to xrandr without breaking startx's connection to my x-{session,window}-manager alternatives? I start my window manager on Debian Bookworm by ...
jaimet's user avatar
  • 418
0 votes
1 answer
165 views

How to translate setxkbmap to xinitrc config

I am setting my keyboard layout using this command on every startup: setxkbmap us,cz -variant ,ucw -option grp:caps_switch How can I write this configuration in to xinitrc file so xserver loads it ...
Jan Černý's user avatar
  • 1,441
0 votes
0 answers
80 views

trouble in laptop with setxkbmap

So I have a .xsession config that works well in several pc, but with a laptop I recently set up I have some issues. When I systemctl halt [or suspend] the laptop, then when it starts again [or wakes ...
ax ax's user avatar
  • 1
0 votes
0 answers
138 views

My screen turned off when I left my laptop unattended, and now it won't turn back on

I went to have breakfast while my laptop was running an Xorg session, now the screen doesn't turn on no matter what I do. I tried switching ttys, no dice. I ran a program using startx, my distro is ...
Wispy's user avatar
  • 11
0 votes
1 answer
249 views

Is a wine TTY instance possible?

I would like to know if I could connect to a wine desktop interface, like I do for Cinnamon, KDE or else. I've noticed that wine doesn't use the x-server, but the wine application to load window ...
user avatar
0 votes
0 answers
2k views

Configure X properly to start GUI programs from SSH session

I've installed xorg, xdm and fluxbox onto a GUI-less minimal Debian virtual machine instance (on GCP), then I've tried to run an application chromium or google-chrome with GUI. The execution of the ...
elaspog's user avatar
  • 111
0 votes
1 answer
541 views

Debian: xinitrc doesn't start: Caught signal 11 (Segmentation fault)

I have a VM at virtualbox in Windows 11 The VM is Debian 11 (bulleye or something like that) After installing (great!) and configure the resolution as it told here: https://www.ronaldtoussaint.nl/2018/...
Devilas's user avatar
  • 77
2 votes
1 answer
2k views

unlock gnome-keyring on login

Running debian testing, no display manager, i3 window manager. gnome-keyring & libpam-gnome-keyring packages are installed. Added following 2 lines to end of /etc/pam.d/login: auth optional ...
laur's user avatar
  • 588
0 votes
1 answer
128 views

condition in .xinitrc not satisfied, don't know why

I have a condition in .xinitrc that is not met, and I don't understand why: I have the .Xresources file in my ~ (with read permissions), and my ~/.xinitrc contains a line with [[ -f ~/.Xresources ]] &...
ElTitoFranki's user avatar
2 votes
1 answer
2k views

xinitrc seems to not run some commands

I am new to Arch and did a fresh install. I have configured it to use dwm and I start it with startx. The problem is that some commands in xinitrc seem to not run. It clearly works to some extend, ...
theboringkid's user avatar
1 vote
1 answer
206 views

startx inconsistent behavior

I have a SSH server that is responsible for running dwm binary through X forwarding, on my client computer, i have a shell script that replaces the dwm binary on /usr/local/bin, inside that script, i ...
henriquehbr's user avatar
0 votes
1 answer
6k views

Not able to open display on a headless docker container, but can on the host

I'm working on a headless system, and trying to emulate a display (specifically so I can render headless with blender, but the problem is more fundamental). I'm simulating a login to create the X ...
Clockwork-Muse's user avatar
0 votes
1 answer
119 views

Shell script to shutdown system after running xinit command?

I have a Raspberry Pi Zero 2W running Raspberry OS Lite (based on Debian 11 Bullseye, no desktop environment) that runs a startup shell script after an automatic login. The script uses the xinit ...
GAMER H2's user avatar
1 vote
0 answers
2k views

How is i3 window manager started by startx in Ubuntu (so that I can configure what display it appears on)?

I want to set up i3 automatically start on a specific one of my three screens (all connected to one Nvidia card). This has proved more difficult than expected. My first choice was to just set that ...
Stonecraft's user avatar
5 votes
0 answers
1k views

evince is slow to open

Ever since I updated debian, evince has been slow to startup - it takes about half a minute. Once it is open, it works fine, its just slow to open. It never used to take that long - it just used to ...
mulllhausen's user avatar
  • 2,700
1 vote
2 answers
2k views

How can I change the location of .xinitrc and .zsh* files

I want to change the location of .xinitrc, .zshrc and .zshenv to ~/.config/x/xinitrc, ~/.config/zsh/zshrc and ~/.config/zsh/zshenv, but without simlinking them. How can I achieve this? Do I have to ...
user avatar
0 votes
1 answer
3k views

.XResources are not loaded automatically. - Where should I put my xrdb -merge ~/.Xresources initialisation?

I added an .Xresources file to my home directory and when I load it from my shell prompt with xrdb -merge ~/.Xresources the resource settings are recognized (for X programs started afterwards). ...
halloleo's user avatar
  • 589
2 votes
1 answer
4k views

What script to put xrandr command in for automatic execution on login

What automatically executed script (~/.xinitrc, ~/.bash_profile, etc) is the best place to put a call to xrandr to set the correct refresh rate for my monitor on login? I'm using Ubuntu 18.04, and ...
ajxs's user avatar
  • 121
3 votes
1 answer
799 views

XDM stuck on login prompt

I've recently attempted experimentation with Arch Linux, and have managed to get an install with basic utilities, a network manager, etc going. I plan to use the Openbox window manager, with (at least,...
10GeV's user avatar
  • 141
1 vote
1 answer
1k views

dwmblocks not reading $PATH

I'm using archlinux, dwm and dwmblocks. At startup dwmblocks shows only the icons of the blocks', without loading the scripts output. If I run $ killall dwmblocks and restart $ dwmblocks & it ...
alex's user avatar
  • 993
0 votes
1 answer
645 views

Is there a preference rule for exec in xinitrc?

I have i3 installed as my primary window manager; now I want to test dwm. My xinitrc has only one line: exec i3. If I want dwm to launch and not i3 do I have to delete this line completely or do I ...
anon's user avatar
  • 35
0 votes
1 answer
630 views

Forward X11 through SSH and open GUI applications from tty

If I'm on the tty cli with no desktop environment set up, how can I start a remote desktop environment through ssh? For exmaple, if I first launch startx icewm and from there do a ssh -X me@raspi ...
Lhakryma DL's user avatar
0 votes
1 answer
587 views

.xinitrc seems to be ignored if /usr/bin/xinit is called from systemd service

This is on Xubuntu 18.04. I'm trying to replace lightdm with my own application running full screen on boot up. I can run xinit from root shell, and it correctly takes my /root/.xinitrc commands and ...
MicDunDee's user avatar
1 vote
0 answers
108 views

Dual Display - one is fine, the other showing squashed in left half of the screen

I have a Debian linux box set up with two displays. One is from Display Port (DP) on the box through an active adapter to DVI input on the display itself. The other is straight VGA to VGA.. This is ...
Roger Mungo's user avatar
0 votes
1 answer
128 views

Executing commands from process substitution in xinitrc

I felt that an .xinitrc like this #!/bin/sh bash <(sed -n 'H /^exec ./{ x s/\([^\n]\+ &\n\)*exec .*// p }' /etc/X11/xinit/xinitrc) xmonad & # ... exec xterm where ...
Toothrot's user avatar
  • 3,485
6 votes
3 answers
21k views

How to manually run/init/start a Xorg server on a different VT/TTY?

I want to start an Xorg server (which should only feature a minimal xterm terminal emulator from a newly created "pristine" tty). I have thought this to be as simple as issuing a xinit or ...
fraleone's user avatar
  • 837
0 votes
0 answers
3k views

Populating .Xauthority file when DISPLAY and HOST variables are non-existent

I just installed the new Debian 10 Buster and I am not satisfied. I installed it without any desktop. Only basic system utilities were installed during the initial install. After reboot I signed in ...
71GA's user avatar
  • 1,176
3 votes
0 answers
2k views

How rotate Xorg on demand with xinit?

I can physically swing around my monitor one right angle. On the console I can control orientation with the rotate_all "button" in /sys/devices/.../fbcon/. But xorg is not impressesed by that. Now I ...
user avatar
-1 votes
1 answer
459 views

Trouble with Teamviewer, X and Window manager on headless server

What I need to achieve is this: Run Teamviewer host on Ubuntu headless server CLI Increase the resolution to something workable Open a browser on the server through TV without installing a complete ...
sjaak's user avatar
  • 604
0 votes
1 answer
244 views

X11: ^C drop to shell while start X

I use xinit to start X with wm - startx command that using .xinitrc to invoke X11 environment, but when X starts, there a black screen with cursor staying there for few seconds before X is fully ...
raring-coffee20's user avatar
1 vote
1 answer
7k views

Starting just an X server on a minimal installation

I need to run a program that I haven't developed, the issue is that even if it doesn't run any GUI interface (can be used on silent mode) it still requires an X server running because of the way it's ...
Alejandro A's user avatar
0 votes
1 answer
1k views

Arch linux greeter without DM

I'm using Arch Linux with i3wm with xinit which results in having tty1 as my "greeter". I wanna know if there is any possibility to have a greeter, for instance, Deepin greeter at login prompt ...
Gabriel Ziegler's user avatar
0 votes
1 answer
645 views

pywal wont run on startx

I'm having some trouble starting pywal through .xinitrc Currently my .xinitrc is: exec dwm wal -i "/home/joe/pictures/wallpapers" & Anyone know what I could have messed up?
Joe's user avatar
  • 37
0 votes
1 answer
76 views

Xinit/zsh: jobs control

In .xinitrc, there'll have multiple lines with & to put some commands in background, I'd like to control if a command is completed or not before process to next command. I use zsh in .xinitrc ...
raring-coffee20's user avatar
1 vote
1 answer
3k views

how to load an xmodmap configuration file using .xinitrc

I am trying to figure out how to use my .xinitrc file to load an xmodmap configuration file. Although this seems to be a popular problem around the internet, I can't seem to get it working. I am ...
Trevor's user avatar
  • 1,659
3 votes
1 answer
2k views

Configure XFCE startup commands in NixOS

In NixOS, services.xserver.desktopManager.xfce.extraSessionCommands describes "Shell commands executed just before XFCE is started.". What about for shell commands right after XFCE is started? That ...
Matthew Piziak's user avatar
2 votes
1 answer
6k views

xinitrc - set DBUS_SESSION_BUS_ADDRESS

Not using display manager and executing startup logic via xinitrc. Problem is some dbus-related env variables are not set. xinitrc excerpt: dbus-update-activation-environment --systemd --all # note ...
laur's user avatar
  • 588
8 votes
4 answers
30k views

Start X Server on Login with Systemd

I know that this is not the normal way people use X. Most setup instructions tell you to put something like startx in your shell's profile. However I want to have systemd manage things. Ideally I ...
Nathan Lilienthal's user avatar
0 votes
1 answer
117 views

start wmii from ~/.xinitrc

What is the right way to start wmii window manager from ~/.xinitrc? I put exec wmii however it doesn't seem to pick up configuration.
Mark's user avatar
  • 1,823
0 votes
1 answer
961 views

startxfce4 no longer loads on Asus chromebook

I have an Acer chromebook that I used to be able to load into xfce via "shell" then "sudo startxfce4" at the chrome terminal. Suddenly it fails and will no longer load. Instead, I get the following. ...
Kreuzfeld's user avatar
5 votes
2 answers
3k views

Arch Linux: Running VirtualBox (VM) without a window manager

In Arch Linux, I would like to run VirtualBox without a window manager. As a root I can easily do: xinit /usr/bin/VirtualBox -- :0 vt1 As a non-root user I get a blank screen. If I open another ...
antonio's user avatar
  • 1,463
0 votes
0 answers
913 views

LXQt works perfectly on a fresh Arch install then only get a black screen after rebooting

LXQt works perfectly after a fresh Arch install on my laptop, then I reboot, and without changing anything, simply logging in as the same user from before, running startx like before, instead of lxqt ...
rdh's user avatar
  • 101
1 vote
2 answers
622 views

My ubuntu-server doesn't execute my gtk-based program at startup!

I have Ubuntu-server 16.04. Installed gtk3 and can execute my program manually by this command: ./img when I go to it's directory /home/m. But when I tried to add this line to my /etc/rc.local file: ...
user3486308's user avatar
0 votes
1 answer
738 views

Screen resolution in X windows different from command line

I have a raspberry pi zero and I'm running Jessie lite (very similar to ubuntu distros). I'm using my pi to run a MagicMirror. Everything runs correctly but X windows does not take up the whole screen....
ABirnberg's user avatar
1 vote
2 answers
4k views

How can I find which process is controlling the root window?

I'm trying to get an xscreensaver to run as my desktop background / wallpaper using the method described here: https://wiki.archlinux.org/index.php/XScreenSaver#Animated_wallpaper and the first step ...
0x5f3759df's user avatar
4 votes
0 answers
17k views

Set up display orientation and resolution on an embedded Linux

we have an embedded PC with an Linux OS which seems to be an Debian/Ubuntu derivate with RT-Preempt patch. At this pc we attached a display (7" 1024x600 170 DPI) via DVI. We are need to run the ...
Alex44's user avatar
  • 177