DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 24th December 2020
srivo srivo is offline
Port Guard
 
Join Date: Nov 2015
Location: Canada
Posts: 19
Default xenodm and Bash issue

I did a fresh install of OpenBSD 6.8 with xenodm and XFCE. Everything is working perfectly until I changed my user shell to bash! Once my shell is changed to bash I can't loggin anymore using xenodm.

Even if I remove bash go back to ksh and remove everything in my folder I still can't login! I add to delete my user and recreate it to be able to login again using xenodm.
Reply With Quote
  #2   (View Single Post)  
Old 24th December 2020
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bitchy Nerd Elitist
 
Join Date: Dec 2015
Location: London
Posts: 467
Default

How are you changing your login shell?

This works for me:
Code:
chsh -s /usr/local/bin/bash
Check /var/log/xenodm.log for any relevant error messages.
__________________
Are you infected with Wetiko?
Reply With Quote
  #3   (View Single Post)  
Old 25th December 2020
srivo srivo is offline
Port Guard
 
Join Date: Nov 2015
Location: Canada
Posts: 19
Default

I have used:
Code:
usermod -s bash
should the full path name be used?
Reply With Quote
  #4   (View Single Post)  
Old 25th December 2020
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bitchy Nerd Elitist
 
Join Date: Dec 2015
Location: London
Posts: 467
Default

Quote:
Originally Posted by srivo View Post
should the full path name be used?
Yes. You also need to add the username at the end but I think you already know that.

And for the record I was able to repair my user account with
Code:
# usermod -s /bin/ksh empty
(My username is "empty".)
__________________
Are you infected with Wetiko?
Reply With Quote
  #5   (View Single Post)  
Old 26th December 2020
srivo srivo is offline
Port Guard
 
Join Date: Nov 2015
Location: Canada
Posts: 19
Default

Thanks!
when I tried to comeback to ksh i did the same and that's why it didn't solve the problem.
Code:
usemod -s ksh srivo
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
xenodm crashes frequently andinus OpenBSD General 8 24th December 2020 12:40 PM
OpenBSD 6.8 arm64 Raspberry Pi 4 4GB xenodm Xfce TheTKS OpenBSD General 6 15th November 2020 06:02 PM
[OpenBSD] Customize Xenodm (background image , change keyboard , change xterm) jonsec OpenBSD General 23 26th June 2020 12:19 AM
xenodm on -current pegging cpu beavers OpenBSD General 1 24th July 2019 01:40 AM
Changing shell to bash rex FreeBSD General 13 29th August 2008 03:20 AM


All times are GMT. The time now is 12:48 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick