Sponsored Content
Top Forums UNIX for Dummies Questions & Answers need help with cygwin installation Post 62995 by luke on Tuesday 22nd of February 2005 06:31:45 AM
Old 02-22-2005
Running ssh, X under Cygwin

Make sure you install every package you need: there are lots now - maybe 1.5GB of software!

On the screen that lets you choose packages, if you click on the icon to the right of "All" category, or on the word "Default", you can change "Default" to "Instal;l", which means install everything.

You need to have passwords and groups set up properly.
Run "mkpasswd -l > /etc/passwd; mkpasswd -d >> /etc/passwd"
Also run "mkgroup -l > /etc/group; mkgroup -d >> /etc/group"

Run the script: ssh-host-config to configure ssh.

Use ssh -Y when logging into a Unix system, not ssh -X.

When you're starting X, there are more options than in a normal Unix system. In particular, -multiwindow means use Windows as your window manager - so if you have another window manager in your ~/.xinitrc file, it'll bail out.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Cygwin

Hi , I have cygwin software on my machine. can i practice shell script on that software or not? thanks sam71 (0 Replies)
Discussion started by: sam71
0 Replies

2. UNIX for Dummies Questions & Answers

Cygwin

Hi , I have software CYGWIN . Can i practice for shell script on that? Thanks sam71 (1 Reply)
Discussion started by: sam71
1 Replies

3. Solaris

installation of Solaris: installation bypasses network config.

hello solaris friends, I've tried installing Sun Solaris 10.0, but everytime it seems to bypass the network config. screen that looks similar to this...here's the url: http://www.hup.hu/old/images/hup/Solaris/Sol10beta7/9.png I'm able to install it all the way through but I get no... (2 Replies)
Discussion started by: cadmiumgreen
2 Replies

4. UNIX for Dummies Questions & Answers

Cygwin packages installation page

Hihi, another question for Cygwin gurus... While im installing, there are many packages that can be installed. Beside each packages, there are three columns: status Keep, Reinstall, Uninstall, Source bin? "blank", "cross", "n/a" src? "blank',... (1 Reply)
Discussion started by: Suraine
1 Replies

5. UNIX for Dummies Questions & Answers

Cygwin installation problem

hihi, im new here. just start to use cygwin as unix-based in Windows XP. my installation of cygwin is not success, it has procedure entry_impure_ptr problem due with ash.exe, install_info.exe, and In-exe files. do anyone know why is that so? (3 Replies)
Discussion started by: Suraine
3 Replies

6. UNIX for Dummies Questions & Answers

Cygwin X

I have managed a successful install of Cygwin (after a few tries), and like any sensible person am ignoring the console in favour of the xconsole. I have this set up how I want - tcsh, all hot-keys (including ^z for suspend) and et cetera, but find it awfully slow. Are there any good... (7 Replies)
Discussion started by: fulgura
7 Replies

7. Shell Programming and Scripting

opening new instance of cygwin from withing cygwin

I'm using cygwin on win7, What I would like to do is something like this: cygstart cygwin tail -f /foo/test.log | perl -pe 's/error/\e I know I can start a new instance using either of these: mintty -e ... cygstart tail ... But neither of those open in ANSI mode, so I can't do... (0 Replies)
Discussion started by: Validatorian
0 Replies

8. UNIX for Dummies Questions & Answers

Oracle installation on cygwin

Can someone help in Oracle installation on cygwin (2 Replies)
Discussion started by: Uinx_addic
2 Replies

9. Solaris

Solaris 10 flash installation - fatal error. Solaris installation program exited.

Not very helpful to say the least. Seems to read the flar file and go through the upgrade and then come up with this error. Any ideas? (1 Reply)
Discussion started by: psychocandy
1 Replies
newgrp(1)						      General Commands Manual							 newgrp(1)

NAME
newgrp - change effective group ID sg - execute command with different group ID SYNOPSIS
newgrp [-l] [group] sg group -c command DESCRIPTION
The newgrp command changes the user's real and effetive group ID by replacing the current shell with a new shell. A new shell is launched even if an error occours. A password is requested if the group has a password and the user is not listed in the group file as being a member of that group. The pass- word can be changed with the gpasswd(1) command. If the new effective group ID is not in the supplementary group list, newgrp will add the new group ID to the supplementary list, too. With no operands and options, newgrp changes the user's group IDs (real and effective) back to the group specified in password and group file. The sg command works like the newgrp command, except that it executes the given command with /bin/sh and upon exit the group ID of the cur- rent shell is not changed. OPTIONS
-l, --login reinitialize the environment as if the user logged in. --help Print a help list. -u, --usage Print a short usage message. -v, --version Print program version. SEE ALSO
gpasswd(1), group(5), passwd(1), passwd(5), su(1) AUTHOR
Thorsten Kukuk <kukuk@suse.de> pwdutils April 2004 newgrp(1)
All times are GMT -4. The time now is 12:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy