You are not logged in.

#1 2021-01-08 11:35:51

kashishme
Member
Registered: 2021-01-08
Posts: 175

[SOLVED]stuck at startx

i tried everything on archwiki and also tried stuff from previous forum questions but nothing seems to work.. im new here so excuse my typing.
i tried reinstalling the xorg server n xorg itself but that won't work, i also copied xinitrc file to home directory
http://imgur.com/gallery/MoCpLQc
i dnt know how to use ssh so, sorry.
solution:
I had to tweak the configuration file to use my integrated gpu instead of the dedicated gpu because its drivers weren't installed. Thank you everyone for your help

Last edited by kashishme (2021-01-09 14:37:22)

Offline

#2 2021-01-08 11:48:31

archimboldo
Member
Registered: 2016-03-07
Posts: 232

Re: [SOLVED]stuck at startx

Why are you starting it with sudo?


Rules for problems.
Everyone has problems. Animals have problems. And buildings. And cats, and trees.
Problems are your friends. Treat them well.

Offline

#3 2021-01-08 11:54:33

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]stuck at startx

im doin it with normal user but i tried both and both ain't working, before it worked with sudo but now sure what happened, it stopped working totally

Offline

#4 2021-01-08 12:51:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,361

Re: [SOLVED]stuck at startx

Stop using sudo for things that have no business being ran with sudo. It's not a "fix my problem" auto shot tool and can have system breaking consequences if used improperly.

startx belongs into the category of tools that you never run as sudo. That said there's no information in your post that could be used to help you. What kind of system is this, which hardware and which drivers did you install, can you post a xorg log and a

sudo journalctl -b

see https://wiki.archlinux.org/index.php/Li … in_clients for how to post outputs from a terminal.

Which instructions did you follow to install the system?

Last edited by V1del (2021-01-08 12:51:27)

Offline

#5 2021-01-08 14:04:34

Archlin
Member
Registered: 2018-05-09
Posts: 67

Re: [SOLVED]stuck at startx

Apart from running startx as sudo which is a big nono.

Since your running startx from tty4 and  by default X runs on tty1, what happend when you switch to  tty1?
Do you have X or do you see an error in which case what is the error?

Also provide your ".xinitrc" please if you don't see a desktop at tty1 after 'startx' (as user).

Last edited by Archlin (2021-01-08 14:08:22)

Offline

#6 2021-01-09 04:13:52

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]stuck at startx

Archlin wrote:

Apart from running startx as sudo which is a big nono.

Since your running startx from tty4 and  by default X runs on tty1, what happend when you switch to  tty1?
Do you have X or do you see an error in which case what is the error?

Also provide your ".xinitrc" please if you don't see a desktop at tty1 after 'startx' (as user).

sorry but what is tty exactly?? im rly bew so plz dnt get angry

Offline

#7 2021-01-09 04:15:38

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]stuck at startx

V1del wrote:

Stop using sudo for things that have no business being ran with sudo. It's not a "fix my problem" auto shot tool and can have system breaking consequences if used improperly.

startx belongs into the category of tools that you never run as sudo. That said there's no information in your post that could be used to help you. What kind of system is this, which hardware and which drivers did you install, can you post a xorg log and a

sudo journalctl -b

see https://wiki.archlinux.org/index.php/Li … in_clients for how to post outputs from a terminal.

Which instructions did you follow to install the system?

i followed archwiki to install everything, and btw i dint understand how to post my terminal output?

Offline

#8 2021-01-09 04:21:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]stuck at startx

Did you read the link? It couldn't be any more basic than that.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2021-01-09 04:31:32

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]stuck at startx

jasonwryan wrote:

Did you read the link? It couldn't be any more basic than that.

i don't have a gui on arch, how do i copy the output??? i read the link, OFC!

Last edited by kashishme (2021-01-09 04:34:16)

Offline

#10 2021-01-09 04:51:59

loqs
Member
Registered: 2014-03-06
Posts: 19,040

Re: [SOLVED]stuck at startx

wiki wrote:

Tip: You can access the ix.io pastebin using curl. For example pipe the output of a command to ix.io:

