12-07-2012
Save the output of a command to a file in your home dir:
ls -a >> ~/myfile.txt
So, what did not work with the last suggestions? If you can get to a shell command prompt and login,
("I switched to terminal (tty1 ~ tty6), which looked fine and showed it is Ubuntu 12.04 !")
you should be able to have success with "startx" to bring up a GUI desktop, OR it should give error output. If you can't login to a shell, then that's another story.
10 More Discussions You Might Find Interesting
1. HP-UX
Hi, Haveing a little trouble with data protector (5.5) on HP-UX (11.11, 11.23)
under Xwindows Chameleon UNIX 97 (7.0 - its a old version)
I am trying to get the GUI for DP up and running on a HP-UX cell manager and I have the following problem.
The GUI starts up with no errors that I can... (2 Replies)
Discussion started by: Andrek
2 Replies
2. Solaris
Hello.
I had installed solaris 10 in morning , and all was running fine... I just logged out and logged in with another user ID oracle - It got stuck and then I pressed the button for restart.
Now I see only word GRUB written in top line rest everything is black.
What to do? (2 Replies)
Discussion started by: panchpan
2 Replies
3. Solaris
Hi All,
I have a solaris machine that powers up and displays a blank screen?
All the keyboard, monitor and mouse are plugged in. It was booting fine before and when it was disconnected and re-connected (mouse/keyboard/monitor) it just powered on and came up with a blank screen.
Please... (5 Replies)
Discussion started by: tlee
5 Replies
4. Solaris
Hello
I'm new in sun and i have a liitle problem.
I buy sun enterprise 420r and connect keyboard and monitor crt (non Sun).
But when i start server i have blank screen on crt. I'm new in sun servers and i dont know why its doin this. (11 Replies)
Discussion started by: elmik
11 Replies
5. Shell Programming and Scripting
Dear Member,
OLD Question --> disable-completion not solved
My bash Menu script ping process problem.
If ping still running and users press SCREEN is Blank...
Cant Members help me.. kill signal or others scripting for my case, btw i use Linux..
Thanks,
Rico
My Bash Script :
... (1 Reply)
Discussion started by: carnegiex
1 Replies
6. Solaris
I have a SunFire V490
Recently when the server is rebooted the screen goes blank from when the CDE is shutdown to when it is started up again.
Has anyone got any ideas what might be causing this?
I've had a quick look in messages but can't find anything in there. I've had a look at... (2 Replies)
Discussion started by: sonic72
2 Replies
7. AIX
hello,
i am trying to test connection to a 5.3 box. from an xp machine, telnet connects but shows only a blank screen. cursor moves as i type, but no response back.
have used telnet, putty and accuterm - all same result
verified that telnet services are active in xp
xp windoze firewall is... (10 Replies)
Discussion started by: allenhibbert
10 Replies
8. Ubuntu
Hello All,
I have installed VNC Server on Ubuntu system to access this system from windows machine i'm using VNC Viewer.
When i logged off the server from windows machine through VNC Viewer its showing blank screen only...
Kindly help.
Regards,
Purushottam Aher (0 Replies)
Discussion started by: purushottamaher
0 Replies
9. Solaris
we are using sun solaris sunfire v445, yesterday improperly shutdown the server
and now while restart the system show a screen which is blank and the hard disc drive indicator light is also not glowing. (10 Replies)
Discussion started by: mrdb
10 Replies
10. HP-UX
Hi,
I have this Unix script that kills a user session. When I run it, my screen goes blank. How do I prevent the blank screen?
Ex: I open 2 Unix sessions. The main PID for my 1st session is 1234. In the second session I issue a "kill -HUP 1234". The first session gets killed but the second... (5 Replies)
Discussion started by: rm-r
5 Replies
CHSH(1) User Commands CHSH(1)
NAME
chsh - change login shell
SYNOPSIS
chsh [options] [LOGIN]
DESCRIPTION
The chsh command changes the user login shell. This determines the name of the user's initial login command. A normal user may only change
the login shell for her own account; the superuser may change the login shell for any account.
OPTIONS
The options which apply to the chsh command are:
-h, --help
Display help message and exit.
-R, --root CHROOT_DIR
Apply changes in the CHROOT_DIR directory and use the configuration files from the CHROOT_DIR directory.
-s, --shell SHELL
The name of the user's new login shell. Setting this field to blank causes the system to select the default login shell.
If the -s option is not selected, chsh operates in an interactive fashion, prompting the user with the current login shell. Enter the new
value to change the shell, or leave the line blank to use the current one. The current shell is displayed between a pair of [ ] marks.
NOTE
The only restriction placed on the login shell is that the command name must be listed in /etc/shells, unless the invoker is the superuser,
and then any value may be added. An account with a restricted login shell may not change her login shell. For this reason, placing /bin/rsh
in /etc/shells is discouraged since accidentally changing to a restricted shell would prevent the user from ever changing her login shell
back to its original value.
FILES
/etc/passwd
User account information.
/etc/shells
List of valid login shells.
/etc/login.defs
Shadow password suite configuration.
SEE ALSO
chfn(1), login.defs(5), passwd(5).
shadow-utils 4.5 01/25/2018 CHSH(1)