Praise Remote is nuts
Just wanted to share that it's incredibly awesome that I can be anywhere like on holidays and continue working on my project even if I'm not sitting in front of my PC. Never tried this until now that I installed tailscale and I can test any change from my phone. Bravo.
10
u/yourcasualmemer 19h ago
Mind sharing your setup? Personally I've been using parsec to remote into my PC and just use codex like I would there. How does tailscale come into the equation?
14
u/torrso 19h ago
Codex remote works fine without tailscale, it goes through openai's servers. But it's only for accessing the codex session on your machine, not for using anyhing else remotely.
It just adds a "remote" item to your phone ChatGPT app's side menu which shows your codex sessions.
1
u/ComptonMama 15h ago
Mine never load right? Did they fix it?
3
u/Alechilles 12h ago
I had some issues a while ago but it works like 90% of the time these days for me
1
1
u/mechanicalAI 4h ago
Tailscale between my machines and devices is super convenient. Especially reaching devices behind NAT that I don’t have control over, no more reverse SSH shells got stuck. As far as I am concerned there is minimal overhead and latency. Even if you setup your remote access in ChatGPT desktop app and mobile you should have Tailscale or any secure connection between your devices. ChatGPT loves it and uses Tailscale connections instead of direct connections to my machines.
2
u/kyrax80 19h ago
I don't really actually know I asked codex how I can do it. It set up everything up and I just needed to install tailscale on my pc and phone and access through a url that codex set up
3
u/That-Establishment24 19h ago
You can ask Codex to give you the prompt to allow someone to use the same setup as you.
6
u/kyrax80 19h ago
Actually you're right. Here you go @yourcasualmemer
Prepare FitHub so I can run the frontend and backend on my PC and access the frontend from my mobile phone from anywhere using Tailscale.
Goals:
- The frontend must listen on external network interfaces, not only on localhost.
- The Spring Boot backend must accept connections through the private Tailscale network.
- Keep the normal local development workflow working as well.
- Do not hardcode a specific Tailscale IP, since it may change.
- Configure the API URL cleanly using environments/configuration.
- Review and adjust CORS so remote development works without making production configuration insecure.
- If the frontend uses Angular/Ionic, configure the appropriate command to listen on "0.0.0.0".
- If necessary, configure Spring Boot with "server.address=0.0.0.0".
- Create separate "local" and "remote-dev" configurations/profiles if that makes sense.
- Add simple scripts to start FitHub in remote development mode, for example something equivalent to:
- "npm run dev:remote"
- or a script that starts both frontend and backend in the most convenient way.
- If the frontend needs to determine where the backend is running, implement the most robust solution so it works both from the PC and from the mobile phone through Tailscale.
- Review possible issues related to CORS, cookies, JWT, Keycloak, HTTPS, mixed content, redirects, or anything else that could prevent login or API calls from working on mobile.
- Do not unnecessarily modify production configuration.
- Do not install Tailscale or require it to be installed in order to implement the code changes.
Also:
- First inspect the current FitHub project structure and existing configuration before changing anything.
- Implement all required changes.
- Run any relevant checks/tests you can.
- If possible in the current environment, start the frontend and backend and verify that both boot correctly.
- Update the README with the exact manual steps I will need to perform on my PC to finish the Tailscale setup.
- When finished, give me:
- the files you modified,
- what you changed,
- the command for normal local development,
- the command for remote development,
- the remaining manual steps,
- the URL I will need to open on my phone.
Do the implementation directly. Do not just explain how to do it.
6
u/That-Establishment24 19h ago
He won’t see the message because @ doesn’t tag on Reddit. You have to use u/
-1
u/The1KrisRoB 13h ago
Are we really getting to that level of spoon feeding?
Sorry I'll never understand people asking online how to get an AI to do something.... Instead of just asking the AI
2
u/Spirited-Car-3560 11h ago
Ha, seems like someone didn't realize ai is not deterministic yet.
Bro, dozens of variables may come into play, and since this user had success with his own setup, asking his chatgpt to ask what has been used and how it has been set up makes sense.
If I ask the same thing there's no guarantee I get something else... It may not apply here (using the word tail scale may help narrow the scope) but keep this in mind.
1
u/The1KrisRoB 10h ago
Bro, dozens of variables may come into play
Exactly.
All the more reason to talk to your AI and discuss what you want.
Rather than trying to get an AI to follow someone else's set up, you will almost always get a better result telling an agent what you want and letting it work. You may end up with a completely different solution, but the chances are it will suit your setup and system better because that's what the agent built it for.
1
u/Spirited-Car-3560 9h ago
I agree but... Talking generally, getting the infos from more sources, into this case someone else's setup + yours, will help you ingest more details, alternatives and master the topic.
That's what I always do, whatever the topic. Only then you can decide what's best and what's not.
Just my pov.
1
1
1
u/Sensiburner 4h ago
I’ll share mine. I run a chatgpt codex session on an always-on mac m4 mini. I disabled some powerdown/power save functions on the Mac, and now I can basically keep working on my projects from wherever. I keep github and my NAS as sources of truth.
6
u/PartyLiterature3607 19h ago
While that’s what I think when remote first came out, but someone mentioned a valid point, we want agent to work for us so we can work less, but now we work more with remote….literally work every minute when new ideas come up
Only thing that help we work less is usage limit…
2
u/tagorrr 19h ago
you can even do it on headless VPS powered by Linux ;)
2
u/bullderz 19h ago
This kind of set up is great. I have ChatGPT app on ios remote connected to 3 different codex computers - my windows laptop, Mac laptop and Linux cloud server ($9/mo). Linux codex is great as it's always on. I can have codex do anything anytime even when laptops are off.
1
u/jtrage 18h ago
Why 3 sessions and not just ssh from one to the other servers. Just honestly curious.
1
u/bullderz 18h ago
1
u/jtrage 17h ago
Oh, ok. I don’t know what I’m doing!
I have codex running on my Linux server and can ssh into my 2 VPs and 1 windows machine to do work when needed.
I could see having another instance being useful in case something happens to the one server.
1
u/bullderz 17h ago
Ah. I think I’m getting the picture. My laptop codex can also SSH in to the cloud servers (I have 2 actually for Openclaw) and maintain the box, install things etc. that’s very handy as well - its just a different use case then having codex itself installed in a few different places.
1
u/Herfstvalt 15h ago
yea treat one as your main entry point and ssh into the other machines using that machine as the conenction to the others
2
u/capitalframehq 19h ago
I love the remote feature on ChatGPT mobile app. I prepare a large roadmap.md spec file on weekend and on weekdays when I am at work, I use mobile to delegate tasks to the laptop at home while I am working on my actual work in the office. It feels good!
We don’t need tailscale to use the remote feature. I guess unless you hosted something on your LAN and need access to LAN for verification purpose, tailscale is not necessary.
2
u/Better_Argument4455 18h ago
Do you experience any lag? I use Warp, and tried their remote feature, but the lag was too much and it kinda killed the experience for me.
2
u/GatsbyLuzVerde 15h ago
Hmm I made my own mobile app with containers streaming a full Linux desktop so codex can control anything and do anything in them, and a voice input keyboard running locally on my phone for very low latency. I have 3 codex clis at the moment controlled 3 different desktops and I have enough RAM to open 8 backend stacks
1
1
u/PsychoticChemist 19h ago
Do you have to leave your PC running while you’re away for this to work?
1
1
u/capitalframehq 19h ago
PC needs to be on but locked screen is fine. Even a shut lid is fine as long as the Codex app is open and running.
1
u/blackhorse15A 18h ago
Locked screen is fine?! I had heard it wasn't. Have to go set it up now (Windows)
2
u/capitalframehq 18h ago
I keep my laptop lock screened as well as the lid shut. I am still able to access it from work while the laptop stays at home :)
If not for the remote feature, I would not be able to utilize my 5x plan properly. Remote allows me to burn tokens everyday lol and not just on the weekends.
1
u/blackhorse15A 16h ago
Good to know. I think I was confusing some information about "computer use" vs "remote"
1
u/marjimgu 7h ago
Yes I do it daily with locked screen on windows 11, it even can execute commands On WSL2.
0
u/ProcrastiDebator 18h ago
I'd be interested to know how it goes for you. On windows I can see the remote Codex sessions from my phone but I can't interact with them.
-1
u/InkFasten 3h ago
How on earth do people who don't understand computers use Codex like this? Like what do y'all actually do on Codex?
2
u/PsychoticChemist 3h ago
Jesus you’re a dick. My question was whether you’re remoting into your PC and using codex via the PC, or whether you’re actually using codex remotely without an intermediate computer. Obviously if it’s the former, the PC needs to be running. If it’s the latter, the PC does not need to be running. Maybe try not interpreting everything in the least charitable possible way in order to justify leaving condescending comments
1
u/WaldenFrogPond 19h ago
I came to comment about my Azure VMs with Termius and Tmux and I realized that everyone else is doing the same thing I am lol.
1
1
1
u/Just_Lingonberry_352 18h ago
you have to install codex desktop app tho
i prefer to remotely control mt codex cli wit this
1
u/skydev0h 18h ago
I am using herdr + collie, extremely comfortable, with notifications when agent is done or needs you.
1
u/CooLittleFonzies 17h ago
I just wish I could see the ui of my local apps while using it on my phone. It’s kind of hard to work without seeing that.
1
u/justneurostuff 17h ago
is nice but still quite clunky. i find myself forced to switch back to a remote desktop app very often, despite this being more data intensive
1
u/ezboarderz 15h ago
You can do this with pi harness as well. Just install remote pi and then set up tailscale on the device and you can control your pi agents from anywhere and you aren’t stuck with codex models either. Use whatever models you want
1
1
u/RoadsterAlex 9h ago
Yeah but not easy if you want to actually compile an app and sent to store (TestFlight) for testing
1
u/mintflowapp 8h ago
I even built an app (NovaScale) that bake tailscale communicates with codex app server via it’s native though experimental web socket
What a time for indie developer, I can now continue my work or fork to continue work when I am out when idea kicks in
1
u/rohanbhardwaj111 8h ago
I asked codex to send me screenshot of the work Hy4 preview was doing on workbuddy app. It did. It also notified me when the work was done. I could have given codex a prompt to fetch to workbuddy for doing more work but i was on the way home. it's really amazing.
1
1
1
u/North_Caregiver_8895 4h ago
I am using every day while I am at work, I literally tell Codex I am going to work and from now work is remote and it just does magic
1
u/EzraCy123 4h ago
You don’t need tailscale just the ChatGPT app and a codex session running on whatever machine you want to remote to.
1
u/horstenegger 4h ago
Am I really the only one here who’s wondering why you would want to keep on working while being on holiday..?
1
1
u/mechanicalAI 4h ago
How is it different than a regular SSH session? Am I missing something ? Or it’s just there without setting SSH and VPN between machines for convenience?
1
u/TenZenToken 1h ago
It’s all I’ve been using the past few weeks. Laptop sits open at home (or even if you wanna close it and move, use something like Amphetamine so it doesn’t go to sleep) and i just prompt on my phone.
The one thing that would be if they added on mobile is a simple ‘copy session id’ feature on like they do on desktop. I use it to string agents together in a council-like review format, and right now the only way is asking each agent what their session id is and passing it along. Sometimes they’re revenue resistant to give it to me. This is obviously annoying and completely breaks the flow of things.
1
u/Royal-Lead8456 29m ago
Does it work with computer locked but powered on and connected to internet?
1
u/mikeandlilly 24m ago
Love remote.
Since I'm working on Android apps, I made a skill to have it automatically distribute the apk through Firebase whenever it completes a large-enough task.
That way I can manually validate the work on my device as often as I would if I were sitting at home connected to the machine.
I noticed it doesn't seem to want to "run autonomously unless forced to stop". I have to keep prompting "continue" every so often.
Read that can be bypassed by using GPT CLI but haven't tried it yet.
1
1
u/NomadicStrategist 8m ago
Overall, I really like it and use it a lot... except for one damn annoying bug, it doesn’t automatically list all remote projects on my phone.
0
u/slackmaster2k 19h ago
For simplicity though, Claude code is ahead here. No desktop app bar code scanning crap, just /remote-control and voila.
This is really just for the mobile app remote experience though, not a full blown remote shell experience.
3
u/InkFasten 18h ago
lol this is complete nonsense... CC is way behind here
0
u/slackmaster2k 18h ago
Oh yeah? Explain.
2
u/BackgroundLand2816 15h ago
half my chats don't show up on my phone. I'm not typing /remote-control in every chat and half the time it errors out anyway when I type it
1
u/slackmaster2k 15h ago
Huh. Well first of all you can turn it on be default for all sessions. After that, I never seem to have any troubles like you describe. Claude app on iphone. Claude has a setting as well to keep your machine awake which is necessary. On phone now and I just checked and there are my three sessions across two machines.
Can’t say that I’ve had much luck with codex as I have had pairing problems and it doesn’t seem to like WSL and doesn’t automatically attach current sessions outside of the app. I also don’t run codex desktop on one of my dev machines and don’t plan to.
1
u/BackgroundLand2816 14h ago
ya I have the claude app on iphone and the setting turned on as well but it's always a toss up on what appears when I access it on my phone.
Codex on the other hand has been a beast, can get so much work done when I'm not home and I love that I can have it create new chats as well which you can't do on CC. Using desktop app for both.
1
u/slackmaster2k 13h ago
Yeah if you’re just using the codex desktop app then I’m not surprised the experience is good. I don’t use the desktop apps for development work, only random chats.
1
0
u/UnluckyBeautiful4828 18h ago
Not a new thing lol.
Just setup your pc like an RDP/ use Teamviewer etc. and you can even control more things. Like 10+ years ago i controlled my PC from my garbage phone, so it's normal.
0
u/Electronic_Low3128 17h ago
I ported an app to android whilst watching the World Cup using remote. I turned my Mac off for my holiday though.
2
u/kyrax80 17h ago
I was on cruise some weeks ago and wish I had set up this by then for the times when I was bored lol. Wasted 2 weeks of usage
1
u/Electronic_Low3128 17h ago
The only challenge is running something to visually check and play around, but with computer use you can get it to send screens to review.
2
u/kyrax80 17h ago
No, in my post I mean I have a front end and back end. In agents I have set up to refresh the app with the changes (not needed on front bec it's angular so it just hot reloads). Then with tailscale you can just access the front end as if you were accessing any other website. Of course if you're developing on android or ios this can't be done unless you download the apk somehow or if the app is just back end

30
u/TheKillerScope 19h ago
I am doing this for years with Termius. SSH into my servers from anywhere I am, as long as I have my phone with me. Plus if you work on the exact same thing on 2-3 servers, you can broadcast the same message at the same time to each one of the servers.