You are not logged in.

#1 2010-12-01 15:57:46

phoenix-ch
Member
From: Switzerland
Registered: 2010-12-01
Posts: 5

execute rdesktop after xorg init

Hello,

I want launch rdesktop after the xorg init, i try:
- /etc/rc{runlevel}.c method
- /etc/inittab => rdp:5:respawn/wait:/bin/usr/rdesktop {options...} (with a new entry in /boot/grub/menu.lst for the runlevel5)
- Edit /etc/rc.conf => DEAMON (+{myscript}) - and /etc/rc.d/myscript

(sorry for my bad english)

Thanks for yours replies
++

Offline

#2 2010-12-02 05:04:28

bharani
Member
From: Karaikudi, India
Registered: 2009-07-12
Posts: 202

Re: execute rdesktop after xorg init

Look at wiki.
https://wiki.archlinux.org/index.php/Au … plications

Last edited by bharani (2010-12-02 05:17:18)


Tamil is my mother tongue.

Offline

#3 2010-12-06 10:20:06

phoenix-ch
Member
From: Switzerland
Registered: 2010-12-01
Posts: 5

Re: execute rdesktop after xorg init

Hi, thanks for your reply

I try use ~/.xinitrc
so i create /home/user/.xinitrc
with content:

#!/bin/sh

/usr/bin/autocutsel -fork &

But it's doesn't work and Xorg doesn't start.

Any ideas?

Offline

#4 2010-12-06 10:50:20

bharani
Member
From: Karaikudi, India
Registered: 2009-07-12
Posts: 202

Re: execute rdesktop after xorg init

Have you run startx to start X?
In addition you need add atleast a terminal to .xinitrc  so that you can start other applications.


Tamil is my mother tongue.

Offline

#5 2010-12-06 10:59:30

phoenix-ch
Member
From: Switzerland
Registered: 2010-12-01
Posts: 5

Re: execute rdesktop after xorg init

I use /etc/inittab for start X (see on https://wiki.archlinux.org/index.php/Start_X_at_boot)

id:5:initdefault:
...
x:5:once:/bin/su toto -c '/usr/bin/startx >/dev/null 2>&1'

How i can use a terminal to start rdesktop automatically?

Offline

#6 2010-12-06 12:06:12

bharani
Member
From: Karaikudi, India
Registered: 2009-07-12
Posts: 202

Re: execute rdesktop after xorg init

You switch to tty2 and then run startx.


Tamil is my mother tongue.

Offline

#7 2010-12-06 14:07:30

phoenix-ch
Member
From: Switzerland
Registered: 2010-12-01
Posts: 5

Re: execute rdesktop after xorg init

Switch to tty2, sorry i don't understand the interest to do that.
I can run startx with tty1, my problem is start rdesktop after X initialisation automatically.

- boot
- Start X
- Run rdesktop
without user's interactions

thx

Last edited by phoenix-ch (2010-12-06 14:07:43)

Offline

Board footer

Powered by FluxBB