You certainly don't have the default Raspbian PIXEL packages on your system. I would prefer startx over slim. I had to change raspi-config to boot to desktop with password prompt. sudo apt-get install --no-install-recommends xserver-xorg. While you can also use xinit to run GUI applications without a window manager, many graphical applications expect an EWMH compliant window manager . Would you please tell me step-by-step how to remove that line, and how to start xfce by entering startx command? xinit: No such file or directory (errno 2): no server "X" in PATH. The installation went fine with no errors. It is often run with no arguments.. To force start an X session on a workstation, enter: startx -w. To start an X session for an X terminal, and log off the user's telnet session, enter: startx; kill -9 $$. I rebooted and am just left with a flashing cursor icon and nothing else. startx -- -layout Multihead . Save questions or answers and organize your favorite content. xauth: creating new authority file /root/ .serverauth.2090. The startx script is a front end to xinit that provides a somewhat nicer user interface for running a single session of the X Window System. To start an X session using the mwm window manager, enter: startx -m mwm. Posted by 7 months ago. This is not the right way to start the GUI! When I exit BSPWM and go back to the tty, I see the following error: xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted) I have an NVIDIA GPU (RTX 2070 Super) and have installed the (latest) proprietary drivers. Looks like you installed xorg but not a single window/desktop manager. startx X Window X11 startx xinit X Window command not found Linux startx - Linux CommandNotFound ! After reading a while I found that I needed to install xinit package to have startx in my machine. If command line client options are given, they override this behavior and revert to the xinit(1) behavior. After this completes, I enter STARTX command to run Gnome, but this time in CentOS 5, I get . If there is already one line that defines "DESKTOP", just change the value of it. I investigated a bit further by adding some debug echoes to /usr/bin/startx, and found that it was hanging on this command: Bash is the default command-line shell on Arch Linux. so: If you want startx to run a particular desktop environment, you can create the file ~/.xinit with the line startxfce4, for instance. sudo apt-get update && sudo apt-get install raspberrypi-ui-mods && apt-cache depends raspberrypi-ui-mods && sudo reboot. But when I type startx, it doesn't work. Raspberry Pi 3 Model B setup startx or sudo startx gives: command not found. The fact that dpkg -l | grep raspberrypi-ui-mods doesn't output anything indicates that you probably do not have the desktop version installed. startx -- -dpi 100 . In computing, the X Window System (commonly known as X11, based on its current major version being 11, or shortened to simply X, and sometimes informally X-Windows) is the system-level software infrastructure . 1. 1. I found a solution for me: Well, I hope someone can use my answer: I changed my password, reinstalled xserver-xorg by typing: sudo apt-get install --reinstall xorg. Troels wrote: What irritates me, is that I am trying to configure Arch to start X without a login manager like GDM (it is too heavy). I can get to the desktop by pressing ctrl+alt+f2 to spawn a login prompt and then enter "startx". You can also tell startx what it should run directly from the command line: You can also tell startx what it should run directly from the command line: Have hald_enable="YES" and dbus_enable="YES" in /etc/rc.conf. But when I type "startx" in tty1 is says "command not found". Arch Linux Minimal Xorg Install. However, the problem I'm having is that sudo startx executes (as far as I am aware) the default /etc/X11/xinit/xinitrc file, rather than the ~/.xinitrc in jeremy 's home directory. Viewed 31k times 3 New! man startx. It gives me a bash: startx: command not found I don't know where I went wrong. The following command-not-found . While the default value for "DESKTOP" is set to "GNOME", we will get to gnome if we don't set the variable. Which package do I need to be able to use startx and .bashrc instead of gdm? Since you have no GUI, you don't have startx either. Just trying to get "startx" to work with a simple window manager. For a while startx was not working on mi pi3. I would just like to be able to undo what I did with the first command. Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use. Did pkg install xorg. Re: Arch Linux "startx" command not found. The startx (1) script is a front-end for xinit (1). I just tried to help here . Yes it is !!! If that is not found, it uses the file xinitrc in the xinit library directory. xinit is typically used to start window managers or desktop environments. Additionally, if I switch my login shell to bash and add exec startx to ~/.bash_profile, it works as expected. Bash (Bourne-again Shell) is a command-line shell /programming language by the GNU Project. I then proceed with yum groupinstall gnome desktop. 4. level 2. Startx not working after fresh install. This is actually normal if you do not have a xinitrc with a command to start a window manager (or any GUI app). So then I try with sudo, still: command not found. Ensure Raspbian is updated to the latest software. To fix the "startx command not found" error, you'll need to install the X Window System on your computer. Its name alludes to its predecessor, the long-deprecated Bourne shell. Bash can be run on most UNIX-like operating systems, including GNU/Linux. Now, when I try and logon to my main user (I'm using KDE plasma with X11), it will not load me into the desktop; it just stays frozen on the logon screen. Re: My "startx" command doesn't work. For whatever reason, startx now works. If that is not found, it uses the file xserverrc in the xinit library directory. If it's your intention to use startx to run a minimal xorg server without any other desktop environment running, you need to install x11-base/xorg-x11. hope this helps! I have an Arch Linux setup running BSPWM, I don't use a login manager, but instead just run startx (with xinit ). Then we will start KDE when we run . I installed Manjaro as a minimum install so I am running bare-bones. Modified 5 years ago. Shortcut to exit shell on partial command line. "No manual entry for startx". Try this: pacman -S slim xfce4 xfce4-goodies this should install a whole bunch of stuff; normally that's annoying but in your case you want to 'catch up' your distro to all the libraries a normal desktop needs. An X window manager is a window manager which runs on top of the X Window System, a windowing system mainly used on Unix-like systems. /usr/X11R6/bin/startx. The next (recommended) step is to install xinit which enables you to launch the Xorg Display Server from the command line (with startx) sudo apt-get install --no-install . Run startx and get: "-sh: startx: not found". Sudo startx takes me to the default desktop with root powers. Found the internet! Close. After a reboot it worked for me. 1. Once that's done, either enable slim in /etc/inittab (and disable any other session manager that's enabled . To start an X session using the .xinitrc script, enter: startx -x .xinitrc. To determine the client to run, startx first looks for a file called .xinitrc in the user's home directory. Description. When I boot I get to the tty terminal and login page, I try to startx but it says "-bash: startx: command not found" I have installed xorg and kda plasma through the USB drive, but when I tried to "umount -R /mnt" it doesn't unmount. When we want to startx to KDE we just need to add one line to /etc/sysconfig/desktop: DESKTOP = "KDE". "bash: No such file or directory". If command line server options are given, they override this behavior and revert to the xinit(1 . Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! The xinit program allows a user to manually start an Xorg display server. This just takes me to another command prompt. I . With over 10 pre-installed distros to choose from, the worry-free installation life is here! I already installed firefox. Any solution? $ sudo ssh-agent startx And added this to my .bashrc: alias startx='ssh-agent startx' I immediately rebooted. Fri Sep 22, 2017 7:23 pm. pacman includes functionality to search for packages containing a file. . The ~/.xinitrc looks like this: Now I can confirm that sudo startx ~/.xinitrc (as user jeremy) correctly starts the awesome window manager. Today, I was "playing" with the Linux configuration (as usually) and using tasksel on my Debian I remove the Desktop section, and installed it again, when I tried to use startx I just could not, there was no startx command. Mon Aug 06, 2012 2:25 pm Joe Schmoe wrote: Think of "sudo" as the modern equivalent of brainf****'s "PLEASE" command. It then scanned and I guess it didn't find what it was looking for and it then asked for the other . By default, Ctrl+d will not close your shell if the command line is filled, this fixes it: .zshrc exit_zsh() { exit } zle -N exit_zsh bindkey '^D' exit_zsh pacman -F "command not found" handler. arch-chroot /mnt pacman -S virtualbox-guest-modules-arch arch-chroot /mnt pacman -S virtualbox-guest-utils Then I restart my virtualbox, login with my user account. It was the only way to access the GUI. startx --:1 and then done! I have done my steps in the sudo raspi-config to extend file . this will get your desktop back: Code: Select all. If command line client options are given, they override this behavior and revert to the xinit behavior. If you do not want Arch Linux to run startx, use /etc/X11/xinit/xinitrc. Rep: I tried these suggestions and one other I found through the link in your signature and this is what I get: locate startx. Arguments immediately following the startx command are used to start a client in the same manner as xinit.The special argument "--" marks the end of client arguments and the beginning of server options. I am trying to install Arch Linux on my laptop. If I comment out the exec startx line, login works, and so does startx when I run it manually from the fish prompt. Ask Question Asked 6 years, 1 month ago. Hello friendly beasties, startx not found (and neither is my sanity now). Have proc at /etc/fstab. . Hello, I installed arch linux on amd system and installed xorg-server and xorg-xinit to run startx to execute awesome wm (im pretty sure this has nothing to do with awesome) Starting KDE from the command prompt To start KDE from the command prompt, you first need to modify your .xinitrc file: cat > ~/.xinitrc << EOF # Begin .xinitrc exec ck-launch-session dbus-launch --exit-with-session startkde # End .xinitrc EOF . This is what I encountered throughout the Debian install: -When it was installing apt, I chose 'cdrom' for the location and it said to insert the Debian disk, so I did. Startx not working after fresh install. Currently startx opens xorg, and I have to enter startxfce4. I reboot but no desktop environment in there! my screen back! To determine the server to run, startx first looks for a file called .xserverrc in the user's home directory. The essential step is to install the Xorg Display Server. The easiest way to do this is by using a package manager like apt or yum. In CentOS 5 - it is NOW yum groupinstall gnome-desktop!