We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [startx]

startx is a front-end script to run xinit used to manually start an X display server.

Filter by
Sorted by
Tagged with
4
votes
2answers
31k views

How to start GUI with startx command (not found)

I am trying to start the desktop with Raspbian Stretch, but I'm not able to run startx. I install: RASPBIAN STRETCH WITH DESKTOP from https://www.raspberrypi.org/downloads/raspbian/ and then: ...
0
votes
4answers
396 views

runing command on startup

I need to execute this command on the RASPBERRY PI bootup cd RPi_Cam_Web_Interface && ./install.sh and also follows dual ENTER keys with 5 seconds interval for each.
1
vote
1answer
4k views

startx — -layout HDMI -layout TFT # at the same time?

This verbiage implies, if you want a desktop on both heads of a Pi(2) with a PiTFT hat, you just startx each desktop: startx -- -layout TFT & startx -- -layout HDMI & Various combinations of ...
0
votes
2answers
230 views

raspberry pi zero w calls startx unknown command

I have a rasperry pi zero w with raspbian stretch installed on a 4gb micro sd card. when I log in it goes to the pi@rasperrypi~$ command prompt. When I type in startx it says "unknown command". Is ...
3
votes
1answer
275 views

Creating a new user and starting a graphical session causes black desktop

I am using a Raspberry Pi 2 Model B running the latest version of Raspbian Wheezy (Raspbian Wheezy 2015-05-05). I created a new user separate from the default user "pi" and I am unable to create the ...
0
votes
2answers
61 views

Configure Raspberry pi to run my application before GUI Desktop

I have created an application through Python that has library dependencies on Qt4, pyqt4, pyqtgraph etc. This application is based on Raspberry Pi, I have developed and finished it on the platform. I ...
0
votes
0answers
89 views

Trouble running an AppImage without desktop using ~/.xinitrc

I am trying to use an ~/.xinitrc file to run an AppImage file on startup without the desktop taking up resources. Here is my .xinitrc file: #!/etc/sh exec Piro.AppImage Then when I run startx in ...
0
votes
1answer
922 views

Permission issues seem to be preventing use of startx - why? How can I fix?

Been working with RPi3, fresh installed this Jessie OS and had no problems for ages, until earlier today. Current situation: When booting pi, the messages aren't the same as before, but ends with the ...
1
vote
2answers
1k views

How to make startx open new X Session in tty7?

Before, when I launched x from the tty1 console, it would start the x session in tty7, allowing me to terminate it easily from tty1. Now (I do not know what changed it), startx from tty1 will open X ...
0
votes
0answers
60 views

Raspberry Pi 4B no video - xorg fail

I have Rapsberry pi 4B with 2GB of RAM. After some time I powered up Pi but not video output was shown. So I connected via ssh but there is no :0: 16:02:32 up 13 min, 2 users, load average: 0.00, ...
1
vote
1answer
2k views

Pi3 startx fails

I'm trying to start the gui on raspbian jessie on a pi 3, using the startx command. I get back an error like this: Fatal server error: Could not create lock file in /tmp/.tX0-lock and xinit: giving ...
2
votes
0answers
52 views

Failing using startx to launch different desktops

I am trying to use startx to launch different desktops according to an argument using case...esac This is my .xinitrc mate(){ (sleep 5 && conky) & mate-session } case $1 in ...
0
votes
0answers
23 views

GUI Login Fails for all accounts [duplicate]

I'm relatively new to both raspberry pi and unix. In spite of that, I'm teaching intro to programming classes at a school using raspberry pi's. These pi's are NOT connected to the internet. Each ...
0
votes
1answer
208 views

/etc/profile executing 2 times

I have written a script to run automatically after login. For that I have put it in /etc/profile as: /home/pi/myscript.sh & However, it is executed twice instead of one. Any ideas why? VNC and ...
0
votes
4answers
4k views

Start X Not Working

RaspberryPi2 with official RP 7" screen. Formatted 16GB MicroSD using SDFormatterv4.zip = success Installed Raspian Jesse using NOOBS v1_7_0.zip = success Powered on & Appears to be a clean boot ...
2
votes
1answer
4k views

GUI won't start automatically Raspbian Pixel

I have a triple boot Raspberry, and after an update of Raspbian, the gui won't start, when boot option in raspi-config is on Desktop I get Splashscreen of Raspbian Pixel and after this I get a black ...
2
votes
2answers
2k views

Typed in startx and now I can't log in

I've never had to enter a password into the Pi before. It would just boot to the desktop However, I was following some instructions which told my to type in startx. I typed it in and it went into a ...
1
vote
0answers
28 views

create user that has very limited permissions that can launch startx

