Bionic64: How do you restore X if you log out from prompt

Issues and / or general discussion relating to Puppy

Moderator: Forum moderators

Post Reply
User avatar
vtpup
Posts: 745
Joined: Sat Aug 15, 2020 2:34 pm
Location: Republic of Vermont
Has thanked: 198 times
Been thanked: 171 times
Contact:

Bionic64: How do you restore X if you log out from prompt

Post by vtpup »

Probably a dumb question:

If I shut down Bionic64 frugal to prompt, and then type "logout" I'm logged out.

When I try to log back in and execute "xwin", X doesn't start up again, it just returns to the prompt after a few advisory messages about how to restart X, none of which work. Am I really logged in again as root?

If you test this please don't do it on a working installation -- use a disposable sandbox install.

thx.

HP Envy Laptop 17t-cr100
Fossapup F-96 CE rev 4
Huge kernel: huge-6.1.8-fossapup64

My homemade foam boat:
www.youtube.com/watch?v=4sDubB0-REg

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: Bionic64: How do you restore X if you log out from prompt

Post by bigpup »

Try login.

If asked for password.
It is woofwoof

You may just have to do a reboot.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
vtpup
Posts: 745
Joined: Sat Aug 15, 2020 2:34 pm
Location: Republic of Vermont
Has thanked: 198 times
Been thanked: 171 times
Contact:

Re: Bionic64: How do you restore X if you log out from prompt

Post by vtpup »

Thanks Bigpup. Nope I tried that already and didn't work. Also tried changing the password with "passwd" which was successful, and then logging in. Also reported as successful. But "xwin" does nothing, "xwin -default" does nothing, choosing "xorgwizard" and choosing the default config (choice 4) does nothing. Typing "poweroff" does shut down the computer but rebooting produces the same command line loop just before the desktop would normally come up.

I should add that the reason I logged out in the first place was to test Xrdp, since it won't let a client log in to a remote desktop if the same user is already logged in. My thought was to log out of root before trying to log in through the remmima client from another machine. This was tried, and the remote login wasn't successful. But also I am locked out of X in this loop scenario.

HP Envy Laptop 17t-cr100
Fossapup F-96 CE rev 4
Huge kernel: huge-6.1.8-fossapup64

My homemade foam boat:
www.youtube.com/watch?v=4sDubB0-REg

williwaw
Posts: 1938
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 170 times
Been thanked: 368 times

Re: Bionic64: How do you restore X if you log out from prompt

Post by williwaw »

vt

can you obtain a different virtual terminal session with ctrl-alt F3 or similar? It might be easier than logging out of the default terminal.

some pointers here

https://forum.puppylinux.com/viewtopic.php?t=6335

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: Bionic64: How do you restore X if you log out from prompt

Post by bigpup »

Try xwin jwm

Do not use poweroff
Use wmpoweroff

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
mikewalsh
Moderator
Posts: 6154
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 792 times
Been thanked: 1979 times

Re: Bionic64: How do you restore X if you log out from prompt

Post by mikewalsh »

@vtpup :-

Tried "xwin jwm"? That's what I do, and it's never failed to work for me. Mind you, I've never actually 'logged out', either - at least, not manually - so this is kind of unfamiliar territory for me..!

Just a thought.

Mike. ;)

User avatar
vtpup
Posts: 745
Joined: Sat Aug 15, 2020 2:34 pm
Location: Republic of Vermont
Has thanked: 198 times
Been thanked: 171 times
Contact:

Re: Bionic64: How do you restore X if you log out from prompt

Post by vtpup »

Guys I'll try all of your solutions shortly, but just wanted to report back first that this DOES seem tied to the failed attempt to login under Xrdp. To check that, I did a clean install of Bionic64, created a savefile (with no Xrdp) and did the same logout procedure I had before. xwin instantly restored the desktop from prompt, even after logout.

So it seems that Xrdp failing to transmit a working desktop after an attempted client login, is nevertheless somehow blocking the normal puppy desktop -- at least for root.

Okay....back to your suggestions.....

HP Envy Laptop 17t-cr100
Fossapup F-96 CE rev 4
Huge kernel: huge-6.1.8-fossapup64

My homemade foam boat:
www.youtube.com/watch?v=4sDubB0-REg

User avatar
vtpup
Posts: 745
Joined: Sat Aug 15, 2020 2:34 pm
Location: Republic of Vermont
Has thanked: 198 times
Been thanked: 171 times
Contact:

Re: Bionic64: How do you restore X if you log out from prompt

Post by vtpup »

Well guys, none of the above worked. (I'd already tried "xwin jwm" and "xwin -default jwm")

Looks to be well and truly locked out. I'm definitely root, but no way to start a desktop session using the standard methods.

This isn't a big problem since it was a testing installation of BP64 anyway. But well it does show up why Xrdp will likely be unsuitable for Puppy. Xrdp as we have it from the Ubuntu binary repos absolutely needs another user besides root, even for testing. With only one user, root, Puppy would have to be in a command line state with root not logged in. But even when root logs out, it really isn't.

Now whether Xrdp compiled for Puppy would show the same behavior, I don't know. As I understand it, a compiled version with the proper choices can fork multiple desktops, and also can have more than one user/desktop. Sound also can be compiled in. The basic problem for Puppy is that the Ubuntu binary is unsuitable.

HP Envy Laptop 17t-cr100
Fossapup F-96 CE rev 4
Huge kernel: huge-6.1.8-fossapup64

My homemade foam boat:
www.youtube.com/watch?v=4sDubB0-REg

User avatar
bigpup
Moderator
Posts: 6983
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 903 times
Been thanked: 1522 times

Re: Bionic64: How do you restore X if you log out from prompt

Post by bigpup »

Maybe you need to use this:
https://github.com/neutrinolabs/xorgxrdp

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
vtpup
Posts: 745
Joined: Sat Aug 15, 2020 2:34 pm
Location: Republic of Vermont
Has thanked: 198 times
Been thanked: 171 times
Contact:

Re: Bionic64: How do you restore X if you log out from prompt

Post by vtpup »

Yup saw that yesterday, BP.

HP Envy Laptop 17t-cr100
Fossapup F-96 CE rev 4
Huge kernel: huge-6.1.8-fossapup64

My homemade foam boat:
www.youtube.com/watch?v=4sDubB0-REg

User avatar
wizard
Posts: 1973
Joined: Sun Aug 09, 2020 7:50 pm
Has thanked: 2635 times
Been thanked: 685 times

Re: Bionic64: How do you restore X if you log out from prompt

Post by wizard »

@vtpup

What about creating another user and using that for your xrdp login?

wizard

Big pile of OLD computers

williwaw
Posts: 1938
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 170 times
Been thanked: 368 times

Re: Bionic64: How do you restore X if you log out from prompt

Post by williwaw »

vtpup wrote: Sat Aug 27, 2022 11:51 pm

With only one user, root, Puppy would have to be in a command line state with root not logged in. But even when root logs out, it really isn't.

what happened when you logged out of your second virtual terminal and tried to log back in?

I was able to run apps as no user at all, ie without logging back in. of course there are no user specific configs, and just the default configs will prevail. (not all that useful for some apps)

re: multiple users
one user can be logged on in a virtual terminal, while another user can logged on in a different virtual terminal. one can switch back and forth without logging out of either (one being the desktop, for instance)

User avatar
vtpup
Posts: 745
Joined: Sat Aug 15, 2020 2:34 pm
Location: Republic of Vermont
Has thanked: 198 times
Been thanked: 171 times
Contact:

Re: Bionic64: How do you restore X if you log out from prompt

Post by vtpup »

Thanks Wizard, Williwaw.

Williwaw, I tried your initial suggestion yesterday -- it didn't change the locked out of creating a desktop loop. I didn't try multiple users.

Guys, Sorry to say I've got to pay attention to other things at this point than xrdp on puppy. Kitchen ceiling to be painted, wood to be split for winter, etc. My family misses any form of conversation out of me for a week, and the dog no longer recognizes me as a member of the household.

I would like to see xrdp running on puppy if someone else wants to carry the torch further. Right now xrdp on ubuntu works in combo with remmina on puppy, with sound. Anydesk runs on puppy without sound. Any advances on solving the Xrdp on puppy, or Anydesk with sound on Puppy would be of interest to the community, I'm sure, I just can't pursue those further for the present.

HP Envy Laptop 17t-cr100
Fossapup F-96 CE rev 4
Huge kernel: huge-6.1.8-fossapup64

My homemade foam boat:
www.youtube.com/watch?v=4sDubB0-REg

Post Reply

Return to “Users”