command |& curl -F 'f:1=<-' ix.io 

or upload a file:

curl -F 'f:1=<-' ix.io < file

sprunge.us has a similar service, and also offers a plain HTML form.

You do not understand you can substitute journalctl -b for command or you can pipe journalctl -b to a file then use file based example?

Offline

#11 2021-01-09 04:52:27

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]stuck at startx

Archlin wrote:

Apart from running startx as sudo which is a big nono.

Since your running startx from tty4 and  by default X runs on tty1, what happend when you switch to  tty1?
Do you have X or do you see an error in which case what is the error?

Also provide your ".xinitrc" please if you don't see a desktop at tty1 after 'startx' (as user).

here is xinitrc file
https://imgur.com/gallery/WceXvDa

Offline

#12 2021-01-09 04:57:04

loqs
Member
Registered: 2014-03-06
Posts: 19,040

Re: [SOLVED]stuck at startx

Xinit#xinitrc

wiki wrote:

This default xinitrc will start a basic environment with Twm, xorg-xclock and Xterm (assuming that the necessary packages are installed).

Offline

#13 2021-01-09 04:59:19

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]stuck at startx

loqs wrote:
wiki wrote:

Tip: You can access the ix.io pastebin using curl. For example pipe the output of a command to ix.io:

command |& curl -F 'f:1=<-' ix.io 

or upload a file:

curl -F 'f:1=<-' ix.io < file

sprunge.us has a similar service, and also offers a plain HTML form.

You do not understand you can substitute journalctl -b for command or you can pipe journalctl -b to a file then use file based example?

got it now here is journalctl -b





