startX windows application during boot.....putty connection takes the windows


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers startX windows application during boot.....putty connection takes the windows
# 1  
Old 07-13-2011
startX during boot.....want to disable putty connection takes the windows

Dear all

i am new to linux/debian

i run my application on the computer...during startup in bashrc i wrk wid dis script to invoke startx..i do this above command and it works perfectly...
Code:
if [ -z "$DISPLAY" ] && [ $(tty) = /dev/tty1 ]; then
  startx -- -br 1>/dev/null
  exit 0
fi

i use winscp for file transfer and putty for remote terminal connections...so when i reboot my host computer during reboot process if i happen to connect putty remotely my startx is redirected to my remote computer putty screen,,,,which i does not want...

i want my startx to run only in my host computer...

please help

Reagrds
Venkat.s

Last edited by Franklin52; 07-13-2011 at 08:08 AM.. Reason: Please use code tags for code and data samples, thank you
# 2  
Old 07-13-2011
Code:
export DISPLAY=""

 
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Windows & DOS: Issues & Discussions

Connecting to UNIX from Windows without using putty

Hi Is there any command which we can try connecting unix from windows without using any third party tool. Thanks in advance KVB (9 Replies)
Discussion started by: bikky6
9 Replies

2. UNIX for Advanced & Expert Users

Use putty problems in windows

Hello all, I have encountered a strange question. I installed a Ubuntu 8.10 in the VMware in the XP, and use putty to connect to ubuntu. Everything is fun except I can't use the wget in putty, neither does command "sudo apt-get ***". But they are OK in the VM. Can someone help me out? Thank... (2 Replies)
Discussion started by: tpltp
2 Replies

3. Shell Programming and Scripting

Renaming putty windows with a shell script

i frequently have to open multiple putty windows to ssh into a unix server running HP-UX 11.23. Since i use some of the windows for dedicated processes i would like to rename them (the caption displayed in the titlebar) to something more convenient than the standard <Host>.<Server>.com While... (4 Replies)
Discussion started by: orno
4 Replies

4. Shell Programming and Scripting

Putty Input thru Windows

Hi anyone knows how to pass values to putty command prompt from MS windows. since i am have a shell script to get input of several lines. i dont want to type it rather than input values from some windows based application is there any way thanks in advance. (2 Replies)
Discussion started by: JACKDSOUZA
2 Replies

5. Red Hat

How to take printout of linux file from windows xp using putty?

Friends, I have installed Putty in my windows xp pc. I am connecting the RHEL AS 3 server using putty from my windows xp. My printer is connected to my windows xp. Now, i want to print text.txt of RHEL AS 3.0 in my windows xp printer through putty. For Example: my pc ip is 117.23.2.55... (3 Replies)
Discussion started by: sathyguy
3 Replies
Login or Register to Ask a Question