Sponsored Content
Top Forums UNIX for Advanced & Expert Users terminal 8/ new Xwindows session Post 69687 by moxxx68 on Tuesday 19th of April 2005 02:39:55 AM
Old 04-19-2005
terminal 8/ new Xwindows session

hi everyone...
simple question,,,
if I open a new Xwindows session on terminal 8 would it be possible to hook my laptop to a desktop computer platformed with linux and run an alternate session from the desktop on my laptop (on terminal 8 ) ......?
is this impossible, impractical or too far fetched or will it work?
moxxx68
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mac 10.4>terminal>linux remote server>ssh login accepted>session closed-why?

mac 10.4>terminal>linux remote server>ssh login accepted>session closed-why? AHHHH!! I have been connecting to the server with the line: ssh userid@website.com The remote server accepts my password; logs me in with ssh; posts a lovely welcome message AND closes the session. Is this a "term... (0 Replies)
Discussion started by: xprankard
0 Replies

2. UNIX for Dummies Questions & Answers

How to rename Xterm terminal in VNC session

Hi All, We are using VNC viewer to login to remote server. Remote server is running with Red Hat linux 3.0. Our problem is, we are unable to rename xterm terminal so is there any way we can rename? Thanks a lot in advance for your valuable inputs. Regards, Bachegowda (0 Replies)
Discussion started by: bache_gowda
0 Replies

3. Shell Programming and Scripting

Running a script without a terminal session

I'm trying to figure out how I can run a script "myScript.sh" in such a way that if my remote network connection gets disconnected, the script doesn't stop functioning. Right now I log in, run "./myScript.sh" and watch my output get pumped to a log file for about 10 hours. Only problem is that... (3 Replies)
Discussion started by: jjinno
3 Replies

4. Solaris

I am not able to login in gnome session and java session in Sun solaris 9& 10

I am not able to login in gnome session and java session in Sun solaris 9& 10 respectively through xmanager as a nis user, I am able to login in common desktop , but gnome session its not allowing , when I have given login credentials, its coming back to login screen, what shoul I do to allow nis... (0 Replies)
Discussion started by: durgaprasadr13
0 Replies

5. OS X (Apple)

Manipulate terminal session background color

Greetings, I know I can manipulate from AppleScript to terminal.app or just run commands from apple script. But what about from a BASH Script. when A user logs in and runs a maintenance utility I have written for them, I want to modify their background color and text color. example; ... (4 Replies)
Discussion started by: doctorfoo1
4 Replies

6. Shell Programming and Scripting

How to Capture a Unix Terminal Session?

Hi All, I want to capture all the operations performed in the terminal. So to achieve this I used “script” command. This works as I expected. But this command captures all the standard output which is redirected to terminal. For example if i “tail” a file, even the tail output is getting... (2 Replies)
Discussion started by: kalpeer
2 Replies

7. AIX

HMC login - Command line and terminal session

Hi Admins, Just a small question - Can we have multiple session for single user on HMC. e.g. Can I have a terminal session (via IE ) and command line (ssh) at same time ?? I am not sure whether it will impact HMC system or not. So want to make sure. let me know folks. Thanks (3 Replies)
Discussion started by: snchaudhari2
3 Replies

8. AIX

[Solved] Find command hangs my terminal session

Hello every one. I know little to nothing about AIX. Recently I have been assigned to an AIX project. For some reason or another the find command is hanging the server. Well it does not hand server per say, it just freezes my terminal session. after running find, I waited up to 40 min and... (3 Replies)
Discussion started by: busi386
3 Replies

9. UNIX for Beginners Questions & Answers

How are environment variables defined in a Gnome terminal session?

Hello... and thanks in advance for any help anyone can offer me with my question! I'm hoping someone will have a little patience with me and walk me through this! I'm trying to understand a user login process on Centos 7 and I've gotten a bit confused trying to figure out when/how a Gnome... (4 Replies)
Discussion started by: bodisha
4 Replies
TCSETSID(3)						   BSD Library Functions Manual 					       TCSETSID(3)

NAME
tcsetsid -- set session ID associated with a controlling terminal LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <sys/types.h> #include <termios.h> int tcsetsid(int fd, pid_t pid); DESCRIPTION
The tcsetsid() function sets associates a session identified by pid with a controlling terminal specified by fd. This implementation only allows the controlling terminal to be changed by the session leader itself. This implies that pid always has to be equal to the process ID. It is unsupported to associate with a terminal that already has an associated session. Conversely, it is also unsupported to associate to a terminal when the session is already associated with a different terminal. ERRORS
If an error occurs, tcsetsid() returns -1 and the global variable errno is set to indicate the error, as follows: [EBADF] The fd argument is not a valid file descriptor. [ENOTTY] The file descriptor represented by fd is not a terminal. [EINVAL] The pid argument is not equal to the session ID of the calling process. [EPERM] The calling process is not a session leader. [EPERM] The session already has an associated terminal or the terminal already has an associated session. SEE ALSO
getsid(2), setsid(2), tcgetpgrp(3), tcgetsid(3) HISTORY
A tcsetsid() function first appeared in QNX. It does not comply to any standard. BSD
May 4, 2009 BSD
All times are GMT -4. The time now is 03:43 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy