The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux
.
google unix.com



Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
kill user session fsmadi SUN Solaris 10 08-04-2007 09:44 AM
sftp problem with user id of no telnet session allowed superdougl UNIX for Advanced & Expert Users 2 10-30-2006 10:28 AM
Deleting a user session jbrubaker UNIX for Dummies Questions & Answers 7 07-06-2006 12:01 PM
User login session Docboyeee UNIX for Advanced & Expert Users 1 11-10-2002 07:12 PM
making the application session independent bokhari_jawad Filesystems, Disks and Memory 2 11-06-2002 12:03 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-05-2008
Sivaswami's Avatar
Sivaswami Sivaswami is offline
Registered User
  
 

Join Date: Mar 2007
Location: India
Posts: 62
Launch application in gnome session of another user.

A gnome session is launched by UserA of System A, I am connected to userB of System B(or A) through PUTTY. I want to launch an application for eg: gedit through Putty in the display of system A. how can I achieve this.
for eg:-
root is logged in to System A, with gdm.
DISPLAY=0.0, ip = aa.aa.aa.aa

User Sivam is logged into putty console.
He has to launch gnome-terminal in root's session using putty..

what are the configurations steps to be taken.
  #2 (permalink)  
Old 08-05-2008
ynilesh's Avatar
ynilesh ynilesh is offline
Registered User
  
 

Join Date: Oct 2007
Location: Bangalore, India.
Posts: 222
Did you try to use different DISPLAY? Set different display on second console and try like DISPLAY=0:1
  #3 (permalink)  
Old 08-05-2008
redoubtable redoubtable is offline
Registered User
  
 

Join Date: Aug 2008
Location: Portugal
Posts: 242
Try doing:

su - USER_A -c "xauth add `xauth list :0.0`; DISPLAY=:0.0 program-you-wish-to-launch"
  #4 (permalink)  
Old 08-06-2008
Sivaswami's Avatar
Sivaswami Sivaswami is offline
Registered User
  
 

Join Date: Mar 2007
Location: India
Posts: 62
how about using ssh with another machine ( user on another machine ) and launching an application from that.
  #5 (permalink)  
Old 08-06-2008
redoubtable redoubtable is offline
Registered User
  
 

Join Date: Aug 2008
Location: Portugal
Posts: 242
If X is running on the machine where you ssh to:

Code:
DISPLAY=:0.0 XAUTHORITY=/home/user_running_X_on_the_display/.Xauthority your-program
Closed Thread

Bookmarks

Tags
gnome another user putty x display

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:29 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0