Could someone help me with a procedure to create a user that would have the least amount of permissions, no sudo access. That would be able to launch startx from a command line boot on raspbian-...
-1
votes
1answer
75 views

I couldn't use apt to update, upgrade and install on raspberry wheezy

I'm using raspberry pi and wheezy software. When I update I'm getting an error message like: Get:1 http://archive.raspbian.org wheezy InRelease [12.5 kB] Get:2 http://archive.raspberrypi.org wheezy ...
3
votes
0answers
477 views

Disable Screensaver of XServer on Raspbian Jessie Lite

I setup a Raspberry Pi 2 with Raspbian Jessie Lite in read only mode. To run a Qt application I installed the packages "xserver-xorg" and "xinit". I am starting the application automatically after ...
2
votes
0answers
813 views

run startx not as root

Scenario: So I want to run startx. The problem is, it won't let me write to tty0 Fatal server error: (EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied) so I tried to run sudo startx, ...
12
votes
2answers
84k views

startx command not working

I got a raspberry pi 2 B that came with a pre-loaded 8GB micro sd card. When I set it up, turn it on, and get to the part where I need to type in the "startx" command and press enter it does not work. ...
0
votes
1answer
1k views

Why is the command startx not working on my Raspberry Pi 3 Model B?

I have just flashed Raspbian to my 8 GB hard drive, but when I boot up the Raspberry Pi and log in, it says: bash: startx: command not found Is there a problem with the boot files?
1
vote
0answers
468 views

Failing to startx with chromium

I am trying to launch a single application - chromium without the rest of the desktop. I am trying this command (in terminal mode): $ startx chromium-browser -- It proceeds to start the X server, ...
18
votes
4answers
51k views

startx: command not found

I am total newbie to Raspbian world and my problem is that I can't start the GUI because when I write: > startx I get back: bash-: startx command not found; using sudo returns the same error. ...
1
vote
0answers
52 views

startx stops working when I modify /home/pi/.profile

I added the following lines to /home/pi/.profile clear cd / cd /home/pi/circulation_of_circuits/ ./launcher.sh In case it matters, launcher.sh contains this: #!/bin/sh cd / cd home/pi/...
1
vote
0answers
246 views

Incorrect Pygame touch events from Raspi Display without startx

I have a Clock / Weather / MPD client PyGame application that runs on a Raspi3 with an official Raspi Touchscreen. The app works fine when executed under startx. When started from the command line, ...
1
vote
2answers
625 views

Start GUI while running a terminal aplication

I have a python application that logs data from connected sensors. Most of the time it just sits there logging data. If power is lost and regained, I want it to start this application automatically so ...
-1
votes
1answer
656 views

How can i fix startx on my RPI3?

The day before yesterday I opened too many tabs in the browser, and hung my RPI. I turned it on again with the power turned on. But he was involved not as usual. Instead of having to download the ...
2
votes
0answers
552 views

running x on read-only raspbian

I am trying to run xserver on a read-only raspbian. I get the following errors. root@ClientX:/var/log# startx xauth: error in locking authority file /root/.Xauthority xauth: error in locking ...
3
votes
1answer
2k views

Set X background as soon as poosible

I am currently working on a small rpi3 kiosk. I managed to set up a boot splashcreen with fbi started by an initscript. However I can not make a smooth transition between the splashscreen and the ...
0
votes
1answer
5k views

Booting to LXDE instead of Raspbian desktop

I'm very new to using a raspberry pi. Recently I purchased one (a raspberry pi 3) and I was playing around with it. All of the sudden when I turn it on, it takes me to LXDE login screen instead of the ...
2
votes
1answer
4k views

lxsession/LXDE/autostart is not running my script?

My custom script to start midori in fullscreen browser is not loading when the pi boots. I want it to run when the desktop loads. I call the script from /etc/xdg/lxsession/LXDE/autostart by using ...
3
votes
2answers
4k views

Could not write pid to lock file

I was working on my Pi when suddenly it stuck. I attempted to restart but upon entering startx I got the error "Could not write pid to lock file in /tmp/xtX0-lock' I've looked around and many people ...
0
votes
2answers
1k views

Raspberry pi 2 with new raspbian can't startx

I have a brand new distribution of raspbian running on my raspberry pi, When I do startx it loads a bit. Then I see the wastebasket, but the menus just flicker on and off. I checked my user pi for ...
2
votes
0answers
269 views

Auto starting apps in LXDE doesn't work

I'm trying to build a "kiosk" app for my Raspberry Pi 2 which has an Adafruit PiTFT connected to it (using their image, which is just the standard Debian Jessie, but with framebuffer stuff added to ...