Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New installation desktop openrc
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Mon May 27, 2024 4:19 pm    Post subject: Reply with quote

NeddySeagoon

you are a STAR

dbus add to default make a login screen

~/.profile
dbus-launch --exit-with-session startplasma-wayland

did it

now kde start on /etc/init.d/display-manager restart


Thanks million times for all help Neddy

/borje
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54478
Location: 56N 3W

PostPosted: Mon May 27, 2024 4:23 pm    Post subject: Reply with quote

borje2,

All this time I thought you were trying to use Xorg.

Code:
dbus-launch --exit-with-session startplasma-wayland
is for Wayland, so Xorg is not used.

Never mind, you got there. Well done. :)
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Mon May 27, 2024 4:47 pm    Post subject: Reply with quote

Neddy

I have a problem I cannot log in as root

if I try I get into graphics every time

is there anything I can do I don't reach the root


any suggestions?


/Borje
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54478
Location: 56N 3W

PostPosted: Mon May 27, 2024 4:54 pm    Post subject: Reply with quote

borje2,

Do you have the correct keymap set?
When nobody is looking, put your password into the username space, so you can see it. Is it correct?

My use of wayland is limitded to 5 minutes on a Raspberry Pi5 to prove that the hardware worked.

Some things deliberately block root logins. Its a feature, not a bug.
I don't know if wayland does that.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1001
Location: Richmond Hill, Canada

PostPosted: Mon May 27, 2024 4:58 pm    Post subject: Reply with quote

borje2 wrote:
...

~/.profile
dbus-launch --exit-with-session startplasma-wayland

did it

...
I think this is the problem. If you keep the command in root/.profile you will always have this problem.
Back to top
View user's profile Send private message
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Mon May 27, 2024 5:08 pm    Post subject: Reply with quote

Neddy

keymap ok but I think locale is not ok

I can probably log in from livecd and change locale

if it help

/Borje
Back to top
View user's profile Send private message
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Mon May 27, 2024 5:24 pm    Post subject: Reply with quote

Pingtoo

do you know how I should do it in user?

I need keystroke very newbe


/Borje
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1001
Location: Richmond Hill, Canada

PostPosted: Mon May 27, 2024 6:20 pm    Post subject: Reply with quote

borje2 wrote:
Pingtoo

do you know how I should do it in user?

I need keystroke very newbe


/Borje


I don't understand "I need keystroke very newbe". Are you asking what command to use to remove the line in .profile?
Back to top
View user's profile Send private message
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Mon May 27, 2024 6:39 pm    Post subject: Reply with quote

Pingtoo

I understand the problem is the command in root/.profile (dbus-launch --exit-with-session startplasma-wayland)

what shall I do to fix the problem?

hope you understand me now

/Borje
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1001
Location: Richmond Hill, Canada

PostPosted: Mon May 27, 2024 6:46 pm    Post subject: Reply with quote

borje2 wrote:
Pingtoo

I understand the problem is the command in root/.profile (dbus-launch --exit-with-session startplasma-wayland)

what shall I do to fix the problem?


You can remove line or comment out the line. this way you should be able to login as root again.

I am not sure how to make display manager automatically start DE, I will do some research for that.
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1001
Location: Richmond Hill, Canada

PostPosted: Mon May 27, 2024 6:58 pm    Post subject: Reply with quote

Following up on my previous post about getting display manager function.

I think you can follow Gentoo wiki Display manager first then follow Gentoo wiki SDDM.

If you are unsure about those wiki instruction, please let us know how far in followed wiki and what conditions you were in, so we can in sync with you.
Back to top
View user's profile Send private message
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Mon May 27, 2024 6:58 pm    Post subject: Reply with quote

Pingtoo

Yes I can comment out that line

but then the display-manager did not start plasma-kde

I only get the login screen

when I try to login the login screen comes back

I been looking into /etc/ssh/ssh_config

a line PermitLocalCommand it say NO maybe I should change it to YES
but I am not sure if that is a good idea

/Borje
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1001
Location: Richmond Hill, Canada

PostPosted: Mon May 27, 2024 7:04 pm    Post subject: Reply with quote

borje2 wrote:
Pingtoo

Yes I can comment out that line

but then the display-manager did not start plasma-kde

I only get the login screen

when I try to login the login screen comes back

I been looking into /etc/ssh/ssh_config

a line PermitLocalCommand it say NO maybe I should change it to YES
but I am not sure if that is a good idea

/Borje
I am not sure what lead you to think ssh is involve, may be you can give us some idea on this.

I can be sure it is not ssh issue, so don't make changes to /etc/ssh/ssh_config just yet.

Please see my previous posts, use Gentoo wiki they should give you a goot start.
Back to top
View user's profile Send private message
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Mon May 27, 2024 7:14 pm    Post subject: Reply with quote

Pingtoo

ok I shall se what can be done

now time for sleep

good night and thanks for your suggestion

