---
title: "Poner DISPLAY automaticamente desde rlogin"
url: "https://victorfarina.com/tips/poner-display-automaticamente-desde-rlogin"
author: "CoffMan"
date: "2001-06-25"
category: "Administracion / Linux"
historical: "Nota técnica histórica: puede no aplicar a sistemas actuales"
---

# Poner DISPLAY automaticamente desde rlogin

para poner la variable display automaticamente cuando
entramos desde un rlogin (con csh) :

---------- copiar -------------
if (`who am i | wc -w` > 5) then
setenv display `who am i | cut -d"(" -f2 | cut -d")" -f1`:0.0
endif
---------- coiar --------------

varía segun el unix
