SliTaz SliTaz Forum

You are not logged in.

#26 2012-02-10 20:24:19

genko
Member
Registered: 2012-02-05
Posts: 28

Re: Unexpected behavior when restarting Xwindows in Slitaz stable

@michaelbischof

Yes, I just tried.....after exiting Xwindows from tux's account and logging in as root, startx works fine for root. And with root I can CTRL-SHIFT-BACKSPACE as many times as I want, startx always restarts Xwindows for root. There is only a problem with tux and any other unprivileged user.

By the way, I can log in immediately into a user account added with adduser without any problems.

Offline

#27 2012-02-10 20:33:52

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: Unexpected behavior when restarting Xwindows in Slitaz stable

@genko

Then your problem is nearly solved. Can you tell us what hidden files you have in the newly created user account? .Xdefaults, .xsession and .Xauthority?

In case you have those in tux and the permissions are ok

ls -ll .xsession

should show

-rwxr--r-- michael michael

in my case then you have a straight login with tux as well.

Offline

#28 2012-02-10 20:48:16

Trixar_za
Administrator
Registered: 2011-03-29
Posts: 1,506

Re: Unexpected behavior when restarting Xwindows in Slitaz stable

Hmm. I think I see the problem in using my method. Echo will replace the line rather than append. So just use nano instead of echo and insert:

Xorg &

exec openbox-session

into the file manually. Then just save. Make it executable and try again. ivaman shouldn't complain about the lack of an x server now.

Oh and I might be an asshole, but atleast I admit it upfront and I actually do try to help you, even though I don't like you.

Offline

#29 2012-02-10 21:04:48

genko
Member
Registered: 2012-02-05
Posts: 28

Re: Unexpected behavior when restarting Xwindows in Slitaz stable

You're totally right Trixar.....funny thing that no one noticed this before.

The correct syntax is:

touch .xsession

echo 'Xorg &' > .xsession

echo exec openbox-session > .xsession

chmod u+x .xsession

startx

And now it all works fine! smile You see, all this trouble for a couple of missing ' '  ...

Why not like me Trixar ... and now that I'm beginning to like you....after all

with my questions in this and the other thread  I was able to help this project by

pointing to faulty stuff within slitaz...I'm making contributions after all....

Take care my friend....try to like me in the future if you can.. wink

Offline

#30 2012-02-10 21:31:01

michaelbischof
Member
Registered: 2012-01-20
Posts: 536

Re: Unexpected behavior when restarting Xwindows in Slitaz stable

OT -you are of Eastern European origin and your main profession is to collect money from people who did not want to pay?

,,Take care my friend....try to like me in the future if you can.. "

An offer that nobody can resist?

Offline

#31 2012-02-10 21:37:31

genko
Member
Registered: 2012-02-05
Posts: 28

Re: Unexpected behavior when restarting Xwindows in Slitaz stable

@michaelbischof

Hahaha that's very funny smile

Nope, just a kind invitation to Trixar...who knows, he might change his mind about liking me.... wink

Thanks for your help in trying to resolve this puzzle...much appreciated!

Offline

#32 2012-02-10 21:38:44

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Unexpected behavior when restarting Xwindows in Slitaz stable

Slitaz-3.0 iso will be 2 years old March 28

Cooking not backported to stable:

.xinitrc and .xsession were added to /etc/skel in slitaz-configs 13 months ago.

http://hg.slitaz.org/slitaz-configs/log?rev=xsession

Offline

#33 2012-02-11 12:29:32

genko
Member
Registered: 2012-02-05
Posts: 28

Re: Unexpected behavior when restarting Xwindows in Slitaz stable

@mojo

It is a fact that the slitaz iso for 3.0 stable currently available for download at http://mirror.slitaz.org/iso/3.0/slitaz-3.0.iso with checksum: 1f3c28d6818bf754c47f7b5fae7a74cf  slitaz-3.0.iso

is missing the /home/tux/.xsession file, as it has been discussed and confirmed in this

thread. Without this file, user tux cannot restart Xwindows after shutting it down.

I think it would be best that the missing .xsession file be added to the current iso

ASAP in order to correct this problem.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.54 MiB (Peak: 1.77 MiB) ]