/Borje
Back to top
View user's profile Send private message
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Tue May 28, 2024 6:10 am    Post subject: Reply with quote

I did change in ~/.profile

dbus-launch --exit-with-session

and remove startplasma-wayland

display-manager works ok I could login on kdeplasma as user

I can also log in as root

I get this message when I log in as root:

DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/dbus-Zkhy5SqSFX,guid=c33acf453c64f21d69c0269b665573c3

DBUS_SESSION_BUS_PID=2332


and I have problem to type characters sometime I have to hit the key 3 times before I get any character


any suggestions?


/Borje
Back to top
View user's profile Send private message
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Tue May 28, 2024 6:40 am    Post subject: Reply with quote

I did a change in ~/.profile again

I remove --exit-with-session

so I have only

dbus-launch

now my typing is ok but still the DBUS message when log into root


/Borje
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1001
Location: Richmond Hill, Canada

PostPosted: Tue May 28, 2024 1:16 pm    Post subject: Reply with quote

borje2 wrote:
I did a change in ~/.profile again

I remove --exit-with-session

so I have only

dbus-launch

now my typing is ok but still the DBUS message when log into root


/Borje
Ideally dbus should not be launched from .profile. but I know nothing about dbus so I cannot say for sure. I guess your "login" session management missing something or you may not have "login" session manager installed. As far as I know usually there is "elogind" or something alike do this with systemd.
Back to top
View user's profile Send private message
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Wed May 29, 2024 7:54 am    Post subject: Reply with quote

pingtoo

thanks for info
I think something is wrong but I can use the system like this time been maybe I found a solution later on

I have elogind-246.10-r3 installed

not systemd

but I have sys-apps/systemd-utils-254.10-r1

and wayland which I don' t want I get when I install kde-plasma

/Borje
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1001
Location: Richmond Hill, Canada

PostPosted: Wed May 29, 2024 1:40 pm    Post subject: Reply with quote

borje2,

When you login as none root user, can you manually start X (kde)? As in start-kde (or whatever kde startup script)?
Back to top
View user's profile Send private message
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Wed May 29, 2024 2:10 pm    Post subject: Reply with quote

pingtoo

when I log in as usr I cannot startx kde did not start

https://bpa.st/HKDA

/Borje
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1001
Location: Richmond Hill, Canada

PostPosted: Wed May 29, 2024 2:28 pm    Post subject: Reply with quote

borje2 wrote:
pingtoo

when I log in as usr I cannot startx kde did not start

https://bpa.st/HKDA

/Borje
There could be multiple issues.

First, lets examine why "xauth: (argv):1: bad display name "pc:1" in "list" command" in your X log.

Do you have environment variable DISPLAY? if you do what is its value?
Back to top
View user's profile Send private message
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Wed May 29, 2024 3:27 pm    Post subject: Reply with quote

pingtoo

I don't know what environment variable display is I probably don't have it I don't know what it is

https://bpa.st/2VEQ


/Borje
Back to top
View user's profile Send private message
pingtoo
Veteran
Veteran


Joined: 10 Sep 2021
Posts: 1001
Location: Richmond Hill, Canada

PostPosted: Wed May 29, 2024 4:33 pm    Post subject: Reply with quote

A environment variable is a user-definable value that can affect the way running processes, please see wikipedia for detail

You can examine it by run shell command
Code:
env | grep DISPLAY


I just review past post and realise there are different issue/assumptions for your system. it seems to be that you have "something" build for "wayland" and "some other thing" build for X.

wayland and X is not exactly compatible but it is possible to make it work together.

So please decide which you want to use, wayland or X, or both.

for now please ignore the question "why "xauth: (argv):1: bad display name "pc:1" in "list" command". I got my answer from your past post, that you machine host name is "pc". There may have something helped that your environment variable setting automatically set it to use ":1" for X display. but this is not so relevant at this point, need to address the display system selection first.

we will need to know
Code:
emerge --info
in order to understand your current Gentoo/Portage setting, this will help to see what "something" may have build for wayland and that "some other thing" were for X.
Back to top
View user's profile Send private message
borje2
Apprentice
Apprentice


Joined: 19 Apr 2024
Posts: 195
Location: Gällivare

PostPosted: Wed May 29, 2024 6:51 pm    Post subject: Reply with quote

pingtoo

env | grep DISPLAY did nothing

I would like to use X but it seems like I get wayland when I emerge kde-plasma/plasma-meta

http://0x0.st/XN28.bin

https://bpa.st/WDQQ


/Borje
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4492
Location: Bavaria

PostPosted: Wed May 29, 2024 7:15 pm    Post subject: Reply with quote

pingtoo,

take a look at his USE-flags ... I have told him NOT to SET or UNSET any USE-flags ... because the desktop-plasma-profile will do all correctly ... but of course he did (see the last thread) ... Now he has disabled "wayland" globally WHICH IS WRONG ... I have given up to help because he always tried something which I did not said ... and did not what I said ...
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum