2 questions for newbies


 
Thread Tools Search this Thread
Operating Systems Solaris 2 questions for newbies
# 1  
Old 10-29-2009
2 questions for newbies

Hi I'm totally new to solaris 5.9

Two questions.
1. What is the replacement for /proc/cpuinfo (isn't this part of POSIX). I heard it's psrinfo but it doesn't work.
2. I use ssh - v -X with X tunelling from linux onto a solaris server, but xclock failed. it says won't open display. $DISPLAY is empty, what should I do? I've seen other people using nedit so it's not a problem with the server's permission.

Everything is different in solaris, even the version of 'top' used in solaris 5.9 was written in 1996!. I wonder if solaris would start borrowing gnu ware without violating GPL.
# 2  
Old 10-29-2009
what distro os linux you use ???
# 3  
Old 10-29-2009
Quote:
Originally Posted by grossgermany
Hi I'm totally new to solaris 5.9
Solaris 9 is quite old though.
Quote:
1. What is the replacement for /proc/cpuinfo (isn't this part of POSIX). I heard it's psrinfo but it doesn't work.
/proc/cpuinfo is not part of POSIX, it is a Linux peculiarity.
Please clarify "psrinfo doesn't work" and tell what information you need.
Quote:
2. I use ssh - v -X with X tunelling from linux onto a solaris server, but xclock failed. it says won't open display. $DISPLAY is empty, what should I do? I've seen other people using nedit so it's not a problem with the server's permission.
If other people access the same server through ssh and have no problem tunneling X11, the problem is on your side, not on the server one. Double check how do they launch ssh and what DISPLAY variable they got (they might use unencrypted direct X11 protocol).
Quote:
Everything is different in solaris, even the version of 'top' used in solaris 5.9 was written in 1996!.
There was no version of top bundled with Solaris 9. The Solaris standard equivalent command is prstat. Someone installed it from some freeware repository.
Quote:
I wonder if solaris would start borrowing gnu ware without violating GPL.
What makes you think the GPL would be violated ? Many (most?) of the Gnu software was initially developed on Solaris (or previous SunOS releases) and current Solaris releases actually include a lot of GPL licensed software, not to mention Sun own or contributed software that is licensed under the GPL.
# 4  
Old 10-30-2009
Quote:
Originally Posted by solaris_user
what distro os linux you use ???
fedora core 3
# 5  
Old 10-30-2009
in Solaris restart ssh

Code:
svcadm restart ssh

why to you connect via terminal when you can easily connect via GUI

in fedora go to places and choose Connect to server

a new window will open -> choose under service type SSH -> under server name enter IP of Solaris

and new login screen will appear here enter your username and password -> clik on connect and a Solaris local disc will appear
# 6  
Old 10-30-2009
Quote:
Originally Posted by solaris_user
in Solaris restart ssh

Code:
svcadm restart ssh

why to you connect via terminal when you can easily connect via GUI

in fedora go to places and choose Connect to server

a new window will open -> choose under service type SSH -> under server name enter IP of Solaris

and new login screen will appear here enter your username and password -> clik on connect and a Solaris local disc will appear
..and all of that is easier than typing ssh -X hostname ?
Besides, if he can't connect via CL, chances are the GUI is not going to work either, so it is much better to troubleshoot in CL.
# 7  
Old 10-31-2009
Quote:
Originally Posted by solaris_user
in Solaris restart ssh

Code:
svcadm restart ssh

He is using Solaris 9 so that won't work. If I remember correctly restarting ssh can be done like that:

Code:
pkill -HUP sshd

Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

Print questions from a questions folder in a sequential order

1.) I am to write scripts that will be phasetest folder in the home directory. 2.) The folder should have a set-up,phase and display files I have written a small script which i used to check for the existing users and their password. What I need help with: I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies

2. UNIX for Dummies Questions & Answers

rsync tutorial for newbies

Hi. Learning rsync from the man pages can be daunting. I wrote this tutorial to make learning rsync easier: rsync tutorial (rsync2u) The rsync tutorial is for new rsync users. Three small backup examples thoroughly explain rsync --link-dest, --recursive, and --exlcude-from options. Enjoy. (2 Replies)
Discussion started by: wolfv
2 Replies

3. Programming

two questions

hey all, I have question when am writing simple shell... in the child am calling execvp, i want the parent to know when execvp returns - 1. how can i let the parent know the result of execvp thanks in advance (9 Replies)
Discussion started by: joey
9 Replies

4. UNIX for Dummies Questions & Answers

Newbies problem

Hi I am new to Unix and need help. How do I use the $@ in my script to direct the executing of commands on various files. Thanks curious greenhorn (8 Replies)
Discussion started by: greenhorn
8 Replies

5. UNIX for Dummies Questions & Answers

What kind of Linux for the newbies?

I am one of the newbies. I want to load linux on my notebook, however, i am not sure which linux is the most recommend for the newbies. Could you please advise? Thanks you very much for any advise you may give me. Best Regards, SANLEN (2 Replies)
Discussion started by: sanlen
2 Replies

6. UNIX for Dummies Questions & Answers

I am one of the newbies, please advise

I am new to UNIX and Linux. I have some experiences with Windows server. I am thinking to start with those OS (Unix/Linux) and more specifically with the OS for the server. however, i have no idea which one would i start first, unix or linux? Because i also dont know how they are different. ... (3 Replies)
Discussion started by: sanlen
3 Replies

7. Tips and Tutorials

PERL & CPAN Intro for Newbies

So you want to learn a unix scripting language that you'll be able to use in any situation? Perl is your answer ! This is a little intro to installing CPAN modules. If you don't know what CPAN is, check out http://search.cpan.org/. Basicly, it is a massive archive of perl libraries that will... (0 Replies)
Discussion started by: obitus
0 Replies

8. UNIX for Dummies Questions & Answers

Specially for unix newbies

Hi Everyone, I got a good news to unix newbies. If you want to try some unix command on your windows' desktop, I can recommend this program to u all. So you can practice unix command with your PC. It is something like using MS-DOS on desktop. Search "Cygwin 1.3.1" in www.download.com It... (2 Replies)
Discussion started by: clemeot
2 Replies
Login or Register to Ask a Question