Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [startx]

The tag has no usage guidance.

0
votes
1answer
31 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 ...
0
votes
1answer
43 views

Failed to load module “nv” (module does not exist, 0)

I get this error when running 'startx'. What is this 'nv' module, and how do I stop Xorg from trying to load it? EDIT: I am going to try to blacklist the module 'nv' using the kernel command line. I'...
0
votes
1answer
160 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 ...
0
votes
1answer
63 views

How do I use ssh-agent as a wrapper program?

I'm trying to start awesome windows manager as a subprocess of ssh-agent. It worked when I used startx (ssh-agent startx). But now I'm trying to make it work under lightdm. lightdm starts /usr/bin/...
0
votes
1answer
600 views

Cannot open virtual console 7 (Permission Denied) when trying to start X on Gentoo

When I try to start X with i3 by typing startx /usr/bin/i3 I get the following error message: (EE) xf86OpenConsole: Cannot open virtual console 7 (Permission denied) Launching startx as root or ...
0
votes
1answer
43 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?
1
vote
1answer
86 views

startx crashes with no errors

I am having a weird problem trying to run startx on my debian desktop. It crashes and dumps me back into the shell, with no indication as to what went wrong (that I can see). It had worked previously, ...
1
vote
0answers
162 views

Can't open deepin control-center on i3

I can't open deepin control-center on i3wm on arch linux. When I try to execute dde-control-center, I get the following error: "dtkwidget2" can not find qm files load translate "/usr/share/dde-...
1
vote
1answer
340 views

Nvidia Optimus laptop: startX and xinit don't work (Arch)

I can't boot my pc because the Xserver doesn't start. What's weird is that when I use SDDM it boots just fine. I also tried to use Lightdm a few months ago but it didn't want to boot, I'm guessing ...
1
vote
0answers
26 views

startx turns LCD off [closed]

I have written a driver for linux to communicate with /dev/fb0. When system boots, The LCD turns on and displays random colors, but when startx runs (that I expect desktop environment to be shown), ...
0
votes
1answer
2k views

Can't run startx on tty

I recently switched from win10 to Ubuntu because I don't use it for gaming anymore. When I installed it, I only had access to my desktop(gdm3) but a resolution of 800x600 which looked awful. Now that ...
0
votes
0answers
2k views

startx gives the error “Could not resolve keysym XF86 KeyboardError”

I installed Arch Linux following this tutorial. After installing gnome and configuring .xinitrc, running startx gave the error - "Could not resolve keysym XF86 KeyboardError" and exited. But sudo ...
0
votes
1answer
410 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 ...
0
votes
0answers
47 views

Gnome freeze when click on “parameters”

I just installed archlinux (4.16.13-2-ARCH). After some configurations concerning the wifi and the users, I decided to install a GUI: GNOME. I started by installing xorg-xinit, xorg-server and xorg-...
1
vote
2answers
1k views

Why `systemctl stop service` can't invoke the service?

vim /home/mytest.sh rm -f /home/mytest/* I want to write a service to execute the remove action. My expections: sudo systemctl stop mytest can delete files in /home/mytest sudo systemctl start mytest ...
0
votes
2answers
2k 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 ...
-2
votes
1answer
185 views

Debian Jessie environnment is broken

I have a Debian 8.10 Jessie installed on my laptop and since this morning, my environnment behaviour is completely broken : ALT+TAB doesn't work, ALT+F4 doesn't work, I can't move, close or adjust the ...
2
votes
1answer
282 views

when in X11: how to disable switching tty with Ctrl-Fn and Alt-Fn

It's super annoying that when I'm in X11 session Ctrl-F[1-12] and Alt-F[1-12] switches Linux virtual tty. How to disable it? (Ctrl-Alt-F[1-12] should work). I'm using startx to start X11 session with ...
1
vote
1answer
3k views

How to force “startx” at startup?

Sorry if I used wrong subject, but my problem is explained completely here: https://forum.armbian.com/topic/5561-how-to-configure-scriptbincustomfex-for-spi-lcd/?tab=comments#comment-42545 I did ...
1
vote
0answers
463 views

How is XServer started in Ubuntu 16.04?

I thought that /usr/bin/startx script is used to start XServer but it looks like this is not true. Which process or script starts XServer? XServer has to start before lightdm greeter is visible, but ...
1
vote
0answers
217 views

Why startx hangs if I do not have an internet connection in OpenBSD [closed]

When I use startx to start my desktop (lumina) with the internet connect the desktop comes up. If the internet is disconnected startx will hang. If I hit CTRL+C twice when it is hung (no internet) it ...
3
votes
0answers
5k 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 ...
0
votes
0answers
2k views

Cygwin + /usr/bin/xterm: Xt error: Can't open display: :0

I am trying to run xcrysden on my windows PC using Cygwin. If i try to start an x server with : startx A black window opens for a split second , and i can read the follwing information in the command ...
1
vote
1answer
272 views

How to make several “startx” profiles?

I have an Arch Linux with i3wm now. When I need to start my i3, I just type startx, because in config file I have exec i3;. When I need to run some another graphical environment, such as Gnome, I edit ...
1
vote
0answers
274 views

Simple “kiosk” - StartX with one application says no protocol specified

My aim is to have a Ubuntu laptop which starts one application and the users can't use the mouse or keyboard. First thing to do was find out the command to start the program. This is this command. ...
3
votes
1answer
8k views

How to make CentOS 7 load startx on startup?

I am having issues where my centos 7 machine with KDE does not load the gui at startup. It gets stuck on some white letters and I have to press CTRL+ALT+F2 to load another terminal session and then ...
3
votes
1answer
596 views

Start two X servers on boot on RHEL

I have a powerful machine that I want to use as a multi-seat system. It has two graphic cards and two pairs of keyboards and mice. I've been able to successfully configure two "seats" using udev and ...
1
vote
1answer
144 views

How to start a new GUI with custom command from tty1?

I'd like to start a new GUI (say in tty8) from tty1 with the command mplayer -fs /tmp/movie.mp4 How to start a new GUI with this custom command from tty1? The command xinit /usr/bin/mplayer -fs /...
0
votes
1answer
57 views

How to display a video when a wrong password is entered

I want to display a video when a wrong password is entered (say only in GUI login screen or within the display manager). I have added a line to /etc/pam.d/common-auth to run my script /usr/local/bin/...
2
votes
2answers
1k views

Can't run `startx` from inside screen session

I'm running Slackware GNU/Linux 14.2, which doesn't start an X server by default. On a whim, I tried running startx inside a screen session and got the warning /usr/libexec/Xorg.wrap: Only console ...
0
votes
0answers
670 views

startx doesn't read xinitrc and Xprofile config files

It happened after I have uninstalled GNOME on Fedora and switched completely to i3. I use .xinitrc for setting wallpaper (what contains exec i3 line as well), and .Xprofile for setting keyboard ...
1
vote
0answers
233 views

Applications don't start in enlightenment WM

I installed enlightenment on my arch but I experience some rather strange behaviour. If I start it with startx /bin/enlightenment_start I get a black screen and a mouse cursor. The same happens if I ...
7
votes
1answer
4k views

X Forwarding with indirect rendering fails with newer clients

Posting this question for a colleague after quite a bit of research. He wants to connects to an old Centos 4 server via ssh -X (or -Y) and run some X application there. It used to run fine for years, ...
1
vote
1answer
343 views

Running program in .profile prevents GUI startx

I want to run a python program that polls the keyboard on startup/login to my raspberry pi. Previous attempts included cron jobs (failed due to lack of stdin or stdout). rc.local also failed as it ...
0
votes
1answer
113 views

How to specify the display manager of a new session launched from tty?

When prompting startx from tty, the graphical display start but without any display manager but have a xterm from which my display manager have to be launched. How can I directly launch a session ...
1
vote
0answers
305 views

X display-manager login fails, console login + startx works

I have one machine (my main desktop, as it happens) where I've been unable to login from the display manager for months. As soon as I enter my password, it looks like it's about to start my session ...
2
votes
1answer
4k views

What is starting i3 when I run startx?

I'm trying to find the configuration file that startx uses to start the i3 window manager. The weird part is, grep -r i3 returns no relevant results in ~ and /etc/X11/. I have checked every file I ...
2
votes
1answer
1k views

pkg upgrade broke X server on FreeBSD ((II) NVIDIA(0): Validated MetaModes: “NULL”)

Problem After a recent update of pkg and circa 60 other programs my X server broke. I used to start dwm with startx but I get the following error message instead: xauth: file /home/user/.serverauth....
0
votes
1answer
1k views

startx command not working in MobaXterm

I have set up Raspbian Jessie on my RPi 3 Model B. I am using mobaXterm as a remote client. To start the Pi's GUI, when I type startx, the following output is returned:
1
vote
2answers
261 views

why would a command run at the prompt and not in a script?

I have a RPi running raspbian jessie which I use in kiosk mode: I start in /etc/rc.local /usr/bin/xinit /opt/domotique/xinitrc > /root/xinitrc-errors 2>&1 and /opt/domotique/xinitrc is ...
8
votes
1answer
2k views

Is startx deprecated?

startx says: -------------------------------------------------------------------------------------------- xinit failed. /usr/bin/Xorg is not setuid, maybe that's the reason? If so either use a ...
43
votes
2answers
29k views

Difference between .xinitrc, .xsession and .xsessionrc

I found three configuration files. .xinitrc .xsession .xsessionrc I know that the first one is for using startx and the second and third are used when using a display manager. But what is the ...
-1
votes
1answer
3k views

openSUSE frozen on login screen, refuses to return to GUI [closed]

I just came back to my recently installed (overnight last night, just started using it today) openSUSE installation to find it frozen on the lock screen. After various attempts to get it to unfreeze I ...
1
vote
1answer
394 views

Is there a way to start always as a root?

I'm using Debian Wheezy, and I need to be always as a root. So I do the following every-time I restart the OS: $ sudo -i then startx. Is there a way to restart directly as a root every-time?
1
vote
0answers
191 views

Start from text mode + startx?

I'm trying to boot my Trisquel GNU/Linux distro directly from text mode, as I don't want to load the GUI if it's not necessary. I would like to work in tty1 until I type startx, which would start all ...
2
votes
1answer
2k views

Arch Linux boots to tty1 by default instead of tty7 after update

I updated the system 2 days ago and now realised a startx systemd script failed to start. This is seems to be caused by the fact that Arch booted into tty1 by default. Switching to tty7 and restarting ...
0
votes
1answer
500 views

Gnome doesn't work in tty7

I am using Debian. Everything were fine, but after I have my first reboot, I got a black screen after boot in tty7. I switched to tty1 and did startx and it worked(I have graphics in tyy1 ), but still ...
7
votes
2answers
4k views

What is the difference between starting x and starting the display manager?

What is the difference between running startx and starting your display manager with sudo service (display_manager) start? Two different events happen, so I am curious as to know the difference behind-...
1
vote
1answer
4k views

changing $HOME directory name

I'm Using Arch Linux + Xfce4 (Edit: running as VBox OS guest) and I wanted to change a username and it's home directory accordingly. I followed these steps as root: 1.Renamed the home directory # mv ...
1
vote
1answer
654 views

How to show desktop when remotely accessing Debian?

Client: Win7 with Xming Server installed. Using putty to access with allowing X11. Remote: Debian 3.2.73 with GNOME as the GUI environemt. And X11Forward=yes in /etc/ssh/sshd_config I can launch ...