[0;1;39mHint: You are currently not seeing messages from other users and the system.[0m
[0;1;39m      Users in groups 'adm', 'systemd-journal', 'wheel' can see all messages.[0m
[0;1;39m      Pass -q to turn off this notice.[0m
-- Journal begins at Tue 2021-01-05 10:07:03 IST, ends at Sat 2021-01-09 10:06:58 IST. --
Jan 09 10:06:27 Joker systemd[697]: Queued start job for default target Main User Target.
Jan 09 10:06:27 Joker systemd[697]: -.slice: Failed to migrate controller cgroups from /user.slice/user-1000.slice/user@1000.service, ignoring: Permission denied
Jan 09 10:06:27 Joker systemd[697]: Created slice User Application Slice.
Jan 09 10:06:27 Joker systemd[697]: Reached target Paths.
Jan 09 10:06:27 Joker systemd[697]: Reached target Timers.
Jan 09 10:06:27 Joker systemd[697]: Starting D-Bus User Message Bus Socket.
Jan 09 10:06:27 Joker systemd[697]: Listening on GnuPG network certificate management daemon.
Jan 09 10:06:27 Joker systemd[697]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Jan 09 10:06:27 Joker systemd[697]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Jan 09 10:06:27 Joker systemd[697]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Jan 09 10:06:27 Joker systemd[697]: Listening on GnuPG cryptographic agent and passphrase cache.
Jan 09 10:06:27 Joker systemd[697]: Listening on p11-kit server.
Jan 09 10:06:27 Joker systemd[697]: Listening on Sound System.
Jan 09 10:06:27 Joker systemd[697]: Listening on D-Bus User Message Bus Socket.
Jan 09 10:06:27 Joker systemd[697]: Reached target Sockets.
Jan 09 10:06:27 Joker systemd[697]: Reached target Basic System.
Jan 09 10:06:27 Joker systemd[697]: Reached target Main User Target.
Jan 09 10:06:27 Joker systemd[697]: Startup finished in 63ms.
Jan 09 10:06:58 Joker systemd[697]: Started D-Bus User Message Bus.

Last edited by kashishme (2021-01-09 05:02:18)

Offline

#14 2021-01-09 04:59:50

PPK
Member
From: Myanmar, Pyay, Aung San 5th
Registered: 2021-01-06
Posts: 4

Re: [SOLVED]stuck at startx

kashishme wrote:
Archlin wrote:

Apart from running startx as sudo which is a big nono.

Since your running startx from tty4 and  by default X runs on tty1, what happend when you switch to  tty1?
Do you have X or do you see an error in which case what is the error?

Also provide your ".xinitrc" please if you don't see a desktop at tty1 after 'startx' (as user).

here is xinitrc file
https://imgur.com/gallery/WceXvDa

What are you trying to do and I see default stuffs on your .xinitrc file

Offline

#15 2021-01-09 05:09:52

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]stuck at startx

PPK wrote:
kashishme wrote:
Archlin wrote:

Apart from running startx as sudo which is a big nono.

Since your running startx from tty4 and  by default X runs on tty1, what happend when you switch to  tty1?
Do you have X or do you see an error in which case what is the error?

Also provide your ".xinitrc" please if you don't see a desktop at tty1 after 'startx' (as user).

here is xinitrc file
https://imgur.com/gallery/WceXvDa

What are you trying to do and I see default stuffs on your .xinitrc file

wdym?

Offline

#16 2021-01-09 05:12:53

bergersau
Member
Registered: 2012-01-19
Posts: 52

Re: [SOLVED]stuck at startx

kashishme wrote:

sorry but what is tty exactly?? im rly bew so plz dnt get angry

A tty is a terminal session.  You can be logged into multiple sessions at once or have different users logged in to one system simultaneously on different tty's.

The easy way to switch between different tty's is the [Ctrl]+[Alt]+[Fx] Key combination, x being the tty number.  For example, to switch to tty2 use: [Ctrl]+[Alt]+[F2]

Also please use correct spelling and punctuation to make your questions readable.  These forums are a lasting resource for others to research problems and it very much helps everyone if you do not use text message abbreviated spelling.

Offline

#17 2021-01-09 05:19:17

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]stuck at startx

bergersau wrote:
kashishme wrote:

sorry but what is tty exactly?? im rly bew so plz dnt get angry

A tty is a terminal session.  You can be logged into multiple sessions at once or have different users logged in to one system simultaneously on different tty's.

The easy way to switch between different tty's is the [Ctrl]+[Alt]+[Fx] Key combination, x being the tty number.  For example, to switch to tty2 use: [Ctrl]+[Alt]+[F2]

Also please use correct spelling and punctuation to make your questions readable.  These forums are a lasting resource for others to research problems and it very much helps everyone if you do not use text message abbreviated spelling.

oh okay, will take care of abbreviations.
also i tried using different ttys even though i didn't know what they were, but still it won't work

Offline

#18 2021-01-09 05:22:28

loqs
Member
Registered: 2014-03-06
Posts: 19,040

Re: [SOLVED]stuck at startx

Did you read the link I posted in post #12?  Do you still not understand the relevance of the quote from that post after reading the linked wiki page?

Offline

#19 2021-01-09 05:26:20

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]stuck at startx

loqs wrote:

Did you read the link I posted in post #12?  Do you still not understand the relevance of the quote from that post after reading the linked wiki page?

i didn't get the file one, now i got it

Offline

#20 2021-01-09 05:26:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]stuck at startx

Arch is the wrong distro for you.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#21 2021-01-09 05:27:39

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]stuck at startx

loqs wrote:

Did you read the link I posted in post #12?  Do you still not understand the relevance of the quote from that post after reading the linked wiki page?

journalctl -b
http://ix.io/2LnZ

xinitrc file
http://ix.io/jmE

Offline

#22 2021-01-09 05:29:52

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]stuck at startx

jasonwryan wrote:

Arch is the wrong distro for you.

or mayb u can say it is a new distro for me?.
really sorry for the trouble i put u through, but can u please help now? no offense

Offline

#23 2021-01-09 05:39:17

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]stuck at startx

Ubuntu or Mint.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#24 2021-01-09 05:42:01

kashishme
Member
Registered: 2021-01-08
Posts: 175

Re: [SOLVED]stuck at startx

jasonwryan wrote:

Ubuntu or Mint.

funny?

Offline

#25 2021-01-09 05:48:58

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED]stuck at startx

kashishme wrote:
jasonwryan wrote:

Ubuntu or Mint.

funny?

No. Both are good distros for beginners.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB